public class SettingChangeEvent extends EventObject
SettingsListener
,
Serialized Formsource
Constructor and Description |
---|
SettingChangeEvent(Object source,
Key key,
Object valOld,
Object valNew,
boolean defaultSetting)
Creates a new event object with the specified values.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getSource, toString
public SettingChangeEvent(Object source, 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.public Key getKey()
public Object getValOld()
public Object getValNew()
public boolean isDefaultSetting()
true
or false
Copyright © 2009-2013. All Rights Reserved.