Package generic.theme
Class IconChangedThemeEvent
java.lang.Object
generic.theme.ThemeEvent
generic.theme.IconChangedThemeEvent
ThemeEvent for when an icon changes for exactly one icon id.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if any icon value changed.booleanisIconChanged(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
-
Constructor Details
-
IconChangedThemeEvent
Constructor- Parameters:
icon- the newIconValuefor the icon id that changed
-
-
Method Details
-
isIconChanged
Description copied from class:ThemeEventReturns true if the icon associated with the given id has changed.- Overrides:
isIconChangedin classThemeEvent- 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:ThemeEventReturns true if any icon value changed.- Overrides:
hasAnyIconChangedin classThemeEvent- Returns:
- true if any icon value changed.
-