Package com.independentsoft.office.themes

# Class FontScheme

java.lang.Object
com.independentsoft.office.themes.FontScheme

public class FontScheme extends Object
The Class FontScheme.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FontScheme()`
  Instantiates a new font scheme.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `FontScheme`
  `clone()`
  `MajorFont`
  `getMajorFont()`
  Gets the major font.
  `MinorFont`
  `getMinorFont()`
  Gets the minor font.
  `String`
  `getName()`
  Gets the name.
  `void`
  `setMajorFont​(MajorFont majorFont)`
  Sets the major font.
  `void`
  `setMinorFont​(MinorFont minorFont)`
  Sets the minor font.
  `void`
  `setName​(String name)`
  Sets the name.
  `String`
  `toString()`

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

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

- ## Constructor Details

  - ### FontScheme

    public FontScheme()
    Instantiates a new font scheme.

- ## Method Details

  - ### clone

    public FontScheme clone()
    Overrides:
      `clone` in class `Object`

  - ### toString

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

  - ### getMajorFont

    public MajorFont getMajorFont()
    Gets the major font.
    Returns:
      the major font

  - ### setMajorFont

    public void setMajorFont​(MajorFont majorFont)
    Sets the major font.
    Parameters:
      `majorFont` - the new major font

  - ### getMinorFont

    public MinorFont getMinorFont()
    Gets the minor font.
    Returns:
      the minor font

  - ### setMinorFont

    public void setMinorFont​(MinorFont minorFont)
    Sets the minor font.
    Parameters:
      `minorFont` - the new minor font

  - ### getName

    public String getName()
    Gets the name.
    Returns:
      the name

  - ### setName

    public void setName​(String name)
    Sets the name.
    Parameters:
      `name` - the new name