Package bibliothek.gui.dock.common.theme
Interface ThemeMapListener
public interface ThemeMapListener
A listener to a
ThemeMap, gets informed about changes of the map.- Author:
- Benjamin Sigg
-
Method Summary
Modifier and TypeMethodDescriptionvoidchanged(ThemeMap map, int index, String key, ThemeFactory oldFactory, ThemeFactory newFactory) Called when an entry was changed (includes adding or removing).voidselectionChanged(ThemeMap map, String oldKey, String newKey) Called when the selected factory has been changed.
-
Method Details
-
changed
Called when an entry was changed (includes adding or removing).- Parameters:
map- the source of the eventindex- the location of the changed entrykey- the key of the changed entryoldFactory- the old value of the entry,nullif the entry was addednewFactory- the new value of the entry,nullif the entry was removed
-
selectionChanged
Called when the selected factory has been changed.- Parameters:
map- the source of the eventoldKey- the name of the old factory, can benullnewKey- the name of the new factory, can benull
-