Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

HTML_CustomItem Class Reference

Abstract item API to access any supported item type contained in a HTML_CustomItemView. More...

Inheritance diagram for HTML_CustomItem:

HTML_Object List of all members.

Public Member Functions

 HTML_CustomItem (const QString &n, const QString &jsref, const QString rt)
virtual const char * className () const
bool isOpen () const
bool isSelected ()
void setOpen (bool open)
void setSelected (bool selected)
const char * text () const
HTML_ObjectitemHandle () const
const char * realType () const
HTML_CustomItemchildItem (int column=-1)
HTML_CustomItemparentItem (int column=-1)
HTML_CustomItemnextSibling (int column=-1)
HTML_CustomItemViewitemView ()

Properties

char realType
char text
bool open
bool selected

Detailed Description

Abstract item API to access any supported item type contained in a HTML_CustomItemView.

This class provides the API to access any item contained in a DHTML/AJAX/JS view widget with dedicated support.


Member Function Documentation

HTML_CustomItem * HTML_CustomItem::childItem int  column = -1  ) 
 

Returns the first child of this item or 0 if there is none.

virtual const char* HTML_CustomItem::className  )  const [inline, virtual]
 

Returns the specialized class name of the HTML object, such as HTML_Button.

Reimplemented from HTML_Object.

bool HTML_CustomItem::isOpen  )  const
 

Returns whether the item is open.

bool HTML_CustomItem::isSelected  ) 
 

Returns whether the item is selected.

HTML_Object * HTML_CustomItem::itemHandle  )  const
 

Returns the handle of the item, or 0 if there is none.

HTML_CustomItemView * HTML_CustomItem::itemView  ) 
 

Returns a reference to the view which contains this item.

HTML_CustomItem * HTML_CustomItem::nextSibling int  column = -1  ) 
 

Returns the next sibling of this item or 0 if there is none.

HTML_CustomItem * HTML_CustomItem::parentItem int  column = -1  ) 
 

Returns the parent of this item or 0 if this is the top-most item.

void HTML_CustomItem::setOpen bool  open  ) 
 

Opens or closes the item depending on open.

void HTML_CustomItem::setSelected bool  selected  ) 
 

Selects or unselects the item depending on selected.


Property Documentation

const char * HTML_CustomItem::realType [read]
 

Returns the type name of the real type wrapped by this API. Something like gwttree, itmilltree, dojotree, etc.


Generated on Mon Jun 11 15:49:45 2007 for Squish HTML API by  doxygen 1.4.4