Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXFoldingList.h>
Inheritance diagram for FX::FXFoldingItem:
Public Member Functions | |
FXFoldingItem (const FXString &text, FXIcon *oi=NULL, FXIcon *ci=NULL, void *ptr=NULL) | |
FXFoldingItem * | getParent () const |
FXFoldingItem * | getNext () const |
FXFoldingItem * | getPrev () const |
FXFoldingItem * | getFirst () const |
FXFoldingItem * | getLast () const |
FXFoldingItem * | getBelow () const |
FXFoldingItem * | getAbove () const |
FXint | getNumChildren () const |
virtual void | setText (const FXString &txt) |
const FXString & | getText () const |
virtual void | setOpenIcon (FXIcon *icn) |
FXIcon * | getOpenIcon () const |
virtual void | setClosedIcon (FXIcon *icn) |
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 |
virtual void | setIconOwned (FXuint owned=(OPENICONOWNED|CLOSEDICONOWNED)) |
FXuint | isIconOwned () const |
FXbool | hasItems () const |
void | setHasItems (FXbool flag) |
FXbool | isChildOf (const FXFoldingItem *item) const |
FXbool | isParentOf (const FXFoldingItem *item) const |
virtual FXint | getWidth (const FXFoldingList *list) const |
virtual FXint | getHeight (const FXFoldingList *list) const |
virtual void | create () |
virtual void | detach () |
virtual void | destroy () |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXFoldingItem () |
See also:
|
Constructor.
|
|
Destroy item and free icons if owned.
|
|
Get parent item.
|
|
Get next sibling item.
|
|
Get previous sibling item.
|
|
Get first child item.
|
|
Get las child item.
|
|
Get item below this one in list.
|
|
Get item above this one in list.
|
|
Get number of children of item.
|
|
Change item label.
|
|
Get item label.
|
|
Change open icon.
|
|
Get open icon.
|
|
Change closed icon.
|
|
Get closed icon.
|
|
Change item user data.
|
|
Get item user data.
|
|
Make item draw as focused.
|
|
Return true if item has focus.
|
|
Select item.
|
|
Return true if this item is selected.
|
|
Make item show as open.
|
|
Return true if this item is open.
|
|
Expand or collapse item.
|
|
Return true if this item is expanded into sub items.
|
|
Enable or disable item.
|
|
Return true if this item is enabled.
|
|
Make item draggable.
|
|
Return true if this item is draggable.
|
|
Make open and or icon owned by the item.
|
|
Return open icon and closed icon ownership status.
|
|
Return TRUE if subitems, real or imagined.
|
|
Change has items flag.
|
|
Return true if descendent of parent item.
|
|
Return true if ancestor of child item.
|
|
Return width of item as drawn in list.
|
|
Return height of item as drawn in list.
|
|
Create server-side resources.
|
|
Detach server-side resources.
|
|
Destroy server-side resources.
|
|
Save to stream.
Reimplemented from FX::FXObject. |
|
Load from stream.
Reimplemented from FX::FXObject. |
Copyright © 1997-2004 Jeroen van der Zijp |