org.crsh.shell.ui
Class LabelElement

java.lang.Object
  extended by org.crsh.shell.ui.Element
      extended by org.crsh.shell.ui.LabelElement

public class LabelElement
extends Element

Version:
$Revision$
Author:
Julien Viet

Field Summary
private  String value
          .
 
Constructor Summary
LabelElement(Object value)
           
LabelElement(String value)
           
 
Method Summary
 String getValue()
           
(package private)  void print(UIWriterContext ctx, ShellWriter writer)
           
 String toString()
           
 
Methods inherited from class org.crsh.shell.ui.Element
print
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

private final String value
.

Constructor Detail

LabelElement

public LabelElement(String value)

LabelElement

public LabelElement(Object value)
Method Detail

getValue

public String getValue()

print

void print(UIWriterContext ctx,
           ShellWriter writer)
     throws IOException
Specified by:
print in class Element
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 eXo Platform SAS. All Rights Reserved.