SaveOptions.BorderPartStyle

Inheritance: java.lang.Object

public static class SaveOptions.BorderPartStyle

Represents information of one part of border(top, bottom, left side or right side)

Constructors

ConstructorDescription
BorderPartStyle()

Methods

MethodDescription
getWidthInPoints()Represents border line’s width in points.
setWidthInPoints(int value)Represents border line’s width in points.
getColor()Represents border line’s line color
setColor(Color color)Represents border line’s line color
getLineType()Represents border line’s type - f.e.
setLineType(int lineType)Represents border line’s type - f.e.

BorderPartStyle()

public BorderPartStyle()

getWidthInPoints()

public int getWidthInPoints()

Represents border line’s width in points. Must be number greater then zero.

Returns: int - int value

setWidthInPoints(int value)

public void setWidthInPoints(int value)

Represents border line’s width in points. Must be number greater then zero.

Parameters:

ParameterTypeDescription
valueintint value

getColor()

public Color getColor()

Represents border line’s line color

Returns: Color - java.awt.Color instance

setColor(Color color)

public void setColor(Color color)

Represents border line’s line color

Parameters:

ParameterTypeDescription
colorjava.awt.Colorjava.awt.Color instance

getLineType()

public int getLineType()

Represents border line’s type - f.e. Dashed or Solid

Returns: int - HtmlBorderLineType element

setLineType(int lineType)

public void setLineType(int lineType)

Represents border line’s type - f.e. Dashed or Solid

Parameters:

ParameterTypeDescription
lineTypeintHtmlBorderLineType element