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


oracle.dss.dataView
Class PivotEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--oracle.dss.dataView.DataviewEvent
              |
              +--oracle.dss.dataView.PivotEvent
All Implemented Interfaces:
java.io.Serializable

public class PivotEvent
extends DataviewEvent

The event describing a pivot from the Dataview.

See Also:
Serialized Form

Constructor Summary
PivotEvent(java.lang.Object source, int fromEdge, int toEdge)
          Class constructor.
PivotEvent(java.lang.Object source, int fromEdge, int toEdge, int fromLayer, int toLayer, int _flags)
          Class constructor.

 

Method Summary
 int getFromDimension()
          Get the from dimension.
 int getFromEdge()
          Get the from edge.
 int getToDimension()
          Get the to dimension.
 int getToEdge()
          Get the to edge.
 boolean isDimensionSwap()
          Is this a dimension swap?
 boolean isEdgeSwap()
          Is this an edge swap?
 boolean isMoveAfter()
          Is this a dimension move after?
 boolean isMoveBefore()
          Is this a dimension move before?

 

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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

PivotEvent

public PivotEvent(java.lang.Object source,
                  int fromEdge,
                  int toEdge,
                  int fromLayer,
                  int toLayer,
                  int _flags)
Class constructor.
Parameters:
source - the event source
fromEdge - the edge pivoting from
toEdge - the edge pivoting to
fromLayer - the layer (dimension) pivoting from
toLayer - the layer (dimension) pivoting to
_flags - enumerated flag value indicating the type of pivot (move before, move after, swap, edge)

PivotEvent

public PivotEvent(java.lang.Object source,
                  int fromEdge,
                  int toEdge)
Class constructor.
Parameters:
source - the event source
fromEdge - the edge pivoting from
toEdge - the edge pivoting to
Method Detail

getFromEdge

public int getFromEdge()
Get the from edge.
Returns:
edge pivoting from.

getToEdge

public int getToEdge()
Get the to edge.
Returns:
edge pivoting to

getFromDimension

public int getFromDimension()
Get the from dimension.
Returns:
dimension being pivoted (-1 if edge swap)

getToDimension

public int getToDimension()
Get the to dimension.
Returns:
dimension being pivoted to (-1 if edge swap)

isEdgeSwap

public boolean isEdgeSwap()
Is this an edge swap?
Returns:
true if edge swap

isDimensionSwap

public boolean isDimensionSwap()
Is this a dimension swap?
Returns:
true if dimension swap (as opposed to an edge swap)

isMoveAfter

public boolean isMoveAfter()
Is this a dimension move after?
Returns:
true if dimension move after

isMoveBefore

public boolean isMoveBefore()
Is this a dimension move before?
Returns:
true if dimension move before

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


Copyright © 2003, Oracle. All Rights Reserved.