|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
TreePanel
public interface TreeItemUI
Interface for TreeItem UI providers.
| 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 e)
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 |
onIconStyleChange(java.lang.String iconStyle)
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. |
| Method Detail |
|---|
void afterRender()
void bind(TreeItem item)
item - bound tree itemvoid collapse()
void expand()
com.google.gwt.user.client.Element getCheckElement()
com.google.gwt.user.client.Element getContainerElement()
com.google.gwt.user.client.Element getJointElement()
java.lang.String getTemplate(java.lang.String id,
java.lang.String text,
java.lang.String icon,
int joint,
int level)
id - the item idtext - the item's text
void handleEvent(TreeEvent e)
e - the tree eventboolean isSelectableTarget(com.google.gwt.user.client.Element target)
target - the target element
void onCheckChange(boolean checked)
checked - true for checked, false otherwise.void onIconStyleChange(java.lang.String iconStyle)
iconStyle - the icon stylevoid onIndentChange(int level)
level - the items depthvoid onJointChange(Tree.Joint joint)
joint - the jointvoid onLoadingChange(boolean loading)
loading - true for loadingvoid onOverChange(boolean over)
over - true for hover, otherwise falsevoid onRemoveChild(TreeItem child)
child - the child to be removedvoid onSelectedChange(boolean selected)
selected - true if selectedvoid onTextChange(java.lang.String text)
text - the new textvoid onTextStyleChange(java.lang.String style)
style - the style namevoid refresh()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||