public interface IKeyChangeListener
IKeyChangeListener
is designed specifically to listen to a
IKeyManager
for key change events, e.g., adding, removing, or
changing keys.Modifier and Type | Method and Description |
---|---|
void |
keyChanged(java.lang.String oldKey,
java.lang.String newKey)
This method is called with the specified keys have somehow been
manipulated.
|
void keyChanged(java.lang.String oldKey, java.lang.String newKey)
oldKey
- The previous value of the key. This is null
if the key
did not previously exist. For "discrete" key managers, this
key was available previously but has been taken.newKey
- The new value of the key. This is null
if the key no
longer exists. For "discrete" key managers, this key was taken
previously but is now available.