Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXIconList.h>
Inheritance diagram for FX::FXIconItem:
Public Types | |
enum | { SELECTED = 1, FOCUS = 2, DISABLED = 4, DRAGGABLE = 8, BIGICONOWNED = 16, MINIICONOWNED = 32 } |
Public Member Functions | |
FXIconItem (const FXString &text, FXIcon *bi=NULL, FXIcon *mi=NULL, void *ptr=NULL) | |
virtual void | setText (const FXString &txt) |
const FXString & | getText () const |
virtual void | setBigIcon (FXIcon *icn, FXbool owned=FALSE) |
FXIcon * | getBigIcon () const |
virtual void | setMiniIcon (FXIcon *icn, FXbool owned=FALSE) |
FXIcon * | getMiniIcon () 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 FXint | getWidth (const FXIconList *list) const |
virtual FXint | getHeight (const FXIconList *list) const |
virtual void | create () |
virtual void | detach () |
virtual void | destroy () |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXIconItem () |
Friends | |
class | FXIconList |
class | FXFileList |
See also:
|
|
|
Construct new item with given text, icons, and user-data.
|
|
Destroy item and free icons if owned.
|
|
Change item's text label.
|
|
Return item's text label.
|
|
Change item's big icon, deleting the old icon if it was owned.
|
|
Return item's big icon.
|
|
Change item's mini icon, deleting the old icon if it was owned.
|
|
Return item's mini 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.
|
|
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. |
|
|
|
Reimplemented in FX::FXFileItem. |
Copyright © 1997-2005 Jeroen van der Zijp |