Package com.independentsoft.office.odf.styles

# Class Style

java.lang.Object
com.independentsoft.office.odf.styles.Style

Direct Known Subclasses:
  `BaseStyle`, `BooleanStyle`, `CurrencyStyle`, `DateStyle`, `ListStyle`, `NumberStyle`, `NumberTextStyle`, `PercentageStyle`, `TimeStyle`

public abstract class Style extends Object
Represents the style.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected String`
  `displayName`
  `protected String`
  `name`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Style()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract Style`
  `clone()`
  `String`
  `getDisplayName()`
  Gets the name of a style.
  `String`
  `getName()`
  Gets the names that are used for referencing style.
  `void`
  `setDisplayName​(String displayName)`
  Sets the name of a style.
  `void`
  `setName​(String name)`
  Sets the names that are used for referencing style.

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

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

- ## Field Details

  - ### name

    protected String name

  - ### displayName

    protected String displayName

- ## Constructor Details

  - ### Style

    public Style()

- ## Method Details

  - ### clone

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

  - ### getName

    public String getName()
    Gets the names that are used for referencing style.
    Returns:
      the name

  - ### setName

    public void setName​(String name)
    Sets the names that are used for referencing style.
    Parameters:
      `name` - the new name

  - ### getDisplayName

    public String getDisplayName()
    Gets the name of a style.
    Returns:
      the display name

  - ### setDisplayName

    public void setDisplayName​(String displayName)
    Sets the name of a style.
    Parameters:
      `displayName` - the new display name