|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--oracle.dss.util.gui.layout.LayoutPivotingEvent
Information about an impending pivot operation to a LayoutAccess
. The layout panels send this event to all registered LayoutPivotingListener
implementations before the pivoting occurs in the Layout panel. The listeners can consume the event, thus stopping the pivot change.
LayoutPivotingListener
, Layout
, LayoutAccess
, Serialized FormConstructor Summary | |
LayoutPivotingEvent(java.lang.Object source, int fromEdge, int toEdge, int fromLayer, int toLayer, boolean isSwap) Constructor. |
Method Summary | |
void |
consume() Consumes the event. |
int |
getDestinationEdge() Retrieves the edge to which the pivot will occur. |
int |
getDestinationLayer() Retrieves the layer that is being pivoted, on the destination edge. |
int |
getSourceEdge() Retrieves the edge from which the pivot will occur. |
int |
getSourceLayer() Retrieves the layer that is being pivoted, on the source edge. |
boolean |
isConsumed() Indicates whether the event was consumed by any registered LayoutPivotListener . |
boolean |
isSwap() Indicates whether the pivot is a swap or a move. |
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 |
public LayoutPivotingEvent(java.lang.Object source, int fromEdge, int toEdge, int fromLayer, int toLayer, boolean isSwap)
fromEdge
- A constant that indicates the edge from which a layer will be pivoted. Valid constants end with _EDGE
in oracle.dss.util.DataDirector
interface.toEdge
- A constant that indicates the edge to which a layer will be pivoted. Valid constants end with _EDGE
in oracle.dss.util.DataDirector
interface.fromLayer
- The zero-based index of the physical layer on the fromEdge
that should be pivoted or swapped. The outermost layer on the edge is 0. Note that a Table object will report columns as its layers.toLayer
- The zero-based index of the physical layer on the toEdge
that should be pivoted or swapped. The outermost layer on the edge is 0. Note that a Table object reports columns as its layers.isSwap
- Indicates whether pivot is a swap or a move.DataDirector.COLUMN_EDGE
, DataDirector.ROW_EDGE
, DataDirector.PAGE_EDGE
, DataDirector.DATA_ELEMENT_EDGE
Method Detail |
public int getSourceEdge()
DataDirector.COLUMN_EDGE
, DataDirector.ROW_EDGE
, DataDirector.PAGE_EDGE
, DataDirector.DATA_ELEMENT_EDGE
public int getDestinationEdge()
DataDirector.COLUMN_EDGE
, DataDirector.ROW_EDGE
, DataDirector.PAGE_EDGE
, DataDirector.DATA_ELEMENT_EDGE
public int getSourceLayer()
fromEdge
that should be pivoted or swapped. The outermost layer on the edge is 0. A TableLayout
reports columns as its layers.public int getDestinationLayer()
toEdge
that should be pivoted or swapped. The outermost layer on the edge is 0. A TableLayout
reports columns as its layers.public boolean isSwap()
true
if the pivot is a swap, false
if a member or dimension is being moved.public void consume()
public boolean isConsumed()
LayoutPivotListener
.true
if the event was consumed, false
if the pivot will take place.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |