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

E12063-05

oracle.dss.graph
Class GraphEventHandler

java.lang.Object
  extended by oracle.dss.graph.GraphEventHandler

public class GraphEventHandler
extends java.lang.Object

Event Handler to support Graph interactivity (such as Zoom and Scroll) without the ADF Faces layer.

Since:
release specific (what release of product did this appear in)

Constructor Summary
GraphEventHandler()
           
 
Method Summary
static void handleDataScroll(CommonGraph graph, java.lang.String axis, java.lang.String count, java.lang.String start, java.lang.String span, java.lang.String type)
          Handle a data scroll event.
static void handleDataZoomIn(CommonGraph graph, int x, int y, int width, int height)
          Handle a data zoom in event.
static void handleDataZoomInIncr(CommonGraph graph, int x, int y)
          Handle a data zoom in event.
static void handleDataZoomInIncr(CommonGraph graph, java.lang.String axis)
          Handle an incremental data zoom in event on an axis.
static void handleDataZoomOut(CommonGraph graph, int x, int y, int width, int height)
          Handle a data zoom out event.
static void handleDataZoomOutIncr(CommonGraph graph, int x, int y)
          Handle a data zoom out event.
static void handleDataZoomOutIncr(CommonGraph graph, java.lang.String axis)
          Handle an incremental data zoom out event on an axis.
static void handleHideShowSeriesEvent(CommonGraph graph, int series, int visibility)
          Handle a hide and show series event.
static void handleLineSelectPoint(CommonGraph graph, int x, int y)
           
static void handleTimeSelectorEvent(CommonGraph graph, long startTime, long endTime)
          Handle a time selector event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphEventHandler

public GraphEventHandler()
Method Detail

handleDataScroll

public static void handleDataScroll(CommonGraph graph,
                                    java.lang.String axis,
                                    java.lang.String count,
                                    java.lang.String start,
                                    java.lang.String span,
                                    java.lang.String type)
Handle a data scroll event.

Parameters:
graph - CommonGraph to configure
axis - axis being scrolled
count - total scroll span
start - scroll position
span - scroll thumb span

handleDataZoomIn

public static void handleDataZoomIn(CommonGraph graph,
                                    int x,
                                    int y,
                                    int width,
                                    int height)
Handle a data zoom in event.

Parameters:
graph - CommonGraph to configure
x - x coordinate of zoom rect
y - y coordinate of zoom rect
width - width of zoom rect
height - height of zoom rect

handleDataZoomOut

public static void handleDataZoomOut(CommonGraph graph,
                                     int x,
                                     int y,
                                     int width,
                                     int height)
Handle a data zoom out event.

Parameters:
graph - CommonGraph to configure
x - x coordinate of zoom rect
y - y coordinate of zoom rect
width - width of zoom rect
height - height of zoom rect

handleDataZoomInIncr

public static void handleDataZoomInIncr(CommonGraph graph,
                                        int x,
                                        int y)
Handle a data zoom in event.

Parameters:
graph - CommonGraph to configure
x - x coordinate of zoom
y - y coordinate of zoom

handleLineSelectPoint

public static void handleLineSelectPoint(CommonGraph graph,
                                         int x,
                                         int y)

handleDataZoomOutIncr

public static void handleDataZoomOutIncr(CommonGraph graph,
                                         int x,
                                         int y)
Handle a data zoom out event.

Parameters:
graph - CommonGraph to configure
x - x coordinate of zoom
y - y coordinate of zoom

handleDataZoomInIncr

public static void handleDataZoomInIncr(CommonGraph graph,
                                        java.lang.String axis)
Handle an incremental data zoom in event on an axis.

Parameters:
graph - CommonGraph to configure
axis - axis being zoomed

handleDataZoomOutIncr

public static void handleDataZoomOutIncr(CommonGraph graph,
                                         java.lang.String axis)
Handle an incremental data zoom out event on an axis.

Parameters:
graph - CommonGraph to configure
axis - axis being zoomed

handleTimeSelectorEvent

public static void handleTimeSelectorEvent(CommonGraph graph,
                                           long startTime,
                                           long endTime)
Handle a time selector event.

Parameters:
graph - CommonGraph to configure
startTime - start of time selector
endTime - end of time selector

handleHideShowSeriesEvent

public static void handleHideShowSeriesEvent(CommonGraph graph,
                                             int series,
                                             int visibility)
Handle a hide and show series event.

Parameters:
graph - CommonGraph to configure
series - Series to toggle
visibility - Visible status for the series

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

E12063-05

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