oracle.dss.dataSource.common
Class SelectionChangingEvent
java.lang.Object
|
+--java.util.EventObject
|
+--oracle.dss.dataSource.common.QueryEvent
|
+--oracle.dss.dataSource.common.SelectionEvent
|
+--oracle.dss.dataSource.common.SelectionChangingEvent
- All Implemented Interfaces:
- java.lang.Cloneable, Consumable, java.io.Serializable
- public class SelectionChangingEvent
- extends SelectionEvent
- implements Consumable
Informs listeners when changes to one or more Selection
objects have been requested. A listener can call the consume
method of this event to veto the changes.
- See Also:
- Serialized Form
Method Summary |
void |
consume()
Consumes this event. |
boolean |
isConsumed()
Indicates whether this event has been consumed. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SelectionChangingEvent
public SelectionChangingEvent(java.lang.Object source,
Selection[] selections)
- Constructs the event.
-
- Parameters:
source
- The source of the event, that is, a reference to the object that fired the event.
selections
- A list of the Selection
objects for which changes were requested.
SelectionChangingEvent
public SelectionChangingEvent(java.lang.Object source,
Selection[] selections,
boolean removed)
- Constructs the event.
-
- Parameters:
source
- The source of the event, that is, a reference to the object that fired the event.
selections
- A list of the Selection
objects for which changes were requested.
removed
- Were these selections removed?
consume
public void consume()
- Consumes this event.
-
- Specified by:
consume
in interface Consumable
- Overrides:
consume
in class QueryEvent
isConsumed
public boolean isConsumed()
- Indicates whether this event has been consumed.
-
- Specified by:
isConsumed
in interface Consumable
- Overrides:
isConsumed
in class QueryEvent
-
- Returns:
true
if the event was consumed; false
if not.
Copyright © 2003, Oracle. All Rights Reserved.