Package com.independentsoft.office.spreadsheet.styles

# Class Border

java.lang.Object
com.independentsoft.office.spreadsheet.styles.Border

public class Border extends Object
The Class Border.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Border()`
  Instantiates a new border.
  `Border​(BorderColor color)`
  Instantiates a new border.
  `Border​(BorderColor color, BorderStyle style)`
  Instantiates a new border.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Border`
  `clone()`
  `BorderColor`
  `getColor()`
  Gets the color.
  `BorderStyle`
  `getStyle()`
  Gets the style.
  `void`
  `setColor​(BorderColor color)`
  Sets the color.
  `void`
  `setStyle​(BorderStyle style)`
  Sets the style.

  ### Methods inherited from class java.lang.Object

  `equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Border

    public Border()
    Instantiates a new border.

  - ### Border

    public Border​(BorderColor color)
    Instantiates a new border.
    Parameters:
      `color` - the color

  - ### Border

    public Border​(BorderColor color, BorderStyle style)
    Instantiates a new border.
    Parameters:
      `color` - the color
      `style` - the style

- ## Method Details

  - ### clone

    public Border clone()
    Overrides:
      `clone` in class `Object`

  - ### getColor

    public BorderColor getColor()
    Gets the color.
    Returns:
      the color

  - ### setColor

    public void setColor​(BorderColor color)
    Sets the color.
    Parameters:
      `color` - the new color

  - ### getStyle

    public BorderStyle getStyle()
    Gets the style.
    Returns:
      the style

  - ### setStyle

    public void setStyle​(BorderStyle style)
    Sets the style.
    Parameters:
      `style` - the new style