![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXDirList.h>
Public Types | |
enum | { FOLDER = 512, EXECUTABLE = 1024, SYMLINK = 2048, CHARDEV = 4096, BLOCKDEV = 8192, FIFO = 16384, SOCK = 32768 } |
![]() | |
enum | { SELECTED = 1, FOCUS = 2, DISABLED = 4, OPENED = 8, EXPANDED = 16, HASITEMS = 32, DRAGGABLE = 64, OPENICONOWNED = 128, CLOSEDICONOWNED = 256 } |
Public Member Functions | |
FXDirItem (const FXString &text, FXIcon *oi=NULL, FXIcon *ci=NULL, void *ptr=NULL) | |
FXbool | isFile () const |
FXbool | isDirectory () const |
FXbool | isExecutable () const |
FXbool | isSymlink () const |
FXbool | isChardev () const |
FXbool | isBlockdev () const |
FXbool | isFifo () const |
FXbool | isSocket () const |
FXFileAssoc * | getAssoc () const |
FXlong | getSize () const |
FXTime | getDate () const |
![]() | |
FXTreeItem (const FXString &text, FXIcon *oi=NULL, FXIcon *ci=NULL, void *ptr=NULL) | |
FXTreeItem * | getParent () const |
FXTreeItem * | getNext () const |
FXTreeItem * | getPrev () const |
FXTreeItem * | getFirst () const |
FXTreeItem * | getLast () const |
FXTreeItem * | getBelow () const |
FXTreeItem * | getAbove () const |
FXint | getNumChildren () const |
virtual void | setText (const FXString &txt) |
const FXString & | getText () const |
virtual void | setOpenIcon (FXIcon *icn, FXbool owned=FALSE) |
FXIcon * | getOpenIcon () const |
virtual void | setClosedIcon (FXIcon *icn, FXbool owned=FALSE) |
FXIcon * | getClosedIcon () const |
void | setData (void *ptr) |
void * | getData () const |
virtual void | setFocus (FXbool focus) |
FXbool | hasFocus () const |
virtual void | setSelected (FXbool selected) |
FXbool | isSelected () const |
virtual void | setOpened (FXbool opened) |
FXbool | isOpened () const |
virtual void | setExpanded (FXbool expanded) |
FXbool | isExpanded () const |
virtual void | setEnabled (FXbool enabled) |
FXbool | isEnabled () const |
virtual void | setDraggable (FXbool draggable) |
FXbool | isDraggable () const |
FXbool | hasItems () const |
void | setHasItems (FXbool flag) |
FXbool | isChildOf (const FXTreeItem *item) const |
FXbool | isParentOf (const FXTreeItem *item) const |
virtual FXint | getWidth (const FXTreeList *list) const |
virtual FXint | getHeight (const FXTreeList *list) const |
virtual void | create () |
virtual void | detach () |
virtual void | destroy () |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXTreeItem () |
![]() | |
virtual long | onDefault (FXObject *, FXSelector, void *) |
const FXchar * | getClassName () const |
bool | isMemberOf (const FXMetaClass *metaclass) const |
virtual long | tryHandle (FXObject *sender, FXSelector sel, void *ptr) |
virtual | ~FXObject () |
Friends | |
class | FXDirList |
anonymous enum |
|
inline |
Constructor.
|
inline |
Return true if this is a file item.
|
inline |
Return true if this is a directory item.
|
inline |
Return true if this is an executable item.
|
inline |
Return true if this is a symbolic link item.
|
inline |
Return true if this is a character device item.
|
inline |
Return true if this is a block device item.
|
inline |
Return true if this is an FIFO item.
|
inline |
Return true if this is a socket.
|
inline |
Return the file-association object for this item.
|
inline |
Return the file size for this item.
|
inline |
Return the date for this item.
|
friend |
![]() |