Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXTreeListBox.h>
Inheritance diagram for FX::FXTreeListBox:
Public Types | |
enum | { ID_TREE = FXPacker::ID_LAST, ID_FIELD, ID_LAST } |
Public Member Functions | |
FXTreeListBox (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=FRAME_SUNKEN|FRAME_THICK|TREELISTBOX_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_PAD, FXint pr=DEFAULT_PAD, FXint pt=DEFAULT_PAD, FXint pb=DEFAULT_PAD) | |
virtual void | create () |
virtual void | detach () |
virtual void | destroy () |
virtual void | layout () |
virtual void | enable () |
virtual void | disable () |
virtual FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
FXint | getNumItems () const |
FXint | getNumVisible () const |
void | setNumVisible (FXint nvis) |
FXTreeItem * | getFirstItem () const |
FXTreeItem * | getLastItem () const |
FXTreeItem * | addItemFirst (FXTreeItem *p, FXTreeItem *item) |
FXTreeItem * | addItemLast (FXTreeItem *p, FXTreeItem *item) |
FXTreeItem * | addItemAfter (FXTreeItem *other, FXTreeItem *item) |
FXTreeItem * | addItemBefore (FXTreeItem *other, FXTreeItem *item) |
FXTreeItem * | addItemFirst (FXTreeItem *p, const FXString &text, FXIcon *oi=NULL, FXIcon *ci=NULL, void *ptr=NULL) |
FXTreeItem * | addItemLast (FXTreeItem *p, const FXString &text, FXIcon *oi=NULL, FXIcon *ci=NULL, void *ptr=NULL) |
FXTreeItem * | addItemAfter (FXTreeItem *other, const FXString &text, FXIcon *oi=NULL, FXIcon *ci=NULL, void *ptr=NULL) |
FXTreeItem * | addItemBefore (FXTreeItem *other, const FXString &text, FXIcon *oi=NULL, FXIcon *ci=NULL, void *ptr=NULL) |
void | removeItem (FXTreeItem *item) |
void | removeItems (FXTreeItem *fm, FXTreeItem *to) |
void | clearItems () |
FXTreeItem * | findItem (const FXString &text, FXTreeItem *start=NULL, FXuint flags=SEARCH_FORWARD|SEARCH_WRAP) const |
FXbool | isItemCurrent (const FXTreeItem *item) const |
FXbool | isItemLeaf (const FXTreeItem *item) const |
void | sortRootItems () |
void | sortItems () |
void | sortChildItems (FXTreeItem *item) |
void | setCurrentItem (FXTreeItem *item, FXbool notify=FALSE) |
FXTreeItem * | getCurrentItem () const |
void | setItemText (FXTreeItem *item, const FXString &text) |
FXString | getItemText (const FXTreeItem *item) const |
void | setItemOpenIcon (FXTreeItem *item, FXIcon *icon) |
FXIcon * | getItemOpenIcon (const FXTreeItem *item) const |
void | setItemClosedIcon (FXTreeItem *item, FXIcon *icon) |
FXIcon * | getItemClosedIcon (const FXTreeItem *item) const |
void | setItemData (FXTreeItem *item, void *ptr) const |
void * | getItemData (const FXTreeItem *item) const |
FXTreeListSortFunc | getSortFunc () const |
void | setSortFunc (FXTreeListSortFunc func) |
FXbool | isPaneShown () const |
void | setFont (FXFont *fnt) |
FXFont * | getFont () const |
FXuint | getListStyle () const |
void | setListStyle (FXuint style) |
void | setHelpText (const FXString &txt) |
FXString | getHelpText () const |
void | setTipText (const FXString &txt) |
FXString | getTipText () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXTreeListBox () |
See also:
|
Construct tree list box.
|
|
Destructor.
|
|
Create server-side resources.
Reimplemented from FX::FXComposite. Reimplemented in FX::FXDirBox. |
|
Detach server-side resources.
Reimplemented from FX::FXComposite. Reimplemented in FX::FXDirBox. |
|
Destroy server-side resources.
Reimplemented from FX::FXComposite. Reimplemented in FX::FXDirBox. |
|
Perform layout.
Reimplemented from FX::FXPacker. |
|
Enable widget.
Reimplemented from FX::FXWindow. |
|
Disable widget.
Reimplemented from FX::FXWindow. |
|
Return default with.
Reimplemented from FX::FXPacker. |
|
Return default height.
Reimplemented from FX::FXPacker. |
|
Return number of items.
|
|
Return number of visible items.
|
|
Set number of visible items to determine default height.
|
|
Return first top-level item.
|
|
Return last top-level item.
|
|
Add item as first child of parent p.
|
|
Add item as last child after parent p.
|
|
Add item after other item.
|
|
Add item before other item.
|
|
Add item as first child of parent p.
|
|
Add item as last child of parent p.
|
|
Add item after other item.
|
|
Add item before other item.
|
|
Remove item.
|
|
Remove all items in range [fm...to].
|
|
Remove all items from list.
|
|
Search items for item by name, starting from start item; the flags argument controls the search direction, and case sensitivity.
|
|
Return TRUE if item is the current item.
|
|
Return TRUE if item is leaf-item, i.e. has no children.
|
|
Sort the toplevel items with the sort function.
|
|
Sort all items recursively.
|
|
Sort child items of item.
|
|
Change current item.
|
|
Return current item.
|
|
Change item label.
|
|
Return item label.
|
|
Change item's open icon.
|
|
Return item's open icon.
|
|
Change item's closed icon.
|
|
Return item's closed icon.
|
|
Change item's user data.
|
|
Return item's user data.
|
|
Return item sort function.
|
|
Change item sort function.
|
|
Is the pane shown.
|
|
Change font.
|
|
Return font.
|
|
Return list style.
|
|
Change list style.
|
|
Change help text.
|
|
Return help text.
|
|
Change tip text.
|
|
Return tip text.
|
|
Save object to a stream.
Reimplemented from FX::FXPacker. Reimplemented in FX::FXDirBox. |
|
Load object from a stream.
Reimplemented from FX::FXPacker. Reimplemented in FX::FXDirBox. |
Copyright © 1997-2004 Jeroen van der Zijp |