|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sgx.j2s.js.NativeWrapper org.sgx.j2s.yui3.yui.YUINativeWrapper org.sgx.j2s.yui3.yui.event.EventTarget org.sgx.j2s.yui3.yui.Attribute org.sgx.j2s.yui3.yui.Base org.sgx.j2s.yui3.yui.widget.Widget org.sgx.j2s.aui.tree.TreeData org.sgx.j2s.aui.tree.TreeNode
public class TreeNode
Field Summary |
---|
Fields inherited from class org.sgx.j2s.yui3.yui.YUINativeWrapper |
---|
Y |
Fields inherited from class org.sgx.j2s.js.NativeWrapper |
---|
_data, _EMPTYPARAMS |
Constructor Summary | |
---|---|
TreeNode()
|
Method Summary | |
---|---|
void |
collapse()
Collapse the current TreeNode. |
boolean |
contains(TreeNode node)
Check if the current TreeNode contains the passed node. |
void |
expand()
Expand the current TreeNode. |
int |
getDepth()
Get the depth of the current TreeNode. |
boolean |
isLeaf()
Whether the current TreeNode is a leaf or not. |
boolean |
isSelected()
Whether the current TreeNode is selected or not. |
void |
toggle()
Toggle the current TreeNode, collapsed or expanded. |
Methods inherited from class org.sgx.j2s.aui.tree.TreeData |
---|
appendChild, bubbleEvent, collapseAll, createNode, eachChildren, eachParent, empty, expandAll, getChildren, getEventOutputMap, getNodeByChild, getNodeById, hasChildNodes, indexOf, insert, insertAfter, insertBefore, isRegistered, item, refreshIndex, registerNode, removeChild, selectAll, unregisterNode, unselectAll, updateIndex, updateReferences |
Methods inherited from class org.sgx.j2s.yui3.yui.widget.Widget |
---|
blur, disable, enable, focus, getByNode, getClassName, getDefaultLocale, getSkinName, getString, getStrings, hide, render, show |
Methods inherited from class org.sgx.j2s.yui3.yui.Attribute |
---|
addAttr, addAttrs, attrAdded, get, getAttrs, modifyAttr, removeAttr, reset, set, setAttrs |
Methods inherited from class org.sgx.j2s.yui3.yui.event.EventTarget |
---|
after, before, detach, detachAll, fire, getEvent, on, once, publish |
Methods inherited from class org.sgx.j2s.yui3.yui.YUINativeWrapper |
---|
_load |
Methods inherited from class org.sgx.j2s.js.NativeWrapper |
---|
_call, _get, _getData, create |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeNode()
Method Detail |
---|
public void collapse()
public boolean contains(TreeNode node)
public void expand()
public int getDepth()
public boolean isLeaf()
public boolean isSelected()
public void toggle()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |