GuiFileTreeCtrl Class Reference

#include <guiFileTreeCtrl.h>

Inheritance diagram for GuiFileTreeCtrl:

Inheritance graph
[legend]
List of all members.

Public Types

 Icon_Folder = 1
 Icon_FolderClosed = 2
 Icon_Doc = 3
enum  {
  Icon_Folder = 1,
  Icon_FolderClosed = 2,
  Icon_Doc = 3
}

Public Member Functions

 GuiFileTreeCtrl ()
bool onWake ()
 Called when this object is asked to wake up returns true if it's actually awake at the end.
bool onAdd ()
 Called when this object is added to the scene.
bool onVirtualParentExpand (Item *item)
void onItemSelected (Item *item)
StringTableEntry getSelectedPath ()
bool setSelectedPath (StringTableEntry path)
bool buildIconTable (const char *icons)
void initFilters ()
void addFilter (const char *)
void removeFilter (const char *)
bool matchesFilters (const char *filename)
StringTableEntry getUnit (const char *string, U32 index, const char *set)
StringTableEntry getUnits (const char *string, S32 startIndex, S32 endIndex, const char *set)
U32 getUnitCount (const char *string, const char *set)
 DECLARE_CONOBJECT (GuiFileTreeCtrl)

Static Public Member Functions

static void initPersistFields ()
 Register dynamic fields in a subclass of ConsoleObject.

Protected Attributes

StringTableEntry mSelPath
StringTableEntry mFileFilter
StringTableEntry mRootPath
Vector< StringTableEntrymFilters

Private Types

typedef GuiTreeViewCtrl Parent

Private Member Functions

void recurseInsert (Item *parent, StringTableEntry path)
void addPathToTree (StringTableEntry path)

Member Typedef Documentation

Reimplemented from GuiTreeViewCtrl.


Member Enumeration Documentation

anonymous enum

Enumerator:
Icon_Folder 
Icon_FolderClosed 
Icon_Doc 


Constructor & Destructor Documentation

GuiFileTreeCtrl::GuiFileTreeCtrl (  ) 


Member Function Documentation

void GuiFileTreeCtrl::recurseInsert ( Item parent,
StringTableEntry  path 
) [private]

void GuiFileTreeCtrl::addPathToTree ( StringTableEntry  path  )  [private]

bool GuiFileTreeCtrl::onWake (  )  [virtual]

Called when this object is asked to wake up returns true if it's actually awake at the end.

Reimplemented from GuiTreeViewCtrl.

bool GuiFileTreeCtrl::onAdd (  )  [virtual]

Called when this object is added to the scene.

Reimplemented from GuiControl.

bool GuiFileTreeCtrl::onVirtualParentExpand ( Item item  ) 

void GuiFileTreeCtrl::onItemSelected ( Item item  ) 

StringTableEntry GuiFileTreeCtrl::getSelectedPath (  ) 

bool GuiFileTreeCtrl::setSelectedPath ( StringTableEntry  path  ) 

bool GuiFileTreeCtrl::buildIconTable ( const char *  icons  ) 

Reimplemented from GuiTreeViewCtrl.

static void GuiFileTreeCtrl::initPersistFields (  )  [static]

Register dynamic fields in a subclass of ConsoleObject.

See also:
addField(), addFieldV(), addDeprecatedField(), addGroup(), endGroup()

Reimplemented from GuiTreeViewCtrl.

void GuiFileTreeCtrl::initFilters (  ) 

void GuiFileTreeCtrl::addFilter ( const char *   ) 

void GuiFileTreeCtrl::removeFilter ( const char *   ) 

bool GuiFileTreeCtrl::matchesFilters ( const char *  filename  ) 

StringTableEntry GuiFileTreeCtrl::getUnit ( const char *  string,
U32  index,
const char *  set 
)

StringTableEntry GuiFileTreeCtrl::getUnits ( const char *  string,
S32  startIndex,
S32  endIndex,
const char *  set 
)

U32 GuiFileTreeCtrl::getUnitCount ( const char *  string,
const char *  set 
)

GuiFileTreeCtrl::DECLARE_CONOBJECT ( GuiFileTreeCtrl   ) 


Member Data Documentation