|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jconfig.event.ConfigurationChangedEventImpl
The all-in-one implementation of the ConfigurationChangedEvent. Inside tip: the current implementation allows any PropertyChangedListener or CategoryChangeListener to cast the respective Events to a ConfigurationChangedEvent.
Field Summary |
Fields inherited from interface org.jconfig.event.PropertyChangedEvent |
CATEGORY_ADDED, CATEGORY_CHANGED, CATEGORY_REMOVED, PROPERTY_ADDED, PROPERTY_CHANGED, PROPERTY_REMOVED |
Constructor Summary | |
ConfigurationChangedEventImpl(int eventType,
Category category,
java.lang.String propertyName,
java.lang.String oldValue,
java.lang.String newValue)
|
Method Summary | |
Category |
getCategory()
The name of the Category |
int |
getEventType()
Information about the event. |
java.lang.String |
getNewValue()
The new value of the Property. |
java.lang.String |
getOldValue()
The old value of the Property. |
java.lang.String |
getPropertyName()
The name of the Property that has changed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConfigurationChangedEventImpl(int eventType, Category category, java.lang.String propertyName, java.lang.String oldValue, java.lang.String newValue)
eventType
- oldValue
- newValue
- Method Detail |
public java.lang.String getPropertyName()
PropertyChangedEvent
getPropertyName
in interface PropertyChangedEvent
public int getEventType()
PropertyChangedEvent
getEventType
in interface PropertyChangedEvent
PropertyChangedEvent.PROPERTY_ADDED
,
PropertyChangedEvent.PROPERTY_REMOVED
,
PropertyChangedEvent.CATEGORY_ADDED
,
PropertyChangedEvent.CATEGORY_REMOVED
public java.lang.String getNewValue()
PropertyChangedEvent
getNewValue
in interface PropertyChangedEvent
public java.lang.String getOldValue()
PropertyChangedEvent
getOldValue
in interface PropertyChangedEvent
public Category getCategory()
CategoryChangedEvent
getCategory
in interface CategoryChangedEvent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |