|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
de.erichseifert.gral.util.SettingChangeEvent
public class SettingChangeEvent
Class for handling event data of settings.
SettingsListener
,
Serialized FormConstructor Summary | |
---|---|
SettingChangeEvent(Object source,
Settings.Key key,
Object valOld,
Object valNew,
boolean defaultSetting)
Creates a new event object with the specified values. |
Method Summary | |
---|---|
Settings.Key |
getKey()
Returns the key of the changed setting. |
Object |
getValNew()
Returns the new value. |
Object |
getValOld()
Returns the old value. |
boolean |
isDefaultSetting()
Returns whether the setting is a default setting. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SettingChangeEvent(Object source, Settings.Key key, Object valOld, Object valNew, boolean defaultSetting)
source
- The object on which the Event initially occurred.key
- Key of the setting.valOld
- Old value.valNew
- New value.defaultSetting
- true
if a default setting has changed.Method Detail |
---|
public Settings.Key getKey()
public Object getValOld()
public Object getValNew()
public boolean isDefaultSetting()
true
or false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |