|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThemeMapListener
A listener to a ThemeMap
, gets informed about changes of the map.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 removedvoid selectionChanged(ThemeMap map, String oldKey, String newKey)
map
- the source of the eventoldKey
- the name of the old factory, can be null
newKey
- the name of the new factory, can be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |