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

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)
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

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

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

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.

void HTML_CustomItemView::clickItem const char *  item,
int  m
 

Clicks the item named item.

const char * HTML_CustomItemView::columnCaption int  column  ) 
 

Returns the caption of the column column.

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

Double-clicks the item named item.

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.

bool HTML_CustomItemView::hasItem const char *  item  ) 
 

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

bool HTML_CustomItemView::isOpen const char *  item  ) 
 

Returns whether the item with the specified name is opened.

bool HTML_CustomItemView::isSelected const char *  item  ) 
 

Returns whether the item with the specified name is selected.


Property Documentation

int HTML_CustomItemView::numColumns [read]
 

Returns the the number of columns displayed in the view.

const char * HTML_CustomItemView::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