public static abstract class ObservableSet.ElementEvent
extends PropertyChangeEvent
Base event type for observable set content changes.
| Constructor and description |
|---|
ElementEvent(Object source, Object oldValue, Object newValue, ChangeType type)Creates an element event. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public ChangeType |
getChangeType()Returns the specialized event type. |
|
public int |
getType()Returns the specialized event type ordinal. |
|
public String |
getTypeAsString()Returns the specialized event type name. |
| Methods inherited from class | Name |
|---|---|
class PropertyChangeEvent |
equals, getClass, getNewValue, getOldValue, getPropagationId, getPropertyName, getSource, hashCode, notify, notifyAll, setPropagationId, toString, wait, wait, wait |
Creates an element event.
source - the event sourceoldValue - the previous value payloadnewValue - the new value payloadtype - the specialized change typeReturns the specialized event type.
Returns the specialized event type ordinal.
Returns the specialized event type name.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.