Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

NCFileTable Class Reference

#include <NCFileSelection.h>

Inheritance diagram for NCFileTable:

NCFileSelection NCTable YTable NCPadWidget YWidget NCWidget NCSchrollCB tnode< NCWidget * > NCursesError List of all members.

Public Member Functions

 NCFileTable (NCWidget *parent, const YWidgetOpt &opt, NCFileSelectionType type, const YCPString &filter, const YCPString &iniDir)
virtual ~NCFileTable ()
void setCurrentFile (const YCPString &file)
bool filterMatch (const string &fileName)
string getCurrentFile ()
virtual void fillHeader ()
virtual bool createListEntry (const NCFileInfo &fileInfo)
virtual bool fillList ()
virtual NCursesEvent wHandleInput (wint_t key)

Private Attributes

list< string > pattern
string currentFile

Constructor & Destructor Documentation

NCFileTable::NCFileTable NCWidget parent,
const YWidgetOpt opt,
NCFileSelectionType  type,
const YCPString filter,
const YCPString iniDir
 

Constructor

virtual NCFileTable::~NCFileTable  )  [inline, virtual]
 


Member Function Documentation

bool NCFileTable::createListEntry const NCFileInfo fileInfo  )  [virtual]
 

Creates a line in the package table.

Parameters:
pkgPtr The package pointer
Returns:
bool

Implements NCFileSelection.

void NCFileTable::fillHeader  )  [virtual]
 

Fills the header of the table

Returns:
void

Implements NCFileSelection.

bool NCFileTable::fillList  )  [virtual]
 

Fill the list of files

Returns:
bool List successfully filled

Implements NCFileSelection.

bool NCFileTable::filterMatch const string &  fileName  ) 
 

string NCFileTable::getCurrentFile  )  [inline]
 

void NCFileTable::setCurrentFile const YCPString file  )  [inline]
 

NCursesEvent NCFileTable::wHandleInput wint_t  key  )  [virtual]
 

Reimplemented from NCTable.


Member Data Documentation

string NCFileTable::currentFile [private]
 

list<string> NCFileTable::pattern [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Sep 5 17:18:56 2007 for yast2-ncurses by doxygen 1.3.6