public interface Borders
Modifier and Type | Method and Description |
---|---|
Border |
getBorder(String borderIndex)
Returns the border from the given border index.
|
List<String> |
getBorderIndices()
Returns the specified border indices.
|
String |
getColor() |
int |
getColorIndex() |
int |
getSize()
Returns the size of the specified borders.
|
String |
getStyle() |
String |
getThemeColor() |
void |
setBorder(String borderIndex,
Border border)
Sets the border to the given border index.
|
void |
setColor(int index)
Sets the border color index.
|
void |
setColor(String color)
Sets the border color.
|
void |
setStyle(String style)
Sets the border style.
|
void |
setThemeColor(String themeColor)
Sets the border theme color.
|
void setColor(String color)
void setColor(int index)
void setStyle(String style)
style
- either 'none', 'thin', 'medium', 'dashed', 'dotted', 'thick', 'double', 'hair',
'mediumDashed', 'dashDot', 'mediumDashDot', 'dashDotDot', 'mediumDashDotDot', or 'slantDashDot'void setThemeColor(String themeColor)
themeColor
- String getColor()
int getColorIndex()
String getStyle()
String getThemeColor()
void setBorder(String borderIndex, Border border)
borderIndex
- either "edgeLeft", "edgeTop", "edgeBottom", "edgeRight",
"diagonalDown", "diagonalUp", "insideVertical", or "insideHorizontal"border
- Border getBorder(String borderIndex)
borderIndex
- either "edgeLeft", "edgeTop", "edgeBottom", "edgeRight",
"diagonalDown", "diagonalUp", "insideVertical", or "insideHorizontal"int getSize()
Copyright © 2017. All rights reserved.