|
Joda System API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.util.EventObject
|
+--java.beans.PropertyChangeEvent
|
+--org.joda.property.PropertyValueChangeEvent
|
+--org.joda.property.ListPropertyChangeEvent
ListPropertyChangeEvent is the event object sent when a list property changes. It encapsulates better the details of the change. The oldValue and newValue fields of the superclass are not populated for performance reasons.
| Nested Class Summary | |
static class |
ListPropertyChangeEvent.Change
|
| Field Summary | |
static ListPropertyChangeEvent.Change |
REGION_ADDED
|
static ListPropertyChangeEvent.Change |
REGION_CHANGED
|
static ListPropertyChangeEvent.Change |
REGION_REMOVED
|
| Fields inherited from class java.util.EventObject |
source |
| Method Summary | |
static ListPropertyChangeEvent |
createRegionAddedEvent(Property source,
int startIndex,
int endIndex)
Static factory constructor. |
static ListPropertyChangeEvent |
createRegionChangedEvent(Property source,
int startIndex,
int endIndex)
Static factory constructor. |
static ListPropertyChangeEvent |
createRegionRemovedEvent(Property source,
int startIndex,
int endIndex)
Static factory constructor. |
ListPropertyChangeEvent.Change |
getChangeType()
Gets the change type. |
int |
getEndIndex()
Get the end index of the affected region (inclusive). |
int |
getStartIndex()
Get the start index of the affected region. |
| Methods inherited from class org.joda.property.PropertyValueChangeEvent |
createValueChangedEvent, getBean, getProperty |
| Methods inherited from class java.beans.PropertyChangeEvent |
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final ListPropertyChangeEvent.Change REGION_ADDED
public static final ListPropertyChangeEvent.Change REGION_REMOVED
public static final ListPropertyChangeEvent.Change REGION_CHANGED
| Method Detail |
public static ListPropertyChangeEvent createRegionAddedEvent(Property source,
int startIndex,
int endIndex)
source - the property that fired the eventstartIndex - the inclusive start index of the affected regionendIndex - the inclusive end index of the affected region
public static ListPropertyChangeEvent createRegionRemovedEvent(Property source,
int startIndex,
int endIndex)
source - the property that fired the eventstartIndex - the inclusive start index of the affected regionendIndex - the inclusive end index of the affected region
public static ListPropertyChangeEvent createRegionChangedEvent(Property source,
int startIndex,
int endIndex)
source - the property that fired the eventstartIndex - the inclusive start index of the affected regionendIndex - the inclusive end index of the affected regionpublic int getStartIndex()
public int getEndIndex()
public ListPropertyChangeEvent.Change getChangeType()
|
Joda System API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||