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 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.