Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXDirList.h>
Inheritance diagram for FX::FXDirList:
Public Member Functions | |
FXDirList (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
virtual void | create () |
virtual void | detach () |
virtual void | destroy () |
void | scan (FXbool force=TRUE) |
FXbool | isItemDirectory (const FXTreeItem *item) const |
FXbool | isItemFile (const FXTreeItem *item) const |
FXbool | isItemExecutable (const FXTreeItem *item) const |
virtual FXbool | collapseTree (FXTreeItem *tree, FXbool notify=FALSE) |
virtual FXbool | expandTree (FXTreeItem *tree, FXbool notify=FALSE) |
void | setCurrentFile (const FXString &file, FXbool notify=FALSE) |
FXString | getCurrentFile () const |
void | setDirectory (const FXString &path, FXbool notify=FALSE) |
FXString | getDirectory () const |
FXString | getItemPathname (const FXTreeItem *item) const |
FXTreeItem * | getPathnameItem (const FXString &path) |
void | setPattern (const FXString &ptrn) |
FXString | getPattern () const |
FXuint | getMatchMode () const |
void | setMatchMode (FXuint mode) |
FXbool | showFiles () const |
void | showFiles (FXbool showing) |
FXbool | showHiddenFiles () const |
void | showHiddenFiles (FXbool showing) |
void | setAssociations (FXFileDict *assoc) |
FXFileDict * | getAssociations () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXDirList () |
Static Public Member Functions | |
FXint | ascending (const FXTreeItem *a, const FXTreeItem *b) |
FXint | descending (const FXTreeItem *a, const FXTreeItem *b) |
FXint | ascendingCase (const FXTreeItem *a, const FXTreeItem *b) |
FXint | descendingCase (const FXTreeItem *a, const FXTreeItem *b) |
See also:
|
Construct a directory list.
|
|
Destructor.
|
|
Create server-side resources.
Reimplemented from FX::FXTreeList. |
|
Detach server-side resources.
Reimplemented from FX::FXTreeList. |
|
Destroy server-side resources.
Reimplemented from FX::FXComposite. |
|
Scan the directories and update the items if needed, or if force is TRUE.
|
|
Return TRUE if item is a directory.
|
|
Return TRUE if item is a file.
|
|
Return TRUE if item is executable.
|
|
Collapse tree.
Reimplemented from FX::FXTreeList. |
|
Expand tree.
Reimplemented from FX::FXTreeList. |
|
Set current file.
|
|
Return current file.
|
|
Set current directory.
|
|
Return current directory.
|
|
Return absolute pathname of item.
|
|
Return the item from the absolute pathname.
|
|
Change wildcard matching pattern.
|
|
Return wildcard pattern.
|
|
Return wildcard matching mode.
|
|
Change wildcard matching mode.
|
|
Return TRUE if showing files as well as directories.
|
|
Show or hide normal files.
|
|
Return TRUE if showing hidden files and directories.
|
|
Show or hide hidden files and directories.
|
|
Change file associations.
|
|
Return file associations.
|
|
Save to stream.
Reimplemented from FX::FXTreeList. |
|
Load from stream.
Reimplemented from FX::FXTreeList. |
Copyright © 1997-2004 Jeroen van der Zijp |