Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXFileItem Class Reference

File item. More...

#include <FXFileList.h>

Inheritance diagram for FX::FXFileItem:
FX::FXIconItem FX::FXObject

List of all members.

Public Member Functions

 FXFileItem (const FXString &text, FXIcon *bi=NULL, FXIcon *mi=NULL, void *ptr=NULL)
 Constructor.
FXbool isFile () const
 Return true if this is a file item.
FXbool isDirectory () const
 Return true if this is a directory item.
FXbool isExecutable () const
 Return true if this is an executable item.
FXbool isSymlink () const
 Return true if this is a symbolic link item.
FXbool isChardev () const
 Return true if this is a character device item.
FXbool isBlockdev () const
 Return true if this is a block device item.
FXbool isFifo () const
 Return true if this is an FIFO item.
FXbool isSocket () const
 Return true if this is a socket.
FXbool isNavigational () const
 Return true if item is a special navigational item like '.' or '..'.
void setAssoc (FXFileAssoc *a)
 Set the file-association object for this item.
FXFileAssocgetAssoc () const
 Return the file-association object for this item.
void setSize (FXlong s)
 Set the file size for this item.
FXlong getSize () const
 Return the file size for this item.
void setDate (FXTime d)
 Set the date for this item, in nanoseconds.
FXTime getDate () const
 Return the date for this item, in nanoseconds.
void setMode (FXuint m)
 Set file mode bits.
FXuint getMode () const
 Return file mode bits.

Protected Attributes

FXFileAssocassoc
FXFileItemlink
FXlong size
FXTime date
FXuint mode

Friends

class FXFileList

Detailed Description

File item.


The documentation for this class was generated from the following file:

Copyright © 1997-2011 Jeroen van der Zijp