Package com.independentsoft.office.spreadsheet.drawing

# Class Anchor

java.lang.Object
com.independentsoft.office.spreadsheet.drawing.Anchor

Direct Known Subclasses:
  `AbsoluteAnchor`, `OneCellAnchor`, `TwoCellAnchor`

public abstract class Anchor extends Object
The Class Anchor.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected ClientData`
  `clientData`
  `protected IAnchorElement`
  `element`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Anchor()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract Anchor`
  `clone()`
  `ClientData`
  `getClientData()`
  Gets the client data.
  `IAnchorElement`
  `getElement()`
  Gets the element.
  `void`
  `setClientData​(ClientData clientData)`
  Sets the client data.
  `void`
  `setElement​(IAnchorElement element)`
  Sets the element.

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

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

- ## Field Details

  - ### element

    protected IAnchorElement element

  - ### clientData

    protected ClientData clientData

- ## Constructor Details

  - ### Anchor

    public Anchor()

- ## Method Details

  - ### clone

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

  - ### getElement

    public IAnchorElement getElement()
    Gets the element.
    Returns:
      the element

  - ### setElement

    public void setElement​(IAnchorElement element)
    Sets the element.
    Parameters:
      `element` - the new element

  - ### getClientData

    public ClientData getClientData()
    Gets the client data.
    Returns:
      the client data

  - ### setClientData

    public void setClientData​(ClientData clientData)
    Sets the client data.
    Parameters:
      `clientData` - the new client data