class RowRenderer extends Renderer
| Modifier and Type | Field and Description |
|---|---|
private List<Renderer> |
cols
.
|
(package private) int |
leftCellPadding
.
|
(package private) int |
rightCellPadding
.
|
private BorderStyle |
separator
.
|
private Style.Composite |
style
.
|
| Constructor and Description |
|---|
RowRenderer(RowElement row,
BorderStyle separator,
int leftCellPadding,
int rightCellPadding) |
| Modifier and Type | Method and Description |
|---|---|
int |
getActualHeight(int width)
Return the actual height for the specified with.
|
int |
getActualWidth()
Returns the element actual width.
|
List<Renderer> |
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) |
private final Style.Composite style
final int leftCellPadding
final int rightCellPadding
private final BorderStyle separator
RowRenderer(RowElement row, BorderStyle separator, int leftCellPadding, int rightCellPadding)
int getSize()
public int getActualWidth()
RenderergetActualWidth in class Rendererpublic int getMinWidth()
RenderergetMinWidth in class Rendererpublic int getActualHeight(int width)
RenderergetActualHeight in class Rendererwidth - the widthpublic int getMinHeight(int width)
RenderergetMinHeight in class Rendererwidth - the widthLineReader renderer(int[] widths, int height)
public LineReader reader(int width)
RendererCopyright © 2013 eXo Platform SAS. All Rights Reserved.