org.crsh.shell.ui
Class TreeElement
java.lang.Object
org.crsh.shell.ui.Element
org.crsh.shell.ui.TreeElement
public class TreeElement
- extends Element
- Version:
- $Revision$
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
private Element value
- An optional value element.
nodes
private List<Element> nodes
- .
TreeElement
public TreeElement()
TreeElement
public TreeElement(Element value)
addNode
public TreeElement addNode(Element node)
getSize
public int getSize()
getValue
public Element getValue()
getNode
public Element getNode(int index)
doPrint
void doPrint(UIWriterContext ctx,
ShellWriter writer)
throws IOException
- Specified by:
doPrint
in class Element
- Throws:
IOException
width
int width()
- Specified by:
width
in class Element
Copyright © 2012 eXo Platform SAS. All Rights Reserved.