|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.text.Renderer
org.crsh.text.ui.RowRenderer
class RowRenderer
| Field Summary | |
|---|---|
private List<Renderer> |
cols
. |
private boolean |
header
. |
private Style.Composite |
style
. |
| Constructor Summary | |
|---|---|
RowRenderer(RowElement row)
|
|
| Method Summary | |
|---|---|
int |
getActualWidth()
Returns the element actual width. |
List<Renderer> |
getCols()
|
int |
getMinWidth()
Returns the element minimum width. |
(package private) int |
getSize()
|
boolean |
isHeader()
|
LineReader |
renderer(int width)
Create a renderer for the specified width or return null if the element does not provide any output. |
LineReader |
renderer(int[] widths,
int width,
Border border)
|
LineReader |
renderer(int width,
Border border)
|
| Methods inherited from class org.crsh.text.Renderer |
|---|
compose, render |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final List<Renderer> cols
private final Style.Composite style
private final boolean header
| Constructor Detail |
|---|
RowRenderer(RowElement row)
| Method Detail |
|---|
public boolean isHeader()
int getSize()
public List<Renderer> getCols()
public LineReader renderer(int width,
Border border)
public LineReader renderer(int[] widths,
int width,
Border border)
public LineReader renderer(int width)
Renderer
renderer in class Rendererwidth - the width the width
public int getActualWidth()
Renderer
getActualWidth in class Rendererpublic int getMinWidth()
Renderer
getMinWidth in class Renderer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||