oracle.dss.dataSource.common
Class StateChangedEvent
java.lang.Object
|
+--java.util.EventObject
|
+--oracle.dss.dataSource.common.QueryEvent
|
+--oracle.dss.dataSource.common.StateChangeEvent
|
+--oracle.dss.dataSource.common.StateChangedEvent
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class StateChangedEvent
- extends StateChangeEvent
Informs listeners that the state of a Query
object has been changed.
- See Also:
- Serialized Form
Constructor Summary |
StateChangedEvent(java.lang.Object source, int e, AbstractMap m, int t)
Constructs the event with maps for a change on a specific edge of the query. |
StateChangedEvent(java.lang.Object source, op, int type)
Constructs the event for a specific operation. |
StateChangedEvent(java.lang.Object source, java.lang.String d, AbstractMap m, int t)
Constructs the event with maps for a change in one or more dimensions. |
StateChangedEvent(java.lang.Object source, java.lang.String d, Selection s)
Constructs the event with a selection. |
Method Summary |
java.lang.String |
toString()
Generates a String representation of this object. |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StateChangedEvent
public StateChangedEvent(java.lang.Object source,
op,
int type)
- Constructs the event for a specific operation.
-
- Parameters:
source
- Source of the event, that is, a reference to the object that fired the event.
op
- An Operation
object.
type
- A constant (StateChangeEvent.UNDO
, StateChangeEvent.REDO
, or StateChangeEvent.STATE
) that represents the type of state change for the query.
- See Also:
StateChangeEvent.REDO
, StateChangeEvent.STATE
, StateChangeEvent.UNDO
StateChangedEvent
public StateChangedEvent(java.lang.Object source,
java.lang.String d,
AbstractMap m,
int t)
- Constructs the event with maps for a change in one or more dimensions.
-
- Parameters:
source
- Source of the event, that is, a reference to the object that fired the event.
d
- The name of the dimension of the map that is involved; null
means all dimensions.
m
- The map that results from the change.
t
- A constant (StateChangeEvent.DATA_MAP
or StateChangeEvent.METADATA_MAP
) that represents the type of map state change for the query.
- See Also:
StateChangeEvent.DATA_MAP
, StateChangeEvent.METADATA_MAP
StateChangedEvent
public StateChangedEvent(java.lang.Object source,
int e,
AbstractMap m,
int t)
- Constructs the event with maps for a change on a specific edge of the query.
-
- Parameters:
source
- Source of the event, that is, a reference to the object that fired the event.
e
- A constant (such as DataDirector.ROW_EDGE
) that represents the edge of the map that has changed.
m
- The Map
object that will be applied or set.
t
- A constant (StateChangeEvent.DATA_MAP
, or StateChangeEvent.METADATA_MAP
) that indicates the type of map state change to the query.
- See Also:
StateChangeEvent.DATA_MAP
, StateChangeEvent.METADATA_MAP
, DataDirector.COLUMN_EDGE
, DataDirector.PAGE_EDGE
, DataDirector.ROW_EDGE
StateChangedEvent
public StateChangedEvent(java.lang.Object source,
java.lang.String d,
Selection s)
- Constructs the event with a selection.
-
- Parameters:
source
- Source of the event, that is, a reference to the object that fired the event.
d
- The name of the dimension of the universe selection that is involved in the query change.
s
- The Selection
object to be used after the change.
toString
public java.lang.String toString()
- Generates a
String
representation of this object.
-
- Overrides:
toString
in class QueryEvent
Copyright © 2003, Oracle. All Rights Reserved.