org.crsh.text.ui
Class RowElement

java.lang.Object
  extended by org.crsh.text.ui.Element
      extended by org.crsh.text.ui.RowElement

public class RowElement
extends Element


Field Summary
(package private)  List<Element> cols
          .
(package private)  boolean header
          .
 
Constructor Summary
RowElement()
           
RowElement(boolean header)
           
 
Method Summary
 RowElement add(Element... cols)
           
 RowElement add(String... cols)
           
 Element getCol(int index)
           
 int getSize()
           
 RowLineRenderer renderer()
           
 RowElement style(Style.Composite style)
           
 
Methods inherited from class org.crsh.text.ui.Element
getStyle, header, label, render, row, setStyle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cols

List<Element> cols
.


header

final boolean header
.

Constructor Detail

RowElement

public RowElement()

RowElement

public RowElement(boolean header)
Method Detail

getSize

public int getSize()

getCol

public Element getCol(int index)

add

public RowElement add(Element... cols)

add

public RowElement add(String... cols)

style

public RowElement style(Style.Composite style)
Overrides:
style in class Element

renderer

public RowLineRenderer renderer()
Specified by:
renderer in class Element


Copyright © 2015 eXo Platform SAS. All Rights Reserved.