| |
|
| java.lang.Object de.jwic.controls.TreeEntry
TreeEntry | public class TreeEntry (Code) | | TreeEntry encapsulate a TreeNode for rendering.
$Id: TreeEntry.java,v 1.2 2006/08/14 10:56:37 lordsam Exp $
version: $Revision: 1.2 $ author: JBornemann |
expanded | protected boolean expanded(Code) | | |
last | protected boolean last(Code) | | |
level | protected int level(Code) | | |
selected | protected boolean selected(Code) | | |
getLevel | public int getLevel()(Code) | | Returns the int level: no parent is 0, one parent is 1 a.s.o.
Returns the level. |
getNodeID | public String getNodeID()(Code) | | Returns the nodeID. |
getPath | public List getPath()(Code) | | Returns the TreeEntry parents of this.
List is empty if no parent exists.
|
isExpanded | public boolean isExpanded()(Code) | | Returns the expanded. |
isLast | public boolean isLast()(Code) | | Returns if this is the last of its parent.
boolean. |
isSelected | public boolean isSelected()(Code) | | Returns the selected. |
setExpanded | public void setExpanded(boolean expanded)(Code) | | Parameters: expanded - The expanded to set. |
setLast | public void setLast(boolean last)(Code) | | Parameters: last - The last to set. |
setLevel | public void setLevel(int level)(Code) | | Sets the level: no parent is 0, one parent is 1 a.s.o.
Parameters: level - The level to set. |
setNode | public void setNode(TreeNode node)(Code) | | Parameters: node - The TreeNode to set. |
setNodeID | public void setNodeID(String nodeID)(Code) | | Parameters: nodeID - The nodeID to set. |
setParent | public void setParent(TreeEntry parent)(Code) | | Parameters: parent - The parent to set. |
setSelected | public void setSelected(boolean selected)(Code) | | Parameters: selected - The selected to set. |
|
|
|