public final class TableAreaLayout extends Object
Provides a table layout.
Constructor and Description |
---|
TableAreaLayout()
Initializes a new instance of the
TableAreaLayout class. |
Modifier and Type | Method and Description |
---|---|
List<Double> |
getHorizontalSeparators()
Gets a collection of vertical separators.
|
Rectangle |
getTableRectangle()
Gets a rectangle that bounds the table.
|
List<Double> |
getVerticalSeparators()
Gets a collection of vertical separators.
|
TableAreaLayout |
moveTo(double x,
double y)
Creates a copy of the current layout that is moved to (x,y) coordinates.
|
public TableAreaLayout()
Initializes a new instance of the TableAreaLayout
class.
public List<Double> getVerticalSeparators()
Gets a collection of vertical separators.
public List<Double> getHorizontalSeparators()
Gets a collection of vertical separators.
public Rectangle getTableRectangle()
Gets a rectangle that bounds the table.
Rectangle
.public TableAreaLayout moveTo(double x, double y)
Creates a copy of the current layout that is moved to (x,y) coordinates.
x
- The new x-coordinate of the table left top corner.y
- The new y-coordinate of the table left top corner.TableAreaLayout
that is placed at (x, y).Copyright © 2019. All rights reserved.