Package generic.theme

# Class FontChangedThemeEvent

java.lang.Object
generic.theme.ThemeEvent
generic.theme.FontChangedThemeEvent

public class FontChangedThemeEvent extends ThemeEvent
`ThemeEvent` for when a font changes for exactly one font id.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FontChangedThemeEvent(GThemeValueMap values, FontValue font)`
  Constructor

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `hasAnyFontChanged()`
  Returns true if any font value changed.
  `boolean`
  `isFontChanged(String id)`
  Returns true if the font associated with the given id has changed.

  ### Methods inherited from class generic.theme.ThemeEvent

  `hasAnyColorChanged, hasAnyIconChanged, haveAllValuesChanged, isColorChanged, isIconChanged, isLookAndFeelChanged`

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

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

- ## Constructor Details

  - ### FontChangedThemeEvent

    public FontChangedThemeEvent(GThemeValueMap values, FontValue font)
    Constructor
    Parameters:
      `values` - the set of theme values used to resolve indirect references
      `font` - the new `FontValue` for the font id that changed

- ## Method Details

  - ### isFontChanged

    public boolean isFontChanged(String id)
    Description copied from class: `ThemeEvent`
    Returns true if the font associated with the given id has changed.
    Overrides:
      `isFontChanged` in class `ThemeEvent`
    Parameters:
      `id` - the font id to test if changed
    Returns:
      true if the font associated with the given id has changed

  - ### hasAnyFontChanged

    public boolean hasAnyFontChanged()
    Description copied from class: `ThemeEvent`
    Returns true if any font value changed.
    Overrides:
      `hasAnyFontChanged` in class `ThemeEvent`
    Returns:
      true if any font value changed.