Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXTableItem Class Reference

Item in table. More...

#include <FXTable.h>

Inheritance diagram for FX::FXTableItem:

FX::FXObject List of all members.

Public Types

enum  {
  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)
const FXStringgetText () const
virtual void setIcon (FXIcon *icn)
FXIcongetIcon () 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
void setJustify (FXuint justify)
FXuint getJustify () const
void setIconPosition (FXuint mode)
FXuint getIconPosition () const
void setBorders (FXuint borders)
FXuint getBorders () const
void setStipple (FXStipplePattern pattern)
FXStipplePattern getStipple () const
virtual void setIconOwned (FXuint owned=ICONOWNED)
FXuint isIconOwned () const
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)

Detailed Description

Item in table.

See also:


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
LEFT  Align on right.
CENTER_X  Align on left.
TOP  Aling centered horizontally (default).
BOTTOM  Align on top.
CENTER_Y  Align on bottom.
BEFORE  Aling centered vertically (default).
AFTER  Icon before the text.
ABOVE  Icon after the text.
BELOW  Icon above the text.
LBORDER  Icon below the text.
RBORDER  Draw left border.
TBORDER  Draw right border.
BBORDER  Draw top border.


Member Function Documentation

virtual void FX::FXTableItem::save FXStream store  )  const [virtual]
 

Save object to stream.

Reimplemented from FX::FXObject.

virtual void FX::FXTableItem::load FXStream store  )  [virtual]
 

Load object from stream.

Reimplemented from FX::FXObject.

Copyright © 1997-2004 Jeroen van der Zijp