Package com.independentsoft.office.word
Class Border
java.lang.Object
com.independentsoft.office.word.Border
- Direct Known Subclasses:
BarBorder,BetweenBorder,BottomBorder,HorizontalInsideBorder,LeftBorder,RightBorder,TopBorder,TopLeftBottomRightDiagonalBorder,TopRightBottomLeftDiagonalBorder,VerticalInsideBorder
The Class Border.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Colorprotected ExtendedBooleanprotected ExtendedBooleanprotected intprotected StandardBorderStyleprotected ThemeColorprotected intprotected intprotected int -
Constructor Summary
ConstructorsConstructorDescriptionBorder()Instantiates a new border.Border(StandardBorderStyle style)Instantiates a new border. -
Method Summary
Modifier and TypeMethodDescriptionclone()getColor()Gets the color.Gets the frame effect.Gets the shadow.intgetSpace()Gets the space.getStyle()Gets the style.Gets the theme color.intGets the theme shade.intGets the theme tint.intgetWidth()Gets the width.voidSets the color.voidsetFrameEffect(ExtendedBoolean frameEffect)Sets the frame effect.voidsetShadow(ExtendedBoolean shadow)Sets the shadow.voidsetSpace(int space)Sets the space.voidsetStyle(StandardBorderStyle style)Sets the style.voidsetThemeColor(ThemeColor themeColor)Sets the theme color.voidsetThemeShade(int themeShade)Sets the theme shade.voidsetThemeTint(int themeTint)Sets the theme tint.voidsetWidth(int width)Sets the width.toString()
-
Field Details
-
color
-
frameEffect
-
shadow
-
space
protected int space -
width
protected int width -
themeColor
-
themeShade
protected int themeShade -
themeTint
protected int themeTint -
style
-
-
Constructor Details
-
Border
public Border()Instantiates a new border. -
Border
Instantiates a new border.- Parameters:
style- the style
-
-
Method Details
-
clone
-
toString
-
getStyle
Gets the style.- Returns:
- the style
-
setStyle
Sets the style.- Parameters:
style- the new style
-
getColor
Gets the color.- Returns:
- the color
-
setColor
Sets the color.- Parameters:
color- the new color
-
getFrameEffect
Gets the frame effect.- Returns:
- the frame effect
-
setFrameEffect
Sets the frame effect.- Parameters:
frameEffect- the new frame effect
-
getShadow
Gets the shadow.- Returns:
- the shadow
-
setShadow
Sets the shadow.- Parameters:
shadow- the new shadow
-
getSpace
public int getSpace()Gets the space.- Returns:
- the space
-
setSpace
public void setSpace(int space)Sets the space.- Parameters:
space- the new space
-
getWidth
public int getWidth()Gets the width.- Returns:
- the width
-
setWidth
public void setWidth(int width)Sets the width.- Parameters:
width- the new width
-
getThemeColor
Gets the theme color.- Returns:
- the theme color
-
setThemeColor
Sets the theme color.- Parameters:
themeColor- the new theme color
-
getThemeShade
public int getThemeShade()Gets the theme shade.- Returns:
- the theme shade
-
setThemeShade
public void setThemeShade(int themeShade)Sets the theme shade.- Parameters:
themeShade- the new theme shade
-
getThemeTint
public int getThemeTint()Gets the theme tint.- Returns:
- the theme tint
-
setThemeTint
public void setThemeTint(int themeTint)Sets the theme tint.- Parameters:
themeTint- the new theme tint
-