|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.4.0) E12063-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
oracle.dss.dataView.DataviewEvent
oracle.dss.dataView.PivotEvent
public class PivotEvent
The event that describes a pivot from the Dataview.
This event also describes reorders in Crosstab measures
and in the Table column header.
| Field Summary | |
|---|---|
static int |
TYPE_PIVOT
PivotType: Pivot. |
static int |
TYPE_REORDER
PivotType: Reorder. |
| Fields inherited from class oracle.dss.dataView.DataviewEvent |
|---|
consumed |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
PivotEvent(java.lang.Object source,
int fromEdge,
int toEdge)
Constructor for an edge swap. |
|
PivotEvent(java.lang.Object source,
int fromEdge,
int toEdge,
int fromLayer,
int toLayer,
int _flags)
Constructor. |
|
PivotEvent(java.lang.Object source,
int fromEdge,
int toEdge,
int fromLayer,
int toLayer,
int fromSlice,
int toSlice,
int _flags,
int pivotType)
|
|
| Method Summary | |
|---|---|
int |
getFromDimension()
Retrieves the from dimension. |
int |
getFromEdge()
Retrieves the from edge. |
int |
getFromSlice()
Retrieves the from slice. |
int |
getPivotType()
Retrieves the type (pivot or reorder) of this pivot event. |
int |
getToDimension()
Retrieves the to dimension. |
int |
getToEdge()
Retrieves the to edge. |
int |
getToSlice()
Retrieves the to slice. |
boolean |
isDimensionSwap()
Indicates whether dimensions (layers) are being swapped. |
boolean |
isEdgeSwap()
Indicates whether edges are being swapped. |
boolean |
isMoveAfter()
Indicates whether a dimension or item is being moved after another. |
boolean |
isMoveBefore()
Indicates whether a dimension or item is being moved before another. |
| Methods inherited from class oracle.dss.dataView.DataviewEvent |
|---|
consume, isConsumed |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_PIVOT
public static final int TYPE_REORDER
Crosstab measure reordering and
Table column reordering.
| Constructor Detail |
|---|
public PivotEvent(java.lang.Object source,
int fromEdge,
int toEdge,
int fromLayer,
int toLayer,
int _flags)
source - The source of the event.fromEdge - The edge from which an item is being pivoted.toEdge - The edge to which an item is being pivoted.fromLayer - The layer (dimension) from which an item is being pivoted.toLayer - the layer (dimension) to which an item is being pivoted._flags - A constant that identifies the nature of the pivot action.
Valid constants are listed
in the See Also section.DataDirector.PIVOT_MOVE_AFTER,
DataDirector.PIVOT_MOVE_BEFORE,
DataDirector.PIVOT_MOVE_TO,
DataDirector.PIVOT_SWAP,
DataDirector.PIVOT_EDGES
public PivotEvent(java.lang.Object source,
int fromEdge,
int toEdge)
DataDirector.PIVOT_EDGES.
source - The source of the event.fromEdge - The first edge.toEdge - The edge to swap with fromEdge.DataDirector.PIVOT_EDGES
public PivotEvent(java.lang.Object source,
int fromEdge,
int toEdge,
int fromLayer,
int toLayer,
int fromSlice,
int toSlice,
int _flags,
int pivotType)
source - the event sourcefromEdge - the edge pivoting fromtoEdge - the edge pivoting tofromLayer - the layer (dimension) pivoting fromtoLayer - the layer (dimension) pivoting tofromSlice - the slice reordering fromtoLayer - the slice reordering to_flags - enumerated flag value indicating the type of
pivot (move before, move after, swap, edge)pivotType - indicates if this is a pivot or a reorderTYPE_PIVOT,
TYPE_REORDER| Method Detail |
|---|
public int getFromEdge()
public int getToEdge()
public int getFromDimension()
public int getToDimension()
public int getFromSlice()
getPivotType()public int getToSlice()
getPivotType()public boolean isEdgeSwap()
true if the nature of the pivot is DataDirector.PIVOT_EDGES,
false if it is not.DataDirector.PIVOT_EDGESpublic boolean isDimensionSwap()
true if the nature of the pivot is DataDirector.PIVOT_SWAP,
false if it is not.DataDirector.PIVOT_SWAPpublic boolean isMoveAfter()
true if the nature of the pivot is
DataDirector.PIVOT_MOVE_AFTER,
false if it is not.DataDirector.PIVOT_MOVE_AFTERpublic boolean isMoveBefore()
true if the nature of the pivot is
DataDirector.PIVOT_MOVE_BEFORE,
false if it is not.DataDirector.PIVOT_MOVE_BEFOREpublic int getPivotType()
TYPE_PIVOT.
TYPE_REORDER for Crosstab measure
reordering and Table column reordering,
otherwise TYPE_PIVOT.TYPE_PIVOT,
TYPE_REORDER
|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.4.0) E12063-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||