ElementSelectionChangeEvent
s should wrap ODOMChangeEvent
providing the same interface and delegating the the wrapped ODOMChangeEvent
if there is one. An ElementSelectionChangeEvent that is associated with an ODOMChangeEvent
has been derived from one or more ODOMChangeEvent
s. The ODOMChangeEvent
should be provided at construction time.
All methods (i.e. getSource(), getOldValue(), getNewValue() and getChangeQualifier()) should delegate to the ODOMChangeEvent
but where ODOMChangeEvent
returns Object, ElementSelectionChangeEvent
should return a JDOM Element.
Alternatively, if the ElementSelectionChangeEvent
is generated as a result of a selection change then all that is required is the JDOM Element that the selection has changed to. This is the source. A call to getSource() will return this element. All other methods should return null except getChangeQualifier() which should return ChangeQualifier.NONE to indicate that the Element itself has not changed.
@see ODOMChangeEvent
|
|
|
|