oracle.dss.dataSource.common
Class LayoutChangedEvent
java.lang.Object
|
+--java.util.EventObject
|
+--oracle.dss.dataSource.common.QueryEvent
|
+--oracle.dss.dataSource.common.LayoutEvent
|
+--oracle.dss.dataSource.common.LayoutChangedEvent
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class LayoutChangedEvent
- extends LayoutEvent
Informs listeners when the layout of the Query
object has changed. This event cannot be consumed.
- See Also:
- Serialized Form
Constructor Summary |
LayoutChangedEvent(java.lang.Object source, java.util.BitSet edges, java.lang.String[][] dimensions)
Constructor to use if the affected dimension names are available from the original call that changed the layout. |
LayoutChangedEvent(java.lang.Object source, java.util.BitSet edges, java.lang.String sourcedim, java.lang.String targetdim, java.lang.String[][] dimensions)
Constructor to use for a swap or pivot of specific dimensions. |
LayoutChangedEvent(java.lang.Object source, java.util.BitSet edges, java.lang.String sourcedim, java.lang.String targetdim, java.lang.String[][] dimensions, int flags)
Constructor to use to specify the kind of pivot. |
LayoutChangedEvent(java.lang.Object source, int sourceedge, int targetedge, java.lang.String[][] dimensions)
Constructor to use for an edge swap. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LayoutChangedEvent
public LayoutChangedEvent(java.lang.Object source,
java.util.BitSet edges,
java.lang.String[][] dimensions)
- Constructor to use if the affected dimension names are available from the original call that changed the layout.
-
- Parameters:
source
- The source of the event, that is, a reference to the object that fired the event.
edges
- A list of the dirty edges, if known. In this list, to refer to edges, use the constants DataDirector.COLUMN_EDGE
, DataDirector.PAGE_EDGE
, or DataDirector.ROW_EDGE
.
dimensions
- The names of the dimensions that were affected by the call that changed the layout. This is the same parameter that is used in the layout
method call in the Query
class.
- See Also:
DataDirector.COLUMN_EDGE
, DataDirector.PAGE_EDGE
, DataDirector.ROW_EDGE
LayoutChangedEvent
public LayoutChangedEvent(java.lang.Object source,
java.util.BitSet edges,
java.lang.String sourcedim,
java.lang.String targetdim,
java.lang.String[][] dimensions,
int flags)
- Constructor to use to specify the kind of pivot.
-
- Parameters:
source
- The source of the event, that is, a reference to the object that fired the event.
edges
- A list of the dirty edges, if known. In this list, to refer to edges, use the constants DataDirector.COLUMN_EDGE
, DataDirector.PAGE_EDGE
, or DataDirector.ROW_EDGE
.
sourcedim
- The name of the source dimension for a pivot or swap.
targetdim
- The name of the target dimension for a pivot or swap.
dimensions
- The names of the dimensions that were affected by the call that changed the layout. This is the same parameter that is used in the layout
method call in the Query
class.
flags
- A constant that indicates the type of pivot. Use either PivotConstants.PIVOT_AFTER
or PivotConstants.PIVOT_BEFORE
.
- See Also:
PivotConstants.PIVOT_AFTER
, PivotConstants.PIVOT_BEFORE
, DataDirector.COLUMN_EDGE
, DataDirector.PAGE_EDGE
, DataDirector.ROW_EDGE
LayoutChangedEvent
public LayoutChangedEvent(java.lang.Object source,
java.util.BitSet edges,
java.lang.String sourcedim,
java.lang.String targetdim,
java.lang.String[][] dimensions)
- Constructor to use for a swap or pivot of specific dimensions.
-
- Parameters:
source
- The source of the event, that is, a reference to the object that fired the event.
edges
- A list of the dirty edges, if known. In this list, to refer to edges, use the constants DataDirector.COLUMN_EDGE
, DataDiector.PAGE_EDGE
, or DataDirector.ROW_EDGE
.
sourcedim
- The name of the source dimension for a pivot or swap.
targetdim
- The name of the target dimension for a pivot or swap.
dimensions
- The names of the dimensions that were affected by the call that changed the layout. This is the same parameter that is used in the layout
method call in the Query
class.
- See Also:
DataDirector.COLUMN_EDGE
, DataDirector.PAGE_EDGE
, DataDirector.ROW_EDGE
LayoutChangedEvent
public LayoutChangedEvent(java.lang.Object source,
int sourceedge,
int targetedge,
java.lang.String[][] dimensions)
- Constructor to use for an edge swap.
-
- Parameters:
source
- The source of the event, that is, a reference to the object that fired the event.
sourceedge
- A constant (DataDirector.COLUMN_EDGE
, DataDirector.PAGE_EDGE
, or DataDirector.ROW_EDGE
) that represents the source edge for an edge swap.
targetedge
- A constant (DataDirector.COLUMN_EDGE
, DataDirector.PAGE_EDGE
, or DataDirector.ROW_EDGE
) that represents the target edge for an edge swap.
dimensions
- The names of the dimensions that were affected by the call that changed the layout. This is the same parameter that is used in the layout
method call in the Query
class.
- See Also:
DataDirector.COLUMN_EDGE
, DataDirector.PAGE_EDGE
, DataDirector.ROW_EDGE
Copyright © 2003, Oracle. All Rights Reserved.