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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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
-
Constructor Details
-
IconChangedThemeEvent
Constructor- Parameters:
icon
- the newIconValue
for the icon id that changed
-
-
Method Details
-
isIconChanged
Description copied from class:ThemeEvent
Returns true if the icon associated with the given id has changed.- Overrides:
isIconChanged
in 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:ThemeEvent
Returns true if any icon value changed.- Overrides:
hasAnyIconChanged
in classThemeEvent
- Returns:
- true if any icon value changed.
-