![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXHeader.h>
Inheritance diagram for FXHeaderItem:
Public Methods | |
FXHeaderItem (const FXString &text, FXIcon *ic=NULL, FXint s=0, void *ptr=NULL) | |
Construct new item with given text, icon, size, and user-data. | |
virtual void | setText (const FXString &txt) |
Change item's text label. | |
virtual void | setIcon (FXIcon *icn) |
Change item's icon. | |
FXIcon * | getIcon () const |
Return item's icon. | |
void | setData (void *ptr) |
Change item's user data. | |
void * | getData () const |
Get item's user data. | |
void | setSize (FXint s) |
Change size. | |
FXint | getSize () const |
Obtain current size. | |
void | setArrowDir (FXuint dir=MAYBE) |
Change sort direction (FALSE, TRUE, MAYBE). | |
FXuint | getArrowDir () const |
Return sort direction (FALSE, TRUE, MAYBE). | |
virtual FXint | getWidth (const FXHeader *header) const |
Return the item's width in the header. | |
virtual FXint | getHeight (const FXHeader *header) const |
Return the item's height in the header. | |
virtual void | create () |
Create server-side resources. | |
virtual void | detach () |
Detach from server-side resources. | |
virtual void | destroy () |
Destroy server-side resources. | |
virtual void | save (FXStream &store) const |
Stream serialization. | |
virtual void | load (FXStream &store) |
Load object from stream. | |
virtual | ~FXHeaderItem () |
Destructor. | |
Public Attributes | |
FXString | getText () const |
Return item's text label. | |
Friends | |
class | FXHeader |