|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectSimplePanel
com.vaadin.client.ui.VTree.TreeNode
public class VTree.TreeNode
| Field Summary | |
|---|---|
java.lang.String[] |
actionKeys
For internal use only. |
FlowPanel |
childNodeContainer
For internal use only. |
boolean |
childrenLoaded
For internal use only. |
static java.lang.String |
CLASSNAME
|
static java.lang.String |
CLASSNAME_FOCUSED
|
java.lang.String |
key
|
protected Element |
nodeCaptionSpan
|
| Constructor Summary | |
|---|---|
VTree.TreeNode()
|
|
| Method Summary | |
|---|---|
protected void |
constructDom()
|
protected void |
emphasis(com.vaadin.shared.ui.dd.VerticalDropLocation detail)
|
Action[] |
getActions()
|
java.util.List<VTree.TreeNode> |
getChildren()
Returns the children of the node |
ApplicationConnection |
getClient()
|
com.vaadin.shared.ui.dd.VerticalDropLocation |
getDropDetail(NativeEvent currentGwtEvent)
|
java.lang.String |
getPaintableId()
|
boolean |
getState()
For internal use only. |
boolean |
isCaptionElement(com.google.gwt.dom.client.Element target)
Checks if the given element is the caption or the icon. |
boolean |
isChildrenLoaded()
|
boolean |
isGrandParentOf(VTree.TreeNode child)
Travels up the hierarchy looking for this node |
boolean |
isLeaf()
|
protected boolean |
isSelected()
|
boolean |
isSibling(VTree.TreeNode node)
|
void |
onBrowserEvent(Event event)
|
protected void |
onDetach()
|
void |
scrollIntoView()
Scrolls the caption into view |
void |
setFocused(boolean focused)
Is the node focused? |
void |
setIcon(java.lang.String iconUrl,
java.lang.String altText)
|
void |
setNodeStyleName(java.lang.String styleName)
|
void |
setSelected(boolean selected)
Adds/removes Vaadin specific style name. |
void |
setState(boolean state,
boolean notifyServer)
For internal use only. |
void |
setText(java.lang.String text)
For internal use only. |
void |
showContextMenu(Event event)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASSNAME
public static final java.lang.String CLASSNAME_FOCUSED
public java.lang.String key
public java.lang.String[] actionKeys
public boolean childrenLoaded
protected Element nodeCaptionSpan
public FlowPanel childNodeContainer
| Constructor Detail |
|---|
public VTree.TreeNode()
| Method Detail |
|---|
public com.vaadin.shared.ui.dd.VerticalDropLocation getDropDetail(NativeEvent currentGwtEvent)
protected void emphasis(com.vaadin.shared.ui.dd.VerticalDropLocation detail)
public void onBrowserEvent(Event event)
public boolean isCaptionElement(com.google.gwt.dom.client.Element target)
target - The element to check
protected void constructDom()
public boolean isLeaf()
public void setState(boolean state,
boolean notifyServer)
public boolean getState()
public void setText(java.lang.String text)
public boolean isChildrenLoaded()
public java.util.List<VTree.TreeNode> getChildren()
public Action[] getActions()
getActions in interface ActionOwnerpublic ApplicationConnection getClient()
getClient in interface ActionOwnerpublic java.lang.String getPaintableId()
getPaintableId in interface ActionOwnerpublic void setSelected(boolean selected)
For internal use only. May be removed or replaced in the future.
selected - protected boolean isSelected()
public boolean isGrandParentOf(VTree.TreeNode child)
child - The child which grandparent this is or is not
public boolean isSibling(VTree.TreeNode node)
public void showContextMenu(Event event)
protected void onDetach()
public java.lang.String toString()
public void setFocused(boolean focused)
focused - True if focused, false if notpublic void scrollIntoView()
public void setIcon(java.lang.String iconUrl,
java.lang.String altText)
public void setNodeStyleName(java.lang.String styleName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||