|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.extjs.gxt.ui.client.widget.tree.DefaultTreeItemUI
TreePanel
public class DefaultTreeItemUI
Default TreeItemUI implementation.
| Constructor Summary | |
|---|---|
DefaultTreeItemUI()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
afterRender()
Deprecated. Called after the nodes UI has been rendered. |
void |
bind(TreeItem item)
Deprecated. Binds the UI instance to a tree item. |
void |
collapse()
Deprecated. Collapses a nodes children. |
void |
expand()
Deprecated. Expands the nodes children. |
com.google.gwt.user.client.Element |
getCheckElement()
Deprecated. Returns the check element. |
com.google.gwt.user.client.Element |
getContainerElement()
Deprecated. Returns the container element. |
com.google.gwt.user.client.Element |
getJointElement()
Deprecated. Returns the joint element. |
java.lang.String |
getTemplate(java.lang.String id,
java.lang.String text,
java.lang.String icon,
int joint,
int level)
Deprecated. Returns the html markup used to render a tree item. |
void |
handleEvent(TreeEvent te)
Deprecated. Receives all tree item events. |
boolean |
isSelectableTarget(com.google.gwt.user.client.Element target)
Deprecated. Returns whether the element is a selectable target. |
void |
onCheckChange(boolean checked)
Deprecated. Called when the check state changes. |
void |
onDoubleClick(ComponentEvent ce)
Deprecated. |
void |
onIconStyleChange(java.lang.String style)
Deprecated. Called when the nodes icon style changes. |
void |
onIndentChange(int level)
Deprecated. Called when the nodes indentation changes. |
void |
onJointChange(Tree.Joint joint)
Deprecated. Called when the nodes joint is updated. |
void |
onLoadingChange(boolean loading)
Deprecated. Called when the node is "loading". |
void |
onOverChange(boolean over)
Deprecated. Called when the nodes hover style changes. |
void |
onRemoveChild(TreeItem child)
Deprecated. Called when a nodes child is removed. |
void |
onSelectedChange(boolean selected)
Deprecated. Called when the selected state of a node changes. |
void |
onTextChange(java.lang.String text)
Deprecated. Called when the nodes text changes. |
void |
onTextStyleChange(java.lang.String style)
Deprecated. Called when the nodes text style changes. |
void |
refresh()
Deprecated. Refreshes the UI. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultTreeItemUI()
| Method Detail |
|---|
public void afterRender()
TreeItemUI
afterRender in interface TreeItemUIpublic void bind(TreeItem item)
TreeItemUI
bind in interface TreeItemUIitem - bound tree itempublic void collapse()
TreeItemUI
collapse in interface TreeItemUIpublic void expand()
TreeItemUI
expand in interface TreeItemUIpublic com.google.gwt.user.client.Element getCheckElement()
TreeItemUI
getCheckElement in interface TreeItemUIpublic com.google.gwt.user.client.Element getContainerElement()
TreeItemUI
getContainerElement in interface TreeItemUIpublic com.google.gwt.user.client.Element getJointElement()
TreeItemUI
getJointElement in interface TreeItemUI
public java.lang.String getTemplate(java.lang.String id,
java.lang.String text,
java.lang.String icon,
int joint,
int level)
TreeItemUI
getTemplate in interface TreeItemUIid - the item idtext - the item's text
public void handleEvent(TreeEvent te)
TreeItemUI
handleEvent in interface TreeItemUIte - the tree eventpublic boolean isSelectableTarget(com.google.gwt.user.client.Element target)
TreeItemUI
isSelectableTarget in interface TreeItemUItarget - the target element
public void onCheckChange(boolean checked)
TreeItemUI
onCheckChange in interface TreeItemUIchecked - true for checked, false otherwise.public void onDoubleClick(ComponentEvent ce)
public void onIconStyleChange(java.lang.String style)
TreeItemUI
onIconStyleChange in interface TreeItemUIstyle - the icon stylepublic void onIndentChange(int level)
TreeItemUI
onIndentChange in interface TreeItemUIlevel - the items depthpublic void onJointChange(Tree.Joint joint)
TreeItemUI
onJointChange in interface TreeItemUIjoint - the jointpublic void onLoadingChange(boolean loading)
TreeItemUI
onLoadingChange in interface TreeItemUIloading - true for loadingpublic void onOverChange(boolean over)
TreeItemUI
onOverChange in interface TreeItemUIover - true for hover, otherwise falsepublic void onRemoveChild(TreeItem child)
TreeItemUI
onRemoveChild in interface TreeItemUIchild - the child to be removedpublic void onSelectedChange(boolean selected)
TreeItemUI
onSelectedChange in interface TreeItemUIselected - true if selectedpublic void onTextChange(java.lang.String text)
TreeItemUI
onTextChange in interface TreeItemUItext - the new textpublic void onTextStyleChange(java.lang.String style)
TreeItemUI
onTextStyleChange in interface TreeItemUIstyle - the style namepublic void refresh()
TreeItemUI
refresh in interface TreeItemUI
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||