public static class SaveOptions.BorderInfo extends Object
Instance of this class represents information about border That can be drown on some result document.
Constructor and Description |
---|
BorderInfo()
Creates instance of BorderInfo class
|
BorderInfo(SaveOptions.BorderPartStyle commonStyle)
Creates instance of BorderInfo class and initializes all elements of border(Top, Left,
Right, Bottom) with attributes copied from supplied border style
|
Modifier and Type | Method and Description |
---|---|
SaveOptions.BorderPartStyle |
getBottomStyleIfAny()
Represents bottom part(if any) of border
|
SaveOptions.BorderPartStyle |
getLeftStyleIfAny()
Represents left part(if any) of border
|
SaveOptions.BorderPartStyle |
getRightStyleIfAny()
Represents right part(if any) of border
|
SaveOptions.BorderPartStyle |
getTopStyleIfAny()
Represents top part(if any) of border
|
void |
setBottomStyleIfAny(SaveOptions.BorderPartStyle bottomStyleIfAny)
Represents bottom part(if any) of border
|
void |
setLeftStyleIfAny(SaveOptions.BorderPartStyle leftStyleIfAny)
Represents left part(if any) of border
|
void |
setRightStyleIfAny(SaveOptions.BorderPartStyle rightStyleIfAny)
Represents right part(if any) of border
|
void |
setTopStyleIfAny(SaveOptions.BorderPartStyle topStyleIfAny)
Represents top part(if any) of border
|
public BorderInfo()
Creates instance of BorderInfo class
public BorderInfo(SaveOptions.BorderPartStyle commonStyle)
Creates instance of BorderInfo class and initializes all elements of border(Top, Left, Right, Bottom) with attributes copied from supplied border style
commonStyle
- style of border parts that will be used for all elements of border(left, right, top,
bottom)public SaveOptions.BorderPartStyle getTopStyleIfAny()
Represents top part(if any) of border
public void setTopStyleIfAny(SaveOptions.BorderPartStyle topStyleIfAny)
Represents top part(if any) of border
topStyleIfAny
- BorderPartStyle instancepublic SaveOptions.BorderPartStyle getLeftStyleIfAny()
Represents left part(if any) of border
public void setLeftStyleIfAny(SaveOptions.BorderPartStyle leftStyleIfAny)
Represents left part(if any) of border
leftStyleIfAny
- BorderPartStyle instancepublic SaveOptions.BorderPartStyle getRightStyleIfAny()
Represents right part(if any) of border
public void setRightStyleIfAny(SaveOptions.BorderPartStyle rightStyleIfAny)
Represents right part(if any) of border
rightStyleIfAny
- BorderPartStyle instancepublic SaveOptions.BorderPartStyle getBottomStyleIfAny()
Represents bottom part(if any) of border
public void setBottomStyleIfAny(SaveOptions.BorderPartStyle bottomStyleIfAny)
Represents bottom part(if any) of border
bottomStyleIfAny
- BorderPartStyle instance