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

FX::FXTableItem Class Reference

#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 Methods

 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 pat)
FXStipplePattern getStipple () const
void setButton (FXbool button)
FXbool isButton () const
void setPressed (FXbool pressed)
FXbool isPressed () 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
 Save object to stream.

virtual void load (FXStream &store)
 Load object from stream.

virtual ~FXTableItem ()

Friends

class FXTable

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.