Header item
Inheritance:
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
-
FXString getText() const
- Return 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 ~FXHeaderItem()
- Destructor
Public Methods
-
const FXchar* getClassName() const
-
FXbool isMemberOf(const FXMetaClass* metaclass) const
-
virtual void load(FXStream& store)
Documentation
Header item
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
FXString getText() const
- Return 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 ~FXHeaderItem()
- Destructor
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.