Package generic.theme

# Class IconChangedThemeEvent

java.lang.Object
generic.theme.ThemeEvent
generic.theme.IconChangedThemeEvent

public class IconChangedThemeEvent extends ThemeEvent
`ThemeEvent` for when an icon changes for exactly one icon id.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IconChangedThemeEvent(GThemeValueMap values, IconValue icon)`
  Constructor

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `hasAnyIconChanged()`
  Returns true if any icon value changed.
  `boolean`
  `isIconChanged(String id)`
  Returns true if the icon associated with the given id has changed.

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

  `hasAnyColorChanged, hasAnyFontChanged, haveAllValuesChanged, isColorChanged, isFontChanged, isLookAndFeelChanged`

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

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

- ## Constructor Details

  - ### IconChangedThemeEvent

    public IconChangedThemeEvent(GThemeValueMap values, IconValue icon)
    Constructor
    Parameters:
      `icon` - the new `IconValue` for the icon id that changed

- ## Method Details

  - ### isIconChanged

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

  - ### hasAnyIconChanged

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