HTML_CustomItemView Class Reference

Abstract item view API to access any supported item view. More...

Inheritance diagram for HTML_CustomItemView:

HTML_FormElement HTML_Object

List of all members.

Public Member Functions

 HTML_CustomItemView (const QString &n, const QString &jsref, const QString rt)
virtual const char * className () const
void clickHandle (const char *item)
void clickItem (const char *item, int m, int button=1)
void doubleClickItem (const char *item, int m=0)
bool hasItem (const char *item)
bool isSelected (const char *item)
bool isOpen (const char *item)
HTML_CustomItemfindItem (const char *text)
HTML_CustomItemchildItem (int column=-1)
const char * columnCaption (int column)
int numColumns () const
const char * realType () const

Properties

char realType
int numColumns


Detailed Description

Abstract item view API to access any supported item view.

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


Member Function Documentation

virtual const char* HTML_CustomItemView::className (  )  const [inline, virtual]

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

Reimplemented from HTML_FormElement.

void HTML_CustomItemView::clickHandle ( const char *  item  ) 

Clicks the handle of the item name item.

References HTML_Object::click(), findItem(), and HTML_CustomItem::itemHandle().

void HTML_CustomItemView::clickItem ( const char *  item,
int  m,
int  button = 1 
)

Clicks the item named item.

References HTML_Object::click(), and findItem().

void HTML_CustomItemView::doubleClickItem ( const char *  item,
int  m = 0 
)

Double-clicks the item named item.

References HTML_Object::doubleClick(), and findItem().

bool HTML_CustomItemView::hasItem ( const char *  item  ) 

Returns whether the view has an item with the specified name.

References findItem().

bool HTML_CustomItemView::isSelected ( const char *  item  ) 

Returns whether the item with the specified name is selected.

References findItem(), and HTML_CustomItem::isSelected().

bool HTML_CustomItemView::isOpen ( const char *  item  ) 

Returns whether the item with the specified name is opened.

References findItem(), and HTML_CustomItem::isOpen().

HTML_CustomItem * HTML_CustomItemView::findItem ( const char *  item  ) 

Returns an reference to the item of the name item. If no item is found, 0 is returned.

Referenced by clickHandle(), clickItem(), doubleClickItem(), hasItem(), isOpen(), and isSelected().

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

Returns the first item of the view or 0 if the view is empty.

const char * HTML_CustomItemView::columnCaption ( int  column  ) 

Returns the caption of the column column.


Property Documentation

const char * HTML_CustomItemView::realType [read]

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

int HTML_CustomItemView::numColumns [read]

Returns the the number of columns displayed in the view.


Generated on Sun Oct 12 17:40:25 2008 for Squish HTML API by  doxygen 1.5.6