org.crsh.text.ui
Class Element

java.lang.Object
  extended by org.crsh.text.ui.Element
Direct Known Subclasses:
EvalElement, LabelElement, RowElement, TableElement, TextElement, TreeElement

public abstract class Element
extends Object


Field Summary
private  Style.Composite style
          .
 
Constructor Summary
protected Element()
           
 
Method Summary
 Style.Composite getStyle()
           
static RowElement header()
           
static LabelElement label(String value)
           
 void render(RenderAppendable to)
           
abstract  LineRenderer renderer()
           
static RowElement row()
           
 void setStyle(Style.Composite style)
           
 Element style(Style.Composite style)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

style

private Style.Composite style
.

Constructor Detail

Element

protected Element()
Method Detail

renderer

public abstract LineRenderer renderer()

render

public void render(RenderAppendable to)

getStyle

public final Style.Composite getStyle()

setStyle

public final void setStyle(Style.Composite style)

style

public Element style(Style.Composite style)

row

public static RowElement row()

header

public static RowElement header()

label

public static LabelElement label(String value)


Copyright © 2015 eXo Platform SAS. All Rights Reserved.