Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXTable.h>
Inheritance diagram for FX::FXTableItem:
Public Types | |
enum | { SELECTED = 0x00000001, FOCUS = 0x00000002, DISABLED = 0x00000004, DRAGGABLE = 0x00000008, RESERVED1 = 0x00000010, RESERVED2 = 0x00000020, ICONOWNED = 0x00000040, RIGHT = 0x00002000, LEFT = 0x00004000, CENTER_X = 0, TOP = 0x00008000, BOTTOM = 0x00010000, CENTER_Y = 0, BEFORE = 0x00020000, AFTER = 0x00040000, ABOVE = 0x00080000, BELOW = 0x00100000, LBORDER = 0x00200000, RBORDER = 0x00400000, TBORDER = 0x00800000, BBORDER = 0x01000000 } |
Public Member Functions | |
FXTableItem (const FXString &text, FXIcon *ic=NULL, void *ptr=NULL) | |
virtual void | setText (const FXString &txt) |
virtual FXString | getText () const |
virtual void | setIcon (FXIcon *icn, FXbool owned=FALSE) |
virtual FXIcon * | getIcon () 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 | setEnabled (FXbool enabled) |
FXbool | isEnabled () const |
virtual void | setDraggable (FXbool draggable) |
FXbool | isDraggable () const |
virtual void | setJustify (FXuint justify=RIGHT|CENTER_Y) |
FXuint | getJustify () const |
virtual void | setIconPosition (FXuint mode) |
FXuint | getIconPosition () const |
virtual void | setBorders (FXuint borders=0) |
FXuint | getBorders () const |
virtual void | setStipple (FXStipplePattern pattern) |
FXStipplePattern | getStipple () const |
virtual FXWindow * | getControlFor (FXTable *table) |
virtual void | setFromControl (FXWindow *control) |
virtual FXint | getWidth (const FXTable *table) const |
virtual FXint | getHeight (const FXTable *table) const |
virtual void | create () |
virtual void | detach () |
virtual void | destroy () |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXTableItem () |
Friends | |
class | FXTable |
See also:
|
|
Construct new table item.
|
|
Destroy item and free icon if owned.
|
|
Change item's text label.
|
|
Return item's text label.
|
|
Change item's icon, deleting the old icon if it was owned.
|
|
Return item's icon.
|
|
Change item's user data.
|
|
Get item's user data.
|
|
Make item draw as focused.
|
|
Return true if item has focus.
|
|
Select item.
|
|
Return true if this item is selected.
|
|
Enable or disable item.
|
|
Return true if this item is enabled.
|
|
Make item draggable.
|
|
Return true if this item is draggable.
|
|
Change item content justification.
|
|
Return item content justification.
|
|
Change item icon position.
|
|
Return item icon position.
|
|
Change item borders.
|
|
Return item borders.
|
|
Change item background stipple.
|
|
Return item background stipple.
|
|
Create input control for editing this item.
Reimplemented in FX::FXComboTableItem. |
|
Set value from input control.
Reimplemented in FX::FXComboTableItem. |
|
Return width of item.
|
|
Return height of item.
|
|
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-2005 Jeroen van der Zijp |