|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
de.fhg.igd.logging.ConfigurationChangeEvent
Instances of this EventObject will be fired to every
registered ConfigurationChangeListener. It contains the type
of operation that has been carried out on the LoggingConfiguration,
as well as further information about the affected property.
Notice: Originally, the ConfigurationChange event mechanism was meant to be used by a GUI implementation, which is on the To-Do list. Hence, even though the mechanism is fully operational, it is not yet being used by the Logging Framework itself.
| Field Summary | |
protected Object |
key_
The affected property key |
protected Object |
newval_
The property value after the operation |
protected Object |
oldval_
The property value before the operation |
protected int |
type_
The operation type |
static int |
TYPE_VALUE_ADDED
The operation type in case some value has been added |
static int |
TYPE_VALUE_CHANGED
The operation type in case some value has been changed |
static int |
TYPE_VALUE_REMOVED
The operation type in case some value has been removed |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
ConfigurationChangeEvent(Object source,
Object key,
Object oldval,
Object newval)
Create a ConfigurationChangeEvent. |
|
| Method Summary | |
Object |
getKey()
|
Object |
getNewValue()
|
Object |
getOldValue()
|
int |
getType()
|
String |
toString()
|
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int TYPE_VALUE_ADDED
public static final int TYPE_VALUE_CHANGED
public static final int TYPE_VALUE_REMOVED
protected int type_
protected Object key_
protected Object oldval_
protected Object newval_
| Constructor Detail |
public ConfigurationChangeEvent(Object source,
Object key,
Object oldval,
Object newval)
ConfigurationChangeEvent.
source - The object where this event has been createdkey - The affected property keyoldval - The old property valuenewval - The new property value| Method Detail |
public int getType()
public Object getKey()
public Object getOldValue()
public Object getNewValue()
public String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||