Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXFileList.h>
Inheritance diagram for FX::FXFileList:
Public Types | |
enum | { ID_REFRESHTIMER = FXIconList::ID_LAST, ID_OPENTIMER, ID_SORT_BY_NAME, ID_SORT_BY_TYPE, ID_SORT_BY_SIZE, ID_SORT_BY_TIME, ID_SORT_BY_USER, ID_SORT_BY_GROUP, ID_SORT_REVERSE, ID_SORT_CASE, ID_DIRECTORY_UP, ID_SET_PATTERN, ID_SET_DIRECTORY, ID_SHOW_HIDDEN, ID_HIDE_HIDDEN, ID_TOGGLE_HIDDEN, ID_TOGGLE_IMAGES, ID_REFRESH, ID_LAST } |
Public Member Functions | |
FXFileList (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) |
void | setCurrentFile (const FXString &file) |
FXString | getCurrentFile () const |
void | setDirectory (const FXString &path) |
FXString | getDirectory () const |
void | setPattern (const FXString &ptrn) |
FXString | getPattern () const |
FXbool | isItemDirectory (FXint index) const |
FXbool | isItemShare (FXint index) const |
FXbool | isItemFile (FXint index) const |
FXbool | isItemExecutable (FXint index) const |
FXString | getItemFilename (FXint index) const |
FXString | getItemPathname (FXint index) const |
FXFileAssoc * | getItemAssoc (FXint index) const |
FXuint | getMatchMode () const |
void | setMatchMode (FXuint mode) |
FXbool | showHiddenFiles () const |
void | showHiddenFiles (FXbool showing) |
FXbool | showOnlyDirectories () const |
void | showOnlyDirectories (FXbool shown) |
FXbool | showOnlyFiles () const |
void | showOnlyFiles (FXbool shown) |
FXbool | showImages () const |
void | showImages (FXbool showing) |
FXint | getImageSize () const |
void | setImageSize (FXint size) |
void | setAssociations (FXFileDict *assoc) |
FXFileDict * | getAssociations () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXFileList () |
Static Public Member Functions | |
FXint | ascending (const FXIconItem *pa, const FXIconItem *pb) |
FXint | descending (const FXIconItem *pa, const FXIconItem *pb) |
FXint | ascendingCase (const FXIconItem *pa, const FXIconItem *pb) |
FXint | descendingCase (const FXIconItem *pa, const FXIconItem *pb) |
FXint | ascendingType (const FXIconItem *pa, const FXIconItem *pb) |
FXint | descendingType (const FXIconItem *pa, const FXIconItem *pb) |
FXint | ascendingSize (const FXIconItem *pa, const FXIconItem *pb) |
FXint | descendingSize (const FXIconItem *pa, const FXIconItem *pb) |
FXint | ascendingTime (const FXIconItem *pa, const FXIconItem *pb) |
FXint | descendingTime (const FXIconItem *pa, const FXIconItem *pb) |
FXint | ascendingUser (const FXIconItem *pa, const FXIconItem *pb) |
FXint | descendingUser (const FXIconItem *pa, const FXIconItem *pb) |
FXint | ascendingGroup (const FXIconItem *pa, const FXIconItem *pb) |
FXint | descendingGroup (const FXIconItem *pa, const FXIconItem *pb) |
It automatically updates itself periodically by re-scanning the file system for any changes. As it scans the displayed directory, it automatically determines the icons to be displayed by consulting the file associations registry settings. A number of messages can be sent to the File List to control the filter pattern, sort category, sorting order, case sensitivity, and hidden file display mode.
See also:
|
|
Construct a file list.
|
|
Destructor.
|
|
Create server-side resources.
Reimplemented from FX::FXIconList. |
|
Detach server-side resources.
Reimplemented from FX::FXIconList. |
|
Destroy server-side resources.
Reimplemented from FX::FXComposite. |
|
Scan the current directory and update the items if needed, or if force is TRUE.
|
|
Set current file.
|
|
Return current file.
|
|
Set current directory.
|
|
Return current directory.
|
|
Change wildcard matching pattern.
|
|
Return wildcard pattern.
|
|
Return TRUE if item is a directory.
|
|
Return TRUE if item is a directory.
|
|
Return TRUE if item is a file.
|
|
Return TRUE if item is executable.
|
|
Return name of item at index.
|
|
Return full pathname of item at index.
|
|
Return file association of item.
|
|
Return wildcard matching mode.
|
|
Change wildcard matching mode.
|
|
Return TRUE if showing hidden files.
|
|
Show or hide hidden files.
|
|
Return TRUE if showing directories only.
|
|
Show directories only.
|
|
Return TRUE if showing files only.
|
|
Show files only.
|
|
Return TRUE if image preview on.
|
|
Show or hide preview images.
|
|
Return images preview size.
|
|
Change images preview size.
|
|
Change file associations.
|
|
Return file associations.
|
|
Save to stream.
Reimplemented from FX::FXIconList. |
|
Load from stream.
Reimplemented from FX::FXIconList. |
Copyright © 1997-2005 Jeroen van der Zijp |