class TableLineRenderer extends LineRenderer
Modifier and Type | Field and Description |
---|---|
(package private) BorderStyle |
border
.
|
(package private) Layout |
columnLayout
.
|
private TableRowLineRenderer |
head
.
|
(package private) int |
leftCellPadding
Cell padding left.
|
(package private) Overflow |
overflow
.
|
(package private) int |
rightCellPadding
Cell padding right.
|
(package private) Layout |
rowLayout
.
|
(package private) BorderStyle |
separator
.
|
(package private) Style.Composite |
style
.
|
private TableRowLineRenderer |
tail
.
|
NULL
Constructor and Description |
---|
TableLineRenderer(TableElement table) |
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.
|
private int |
getMaxColSize() |
int |
getMinHeight(int width)
Return the minimum height for the specified with.
|
int |
getMinWidth()
Returns the element minimum width.
|
LineReader |
reader(int width)
Create a renderer for the specified width or return null if the element does not provide any output.
|
LineReader |
reader(int width,
int height)
Create a renderer for the specified width and height or return null if the element does not provide any output
for the specified dimensions.
|
render, vertical
final Layout columnLayout
final BorderStyle border
final BorderStyle separator
final Style.Composite style
final int leftCellPadding
final int rightCellPadding
private TableRowLineRenderer head
private TableRowLineRenderer tail
TableLineRenderer(TableElement table)
private int getMaxColSize()
public int getMinWidth()
LineRenderer
getMinWidth
in class LineRenderer
public int getActualWidth()
LineRenderer
getActualWidth
in class LineRenderer
public int getActualHeight(int width)
LineRenderer
getActualHeight
in class LineRenderer
width
- the widthpublic int getMinHeight(int width)
LineRenderer
getMinHeight
in class LineRenderer
width
- the widthpublic LineReader reader(int width)
LineRenderer
reader
in class LineRenderer
width
- the widthpublic LineReader reader(int width, int height)
LineRenderer
LineRenderer.reader(int)
method when the
height
argument is not positive otherwise it returns null. Subclasses should override this method
when they want to provide content that can adapts to the specified height.reader
in class LineRenderer
width
- the widthheight
- the heightCopyright © 2015 eXo Platform SAS. All Rights Reserved.