Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


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

Constructor Summary
SelectionChangingEvent(java.lang.Object source, Selection[] selections)
          Constructs the event.
SelectionChangingEvent(java.lang.Object source, Selection[] selections, boolean removed)
          Constructs the event.

 

Method Summary
 void consume()
          Consumes this event.
 boolean isConsumed()
          Indicates whether this event has been consumed.

 

Methods inherited from class oracle.dss.dataSource.common.SelectionEvent
getSelections

 

Methods inherited from class oracle.dss.dataSource.common.QueryEvent
clone

 

Methods inherited from class java.util.EventObject
getSource, toString

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

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?
Method Detail

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.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.