Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components
11g Release 1 (11.1.1.1.0)

E12063-02

oracle.adf.view.faces.bi.event
Class ZoomAndScrollEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.faces.event.FacesEvent
          extended by oracle.adf.view.faces.bi.event.ZoomAndScrollEvent
All Implemented Interfaces:
java.io.Serializable

public class ZoomAndScrollEvent
extends javax.faces.event.FacesEvent

Event fired for SVG Zoom and Scroll when the user clicks and selects portion of plot area to zoom.

Since:
release specific (what release of product did this appear in)
See Also:
Serialized Form

Field Summary
static int O1AXIS
          The O1Axis component.
static int SCROLL
          Event type : Scroll
static int X1AXIS
          The X1Axis component.
static int Y1AXIS
          The Y1Axis component.
static int Y2AXIS
          The Y2Axis component.
static int ZOOM
          Event type : ZOOM
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ZoomAndScrollEvent(javax.faces.component.UIComponent component, int eventType, java.util.HashMap axisMin, java.util.HashMap axisMax, java.lang.Integer o1StartGroup, java.lang.Integer o1GroupCount, java.lang.Object o1StartGroupLabel, java.lang.Object o1EndGroupLabel)
           
 
Method Summary
 java.lang.Object getAxisEndGroupLabel(int axisID)
          Returns the label for the ordinal axis endGroup.
 java.lang.Integer getAxisGroupCount(int axisID)
          return the oridinal axis Group count
 java.lang.Double getAxisMax(int axisID)
          return the axis max value
 java.lang.Double getAxisMin(int axisID)
          return the axis min value
 java.lang.Integer getAxisStartGroup(int axisID)
          return the oridinal axis startGroup
 java.lang.Object getAxisStartGroupLabel(int axisID)
          Returns the label for the ordinal axis startGroup.
 int getEventType()
          returns the event type either Scroll or Zoom
 boolean isAppropriateListener(javax.faces.event.FacesListener listener)
           
 void processListener(javax.faces.event.FacesListener listener)
           
 
Methods inherited from class javax.faces.event.FacesEvent
getComponent, getPhaseId, queue, setPhaseId
 
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

O1AXIS

public static final int O1AXIS
The O1Axis component.

See Also:
Constant Field Values

X1AXIS

public static final int X1AXIS
The X1Axis component.

See Also:
Constant Field Values

Y1AXIS

public static final int Y1AXIS
The Y1Axis component.

See Also:
Constant Field Values

Y2AXIS

public static final int Y2AXIS
The Y2Axis component.

See Also:
Constant Field Values

SCROLL

public static final int SCROLL
Event type : Scroll

See Also:
Constant Field Values

ZOOM

public static final int ZOOM
Event type : ZOOM

See Also:
Constant Field Values
Constructor Detail

ZoomAndScrollEvent

public ZoomAndScrollEvent(javax.faces.component.UIComponent component,
                          int eventType,
                          java.util.HashMap axisMin,
                          java.util.HashMap axisMax,
                          java.lang.Integer o1StartGroup,
                          java.lang.Integer o1GroupCount,
                          java.lang.Object o1StartGroupLabel,
                          java.lang.Object o1EndGroupLabel)
Method Detail

isAppropriateListener

public boolean isAppropriateListener(javax.faces.event.FacesListener listener)
Specified by:
isAppropriateListener in class javax.faces.event.FacesEvent

processListener

public void processListener(javax.faces.event.FacesListener listener)
Specified by:
processListener in class javax.faces.event.FacesEvent

getAxisMin

public java.lang.Double getAxisMin(int axisID)
return the axis min value

Parameters:
axisID - axis for which the minimum value is requested
Returns:
the new minumum value of the specified data Axis after the zooming or scrolling has occured

getAxisMax

public java.lang.Double getAxisMax(int axisID)
return the axis max value

Parameters:
axisID - axis for which the maximum value is requested
Returns:
the new maximum value of the specified data Axis after the zooming or scrolling has occured

getAxisStartGroup

public java.lang.Integer getAxisStartGroup(int axisID)
return the oridinal axis startGroup

Parameters:
axisID - axis for which the startGroup is requested
Returns:
the new start group value of the specified Axis after the zooming or scrolling has occured

getAxisGroupCount

public java.lang.Integer getAxisGroupCount(int axisID)
return the oridinal axis Group count

Parameters:
axisID - axis for which the Group count is requested
Returns:
the new group count value of the specified Axis after the zooming or scrolling has occured

getAxisStartGroupLabel

public java.lang.Object getAxisStartGroupLabel(int axisID)
Returns the label for the ordinal axis startGroup. Note that other axes are not supported at this time.

Parameters:
axisID - axis for which the startGroup is requested
Returns:
the Object which is the label for the startGroup of the specified axis.

getAxisEndGroupLabel

public java.lang.Object getAxisEndGroupLabel(int axisID)
Returns the label for the ordinal axis endGroup. Note that other axes are not supported at this time.

Parameters:
axisID - axis for which the endGroup is requested
Returns:
the Object which is the label for the endGroup of the specified axis.

getEventType

public int getEventType()
returns the event type either Scroll or Zoom


Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components
11g Release 1 (11.1.1.1.0)

E12063-02

Copyright © 1997, 2009, Oracle. All rights reserved.