|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.crsh.text.LineRenderer org.crsh.text.ui.RowLineRenderer
class RowLineRenderer
Field Summary | |
---|---|
private List<LineRenderer> |
cols
. |
(package private) int |
leftCellPadding
. |
(package private) int |
rightCellPadding
. |
private BorderStyle |
separator
. |
private Style.Composite |
style
. |
Fields inherited from class org.crsh.text.LineRenderer |
---|
NULL |
Constructor Summary | |
---|---|
RowLineRenderer(RowElement row,
BorderStyle separator,
int leftCellPadding,
int rightCellPadding)
|
Method Summary | |
---|---|
int |
getActualHeight(int width)
Return the actual height for the specified with. |
int |
getActualWidth()
Returns the element actual width. |
List<LineRenderer> |
getCols()
|
int |
getMinHeight(int width)
Return the minimum height for the specified with. |
int |
getMinWidth()
Returns the element minimum width. |
(package private) int |
getSize()
|
LineReader |
reader(int width)
Create a renderer for the specified width or return null if the element does not provide any output. |
(package private) LineReader |
renderer(int[] widths,
int height)
|
Methods inherited from class org.crsh.text.LineRenderer |
---|
reader, render, vertical |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final List<LineRenderer> cols
private final Style.Composite style
final int leftCellPadding
final int rightCellPadding
private final BorderStyle separator
Constructor Detail |
---|
RowLineRenderer(RowElement row, BorderStyle separator, int leftCellPadding, int rightCellPadding)
Method Detail |
---|
int getSize()
public List<LineRenderer> getCols()
public int getActualWidth()
LineRenderer
getActualWidth
in class LineRenderer
public int getMinWidth()
LineRenderer
getMinWidth
in class LineRenderer
public int getActualHeight(int width)
LineRenderer
getActualHeight
in class LineRenderer
width
- the width
public int getMinHeight(int width)
LineRenderer
getMinHeight
in class LineRenderer
width
- the width
LineReader renderer(int[] widths, int height)
public LineReader reader(int width)
LineRenderer
reader
in class LineRenderer
width
- the width
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |