| 
 | 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 | ||||||||
public interface ControllerActions
| Method Summary | |
|---|---|
|  boolean | canDrill(java.lang.Object source,
         int edge,
         int layer,
         int slice,
         int flags)Indicates whether a drill gesture is legal. | 
|  boolean | canPivot(java.lang.Object source,
         int fromEdge,
         int toEdge,
         int fromLayer,
         int toLayer,
         int flags)Indicates whether a pivot operation is legal. | 
|  boolean | drillGestureHappened(java.lang.Object source,
                     int edge,
                     int layer,
                     int slice,
                     int flags)Drills in data. | 
|  boolean | pageChangeHappened(java.lang.Object source,
                   int pos)Changes the current page. | 
|  boolean | pageChangeHappened(java.lang.Object source,
                   int[] hPos,
                   int maxLayerSpecified)Changes the current page. | 
|  boolean | pivotGestureHappened(java.lang.Object source,
                     int fromEdge,
                     int toEdge,
                     int fromLayer,
                     int toLayer,
                     int flags)Pivots data. | 
| Method Detail | 
|---|
boolean pivotGestureHappened(java.lang.Object source,
                             int fromEdge,
                             int toEdge,
                             int fromLayer,
                             int toLayer,
                             int flags)
                             throws EdgeOutOfRangeException,
                                    LayerOutOfRangeException,
                                    DataDirectorException
viewPivotRequesting event.
 If the event is not consumed, this method then calls the
 pivot method in the data director, to pivot the data in the
 data source.
 After the call to the data director, this method fires a
 viewPivotRequested event.
 The view calls this method when a pivot gesture is detected in the UI.
source - The source of any events that this method fires.
               The DataView passes this as
               this parameter.fromEdge - A constant that represents the edge to pivot from,
                 such as COLUMN_EDGE.
                 Edge constants are defined in the
                 DataDirector interface.toEdge - A constant that represents the edge to pivot to.fromLayer - The layer to pivot from.
                  The layer identifies the location of the dimension or
                  dimension member on the edge.
                  Zero is the outer-most dimension on the edge.toLayer - The layer to pivot to.flags - A constant that represents the type of pivot to perform,
                  such as PIVOT_SWAP or
                  PIVOT_MOVE_BEFORE. The constants are
                  defined in the DataDirector interface, and
                  they all begin with PIVOT_.
true if the data director performs the pivot,
         false if the pivot is not performed for some reason.
EdgeOutOfRangeException - If either edge parameter is too large.
LayerOutOfRangeException - If either layer parameter is negative
                or too large.
DataDirectorException - If a data provider error occurs.DataDirector
boolean canPivot(java.lang.Object source,
                 int fromEdge,
                 int toEdge,
                 int fromLayer,
                 int toLayer,
                 int flags)
                 throws EdgeOutOfRangeException,
                        LayerOutOfRangeException,
                        DataDirectorException
pivotOK method in the data director,
 to pivot the data in the data source.
 The view calls this method when a pivot gesture is detected in the UI.
source - The source of any events that this method fires.
               The DataView passes this as
               this parameter.fromEdge - A constant that represents the edge to pivot from,
                 such as COLUMN_EDGE.
                 Edge constants are defined in the
                 DataDirector interface.toEdge - A constant that represents the edge to pivot to.fromLayer - The layer to pivot from.
                  The layer identifies the location of the dimension or
                  dimension member on the edge.
                  Zero is the outer-most dimension on the edge.toLayer - The layer to pivot to.flags - A constant that represents the type of pivot to perform,
                  such as PIVOT_SWAP or
                  PIVOT_MOVE_BEFORE. The constants are
                  defined in the DataDirector interface, and
                  they all begin with PIVOT_.
true if the pivot operation is legal,
         false if not.
EdgeOutOfRangeException - If either edge parameter is too large.
LayerOutOfRangeException - If either layer parameter is negative
                or too large.
DataDirectorException - If a data provider error occurs.DataDirector
boolean drillGestureHappened(java.lang.Object source,
                             int edge,
                             int layer,
                             int slice,
                             int flags)
                             throws EdgeOutOfRangeException,
                                    LayerOutOfRangeException,
                                    SliceOutOfRangeException,
                                    DataDirectorException
source - The source of any events that this method fires.
               The DataView passes this as
               this parameter.edge - A constant that represents the edge to drill, such as
              COLUMN_EDGE. Edge constants are defined in the
              DataDirector interface.layer - The layer to drill.
                  The layer identifies the location of the dimension or
                  dimension member on the edge.
                  Zero is the outer-most layer on the edge.slice - The slice to drill. The slice is zero-based.
                   Each layer member in the innermost dimension has
                   a unique slice. In outer layers, any slice that the
                   outer layer spans can be used.flags - A constant that represents the type of drill to perform,
               such as DRILLSTATE_DRILLABLE to drill down
               in data.
               Drill constants are defined in the DataDirector
               interface. They begin with DRILLSTATE_.
true if the data director performs the drill,
         false if not.
EdgeOutOfRangeException - If edge is
                                  too large.
LayerOutOfRangeException - If layer is negative or
                                  too large.
SliceOutOfRangeException - If slice is negative or
                                  too large.
DataDirectorException - If a data provider error occurs.DataDirector
boolean canDrill(java.lang.Object source,
                 int edge,
                 int layer,
                 int slice,
                 int flags)
                 throws EdgeOutOfRangeException,
                        LayerOutOfRangeException,
                        SliceOutOfRangeException,
                        DataDirectorException
source - The source of any events that this method fires.
               The DataView passes this as
               this parameter.edge - A constant that represents the edge to drill, such as
              COLUMN_EDGE. Edge constants are defined in the
              DataDirector interface.layer - The layer to drill.
                  The layer identifies the location of the dimension or
                  dimension member on the edge.
                  Zero is the outer-most layer on the edge.slice - The slice to drill. The slice is zero-based.
                   Each layer member in the innermost layer has
                   a unique slice. In outer layers, any slice that the
                   outer layer spans can be used.flags - A constant that represents the type of drill to perform,
               such as DRILLSTATE_DRILLABLE to drill down in data.
               Drill constants are defined in the DataDirector
               interface. They begin with DRILLSTATE_.
true if the drill operation is legal,
         false if not.
EdgeOutOfRangeException - If edge is 
                                  too large.
DepthOutOfRangeException - If depth is negative or
                                  too large.
SliceOutOfRangeException - If slice is negative or
                                  too large.
DataDirectorException - If a data provider error occurs.
LayerOutOfRangeExceptionDataDirector
boolean pageChangeHappened(java.lang.Object source,
                           int pos)
                           throws SliceOutOfRangeException,
                                  DataDirectorException
source - The source of any event that this method fires.pos - A constant that represents the first page, last page, next
            page, or previous page. Constants begin with VIEW_PAGE_.
true if the page is changed,
         false if not.
SliceOutOfRangeException - If page is negative or too
                                 large.
DataDirectorException - If a data provider error occurs.
boolean pageChangeHappened(java.lang.Object source,
                           int[] hPos,
                           int maxLayerSpecified)
                           throws LayerOutOfRangeException,
                                  SliceOutOfRangeException,
                                  DataDirectorException
source - The source of any event that this method fires.hPos - An array of relative indices starting with the outermost
             layer and working in at least to maxLayerSpecified
             indicating the set of new values to give to the various layers
             that make up the target slicemaxLayerSpecified - The maximum index into hPos (layer) that the
                  call should use in making the slice change.
true if the page is changed,
         false if not.
LayerOutOfRangeException - If there are too many layers.
SliceOutOfRangeException - If page is negative or too
                                 large.
DataDirectorException - If a data provider error occurs.| 
 | 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 | ||||||||