Package com.independentsoft.office.vml

# Class Border

java.lang.Object
com.independentsoft.office.vml.Border

Direct Known Subclasses:
  `BottomBorder`, `LeftBorder`, `RightBorder`, `TopBorder`

public abstract class Border extends Object
The Class Border.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Border()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract Border`
  `clone()`
  `BorderType`
  `getType()`
  Gets the type.
  `int`
  `getWidth()`
  Gets the width.
  `boolean`
  `hasShadow()`
  Checks for shadow.
  `void`
  `setShadow​(boolean hasShadow)`
  Sets the shadow.
  `void`
  `setType​(BorderType type)`
  Sets the type.
  `void`
  `setWidth​(int width)`
  Sets the width.

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

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

- ## Constructor Details

  - ### Border

    public Border()

- ## Method Details

  - ### clone

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

  - ### getType

    public BorderType getType()
    Gets the type.
    Returns:
      the type

  - ### setType

    public void setType​(BorderType type)
    Sets the type.
    Parameters:
      `type` - the new type

  - ### hasShadow

    public boolean hasShadow()
    Checks for shadow.
    Returns:
      true, if successful

  - ### setShadow

    public void setShadow​(boolean hasShadow)
    Sets the shadow.
    Parameters:
      `hasShadow` - the new shadow

  - ### getWidth

    public int getWidth()
    Gets the width.
    Returns:
      the width

  - ### setWidth

    public void setWidth​(int width)
    Sets the width.
    Parameters:
      `width` - the new width