org.crsh.shell.ui
Class RowElement

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

public class RowElement
extends Element

Author:
Alain Defrance

Field Summary
private  List<Element> cols
          .
 
Constructor Summary
RowElement()
           
 
Method Summary
 void addValue(Element element)
           
(package private)  void doPrint(UIWriterContext ctx, ShellWriter writer)
           
 List<Element> getValues()
           
 void print(UIWriterContext ctx, ShellWriter writer)
           
(package private)  int width()
           
 
Methods inherited from class org.crsh.shell.ui.Element
getBackground, getDecoration, getForeground, getParent, print, setBackground, setDecoration, setForeground, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cols

private List<Element> cols
.

Constructor Detail

RowElement

public RowElement()
Method Detail

print

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

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

addValue

public void addValue(Element element)

getValues

public List<Element> getValues()


Copyright © 2012 eXo Platform SAS. All Rights Reserved.