
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_CustomItem * | findItem (const char *text) |
| HTML_CustomItem * | childItem (int column=-1) |
| const char * | columnCaption (int column) |
| int | numColumns () const |
| const char * | realType () const |
Properties | |
| char | realType |
| int | numColumns |
This class provides the API to access any item DHTML/AJAX/JS view widget with dedicated support.
| 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.
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.
1.5.6