SaveOptions.BorderInfo

Inheritance: java.lang.Object

public static class SaveOptions.BorderInfo

Instance of this class represents information about border That can be drown on some result document.

Constructors

ConstructorDescription
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

Methods

MethodDescription
getTopStyleIfAny()Represents top part(if any) of border
setTopStyleIfAny(SaveOptions.BorderPartStyle topStyleIfAny)Represents top part(if any) of border
getLeftStyleIfAny()Represents left part(if any) of border
setLeftStyleIfAny(SaveOptions.BorderPartStyle leftStyleIfAny)Represents left part(if any) of border
getRightStyleIfAny()Represents right part(if any) of border
setRightStyleIfAny(SaveOptions.BorderPartStyle rightStyleIfAny)Represents right part(if any) of border
getBottomStyleIfAny()Represents bottom part(if any) of border
setBottomStyleIfAny(SaveOptions.BorderPartStyle bottomStyleIfAny)Represents bottom part(if any) of border

BorderInfo()

public BorderInfo()

Creates instance of BorderInfo class

BorderInfo(SaveOptions.BorderPartStyle commonStyle)

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

Parameters:

ParameterTypeDescription
commonStyleBorderPartStylestyle of border parts that will be used for all elements of border(left, right, top, bottom)

getTopStyleIfAny()

public SaveOptions.BorderPartStyle getTopStyleIfAny()

Represents top part(if any) of border

Returns: BorderPartStyle - BorderPartStyle instance

setTopStyleIfAny(SaveOptions.BorderPartStyle topStyleIfAny)

public void setTopStyleIfAny(SaveOptions.BorderPartStyle topStyleIfAny)

Represents top part(if any) of border

Parameters:

ParameterTypeDescription
topStyleIfAnyBorderPartStyleBorderPartStyle instance

getLeftStyleIfAny()

public SaveOptions.BorderPartStyle getLeftStyleIfAny()

Represents left part(if any) of border

Returns: BorderPartStyle - BorderPartStyle instance

setLeftStyleIfAny(SaveOptions.BorderPartStyle leftStyleIfAny)

public void setLeftStyleIfAny(SaveOptions.BorderPartStyle leftStyleIfAny)

Represents left part(if any) of border

Parameters:

ParameterTypeDescription
leftStyleIfAnyBorderPartStyleBorderPartStyle instance

getRightStyleIfAny()

public SaveOptions.BorderPartStyle getRightStyleIfAny()

Represents right part(if any) of border

Returns: BorderPartStyle - BorderPartStyle instance

setRightStyleIfAny(SaveOptions.BorderPartStyle rightStyleIfAny)

public void setRightStyleIfAny(SaveOptions.BorderPartStyle rightStyleIfAny)

Represents right part(if any) of border

Parameters:

ParameterTypeDescription
rightStyleIfAnyBorderPartStyleBorderPartStyle instance

getBottomStyleIfAny()

public SaveOptions.BorderPartStyle getBottomStyleIfAny()

Represents bottom part(if any) of border

Returns: BorderPartStyle - BorderPartStyle instance

setBottomStyleIfAny(SaveOptions.BorderPartStyle bottomStyleIfAny)

public void setBottomStyleIfAny(SaveOptions.BorderPartStyle bottomStyleIfAny)

Represents bottom part(if any) of border

Parameters:

ParameterTypeDescription
bottomStyleIfAnyBorderPartStyleBorderPartStyle instance