public final class TableCellBorders extends Object
Defines the information about cell's borders.
Modifier and Type | Field and Description |
---|---|
static TableCellBorders |
EMPTY
Gets an empty instance.
|
Constructor and Description |
---|
TableCellBorders(boolean hasEdges)
Initializes a new instance of the
TableCellBorders class. |
TableCellBorders(boolean hasLeft,
boolean hasTop,
boolean hasRight,
boolean hasBottom)
Initializes a new instance of the
TableCellBorders class. |
Modifier and Type | Method and Description |
---|---|
boolean |
hasBottom()
Gets a value indicating whether cell has a bottom border.
|
boolean |
hasLeft()
Gets a value indicating whether cell has a left border.
|
boolean |
hasRight()
Gets a value indicating whether cell has a right border.
|
boolean |
hasTop()
Gets a value indicating whether cell has a top border.
|
public static final TableCellBorders EMPTY
Gets an empty instance.
public TableCellBorders(boolean hasEdges)
Initializes a new instance of the TableCellBorders
class.
hasEdges
- A boolean true if cell has borders; otherwise, false.public TableCellBorders(boolean hasLeft, boolean hasTop, boolean hasRight, boolean hasBottom)
Initializes a new instance of the TableCellBorders
class.
hasLeft
- A boolean true if cell has a left border; otherwise, false.hasTop
- A boolean true if cell has a top border; otherwise, false.hasRight
- A boolean true if cell has a right border; otherwise, false.hasBottom
- A boolean true if cell has a bottom border; otherwise, false.public boolean hasLeft()
Gets a value indicating whether cell has a left border.
public boolean hasTop()
Gets a value indicating whether cell has a top border.
public boolean hasRight()
Gets a value indicating whether cell has a right border.
public boolean hasBottom()
Gets a value indicating whether cell has a bottom border.
Copyright © 2018. All rights reserved.