public interface IsTableContext extends IsObjectContext
The context (all settings) of a table.
| Modifier and Type | Method and Description |
|---|---|
default boolean |
checkWidth(int width)
Checks a width against the text width (calculated)
|
default int |
getTextWidth()
Returns the width of the text in the table (overall width minus any margins etc).
|
int |
getTextWidth(int width)
Returns the width of the text in the table (overall width minus any margins etc).
|
int |
getWidth()
Returns the width set for the table.
|
default int getTextWidth()
Returns the width of the text in the table (overall width minus any margins etc).
int getTextWidth(int width)
Returns the width of the text in the table (overall width minus any margins etc).
width - a width to calculate the text width forint getWidth()
Returns the width set for the table.
default boolean checkWidth(int width)
Checks a width against the text width (calculated)
width - the width to check againstIllegalStateException - if the text width is less than 1Copyright © 2016–2017. All rights reserved.