|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crsh.shell.ui.Element
org.crsh.shell.ui.LabelElement
public class LabelElement
Field Summary | |
---|---|
private String |
value
. |
Constructor Summary | |
---|---|
LabelElement(Object value)
|
|
LabelElement(String value)
|
Method Summary | |
---|---|
(package private) void |
doPrint(UIWriterContext ctx,
ShellWriter writer)
|
String |
getValue()
|
String |
toString()
|
(package private) int |
width()
|
Methods inherited from class org.crsh.shell.ui.Element |
---|
getBackground, getDecoration, getForeground, getParent, print, print, setBackground, setDecoration, setForeground, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final String value
Constructor Detail |
---|
public LabelElement(String value)
public LabelElement(Object value)
Method Detail |
---|
public String getValue()
void doPrint(UIWriterContext ctx, ShellWriter writer) throws IOException
doPrint
in class Element
IOException
public String toString()
toString
in class Object
int width()
width
in class Element
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |