public interface ThemeMapListener
ThemeMap
, gets informed about changes of the map.Modifier and Type | Method and Description |
---|---|
void |
changed(ThemeMap map,
int index,
String key,
ThemeFactory oldFactory,
ThemeFactory newFactory)
Called when an entry was changed (includes adding or removing).
|
void |
selectionChanged(ThemeMap map,
String oldKey,
String newKey)
Called when the selected factory has been changed.
|
void changed(ThemeMap map, int index, String key, ThemeFactory oldFactory, ThemeFactory newFactory)
map
- the source of the eventindex
- the location of the changed entrykey
- the key of the changed entryoldFactory
- the old value of the entry, null
if the entry was addednewFactory
- the new value of the entry, null
if the entry was removed