Class Border
java.lang.Object
com.independentsoft.office.odf.styles.Border
Represents a percentage value that is used to scale a border area which is filled by a solid color.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.getColor()Gets the color of the border.getStyle()Gets the style of the border.getWidth()Gets the width of the border.voidSets the color of the border.voidsetStyle(BorderStyle style)Sets the style of the border.voidSets the width of the border.toString()Converts the value of the current Border object to its equivalent string representation.
-
Constructor Details
-
Border
public Border()Initializes a new instance of the Border class. -
Border
Initializes a new instance of the Border class.- Parameters:
border- the border
-
Border
Initializes a new instance of the Border class.- Parameters:
width- the widthstyle- the stylecolor- the color
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current Border object to its equivalent string representation. -
getWidth
Gets the width of the border.- Returns:
- the width
-
setWidth
Sets the width of the border.- Parameters:
width- the new width
-
getStyle
Gets the style of the border.- Returns:
- the style
-
setStyle
Sets the style of the border.- Parameters:
style- the new style
-
getColor
Gets the color of the border.- Returns:
- the color
-
setColor
Sets the color of the border.- Parameters:
color- the new color
-