Package com.independentsoft.office.drawing

# Class PresetColor

java.lang.Object
com.independentsoft.office.drawing.ColorChoice
com.independentsoft.office.drawing.PresetColor

public class PresetColor extends ColorChoice
The Class PresetColor.

- ## Field Summary

  ### Fields inherited from class com.independentsoft.office.drawing.ColorChoice

  `colorTransforms`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PresetColor()`
  Instantiates a new preset color.
  `PresetColor​(InternalXMLStreamReader reader)`
  Instantiates a new preset color.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `PresetColor`
  `clone()`
  `PresetColorValue`
  `getValue()`
  Gets the value.
  `void`
  `setValue​(PresetColorValue val)`
  Sets the value.
  `String`
  `toString()`

  ### Methods inherited from class com.independentsoft.office.drawing.ColorChoice

  `getColorTransforms`

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

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

- ## Constructor Details

  - ### PresetColor

    public PresetColor()
    Instantiates a new preset color.

  - ### PresetColor

    public PresetColor​(InternalXMLStreamReader reader) throws XMLStreamException
    Instantiates a new preset color.
    Parameters:
      `reader` - the reader
    Throws:
      `XMLStreamException` - the xML stream exception

- ## Method Details

  - ### clone

    public PresetColor clone()
    Specified by:
      `clone` in class `ColorChoice`

  - ### toString

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

  - ### getValue

    public PresetColorValue getValue()
    Gets the value.
    Returns:
      the value

  - ### setValue

    public void setValue​(PresetColorValue val)
    Sets the value.
    Parameters:
      `val` - the new value