Package com.independentsoft.office.odf.charts

# Class Floor

java.lang.Object
com.independentsoft.office.odf.charts.Floor

All Implemented Interfaces:
  `IContentElement`

public class Floor extends Object implements IContentElement
The Class Floor.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Floor()`
  Initializes a new instance of the Floor class.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Floor`
  `clone()`
  Creates a new object that is a deep copy of the current instance.
  `List<IContentElement>`
  `getContentElements()`
  Returns all content elements.
  `IContentElement`
  `getParent()`
  Returns the parent content element.
  `String`
  `getStyle()`
  Gets name that reference style mechanisms.
  `Size`
  `getWidth()`
  Get the width of a chart.
  `void`
  `setParent​(IContentElement parent)`
  Sets the parent content element.
  `void`
  `setStyle​(String style)`
  Sets name that reference style mechanisms.
  `void`
  `setWidth​(Size width)`
  Sets the width of a chart.
  `String`
  `toString()`
  Converts the value of the current Floor object to its equivalent string representation.

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

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

- ## Constructor Details

  - ### Floor

    public Floor()
    Initializes a new instance of the Floor class.

- ## Method Details

  - ### getContentElements

    public List<IContentElement> getContentElements()
    Returns all content elements.
    Specified by:
      `getContentElements` in interface `IContentElement`
    Returns:
      A collection of content elements.

  - ### getParent

    public IContentElement getParent()
    Returns the parent content element.
    Specified by:
      `getParent` in interface `IContentElement`
    Returns:
      the parent

  - ### setParent

    public void setParent​(IContentElement parent)
    Sets the parent content element.
    Specified by:
      `setParent` in interface `IContentElement`
    Parameters:
      `parent` - the new parent

  - ### clone

    public Floor clone()
    Creates a new object that is a deep copy of the current instance.
    Specified by:
      `clone` in interface `IContentElement`
    Overrides:
      `clone` in class `Object`
    Returns:
      A new object that is a copy of this instance.

  - ### toString

    public String toString()
    Converts the value of the current Floor object to its equivalent string representation.
    Overrides:
      `toString` in class `Object`
    Returns:
      the string

  - ### getWidth

    public Size getWidth()
    Get the width of a chart.
    Returns:
      the width

  - ### setWidth

    public void setWidth​(Size width)
    Sets the width of a chart. If it is omitted, the size of a chart is determined by the size of the window in which the chart is displayed.
    Parameters:
      `width` - the new width

  - ### getStyle

    public String getStyle()
    Gets name that reference style mechanisms.
    Returns:
      the style

  - ### setStyle

    public void setStyle​(String style)
    Sets name that reference style mechanisms.
    Parameters:
      `style` - the new style