Package com.independentsoft.office.spreadsheet.drawing

# Class OneCellAnchor

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

public class OneCellAnchor extends Anchor
The Class OneCellAnchor.

- ## Field Summary

  ### Fields inherited from class com.independentsoft.office.spreadsheet.drawing.Anchor

  `clientData, element`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `OneCellAnchor()`
  Instantiates a new one cell anchor.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `OneCellAnchor`
  `clone()`
  `ShapeExtent`
  `getExtent()`
  Gets the extent.
  `StartAnchorPoint`
  `getStart()`
  Gets the start.
  `void`
  `setExtent​(ShapeExtent extent)`
  Sets the extent.
  `void`
  `setStart​(StartAnchorPoint start)`
  Sets the start.
  `String`
  `toString()`

  ### Methods inherited from class com.independentsoft.office.spreadsheet.drawing.Anchor

  `getClientData, getElement, setClientData, setElement`

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

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

- ## Constructor Details

  - ### OneCellAnchor

    public OneCellAnchor()
    Instantiates a new one cell anchor.

- ## Method Details

  - ### clone

    public OneCellAnchor clone()
    Specified by:
      `clone` in class `Anchor`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### getStart

    public StartAnchorPoint getStart()
    Gets the start.
    Returns:
      the start

  - ### setStart

    public void setStart​(StartAnchorPoint start)
    Sets the start.
    Parameters:
      `start` - the new start

  - ### getExtent

    public ShapeExtent getExtent()
    Gets the extent.
    Returns:
      the extent

  - ### setExtent

    public void setExtent​(ShapeExtent extent)
    Sets the extent.
    Parameters:
      `extent` - the new extent