Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework
2.0.0.0.0

E36392-01

oracle.adfmf.amx.event
Class ViewportChangeEvent

Object
  extended by oracle.adfmf.amx.event.AMXEvent
      extended by oracle.adfmf.amx.event.ViewportChangeEvent

public class ViewportChangeEvent
extends AMXEvent

Event that is generated when a DVT mobile chart is zoomed or scrolled. The event is passed to the method bound to the chart's 'viewportChangeListener' attribute. The event properties specify the currently visible area of the chart.


Constructor Summary
ViewportChangeEvent()
          Creates a new ViewportChangeEvent
ViewportChangeEvent(Object xMin, Object xMax, Object startGroup, Object endGroup, Object yMin, Object yMax)
          Creates a new ViewportChangeEvent with info on currently visible viewport.
 
Method Summary
 Object getEndGroup()
          Returns the last visible group
 Object getStartGroup()
          Returns the first visible group
 Object getXMax()
          Returns the maximum x coordinate
 Object getXMin()
          Returns the minimum x coordinate
 Object getYMax()
          Returns the maximum y coordinate
 Object getYMin()
          Returns the minimum y coordinate
 void setEndGroup(Object endGroup)
          Sets the last visible group
 void setStartGroup(Object startGroup)
          Sets the first visible group
 void setXMax(Object xMax)
          Sets the maximum x coordinate
 void setXMin(Object xMin)
          Sets the minimum x coordinate
 void setYMax(Object yMax)
          Sets the maximum y coordinate
 void setYMin(Object yMin)
          Sets the minimum y coordinate
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewportChangeEvent

public ViewportChangeEvent()
Creates a new ViewportChangeEvent


ViewportChangeEvent

public ViewportChangeEvent(Object xMin,
                           Object xMax,
                           Object startGroup,
                           Object endGroup,
                           Object yMin,
                           Object yMax)
Creates a new ViewportChangeEvent with info on currently visible viewport. The method is supposed to be used by the AMX framework and is not meant to be invoked from the application code.

Parameters:
xMin - minimum x coordinate
xMax - maximum x coordinate
yMin - minimum y coordinate
yMax - maximum y coordinate
startGroup - first visible group
endGroup - last visible group
Method Detail

setXMin

public void setXMin(Object xMin)
Sets the minimum x coordinate

Parameters:
xMin - minimum x coordinate

getXMin

public Object getXMin()
Returns the minimum x coordinate


setXMax

public void setXMax(Object xMax)
Sets the maximum x coordinate

Parameters:
xMax - maximum x coordinate

getXMax

public Object getXMax()
Returns the maximum x coordinate


setYMin

public void setYMin(Object yMin)
Sets the minimum y coordinate

Parameters:
yMin - minimum y coordinate

getYMin

public Object getYMin()
Returns the minimum y coordinate


setYMax

public void setYMax(Object yMax)
Sets the maximum y coordinate

Parameters:
yMax - maximum y coordinate

getYMax

public Object getYMax()
Returns the maximum y coordinate


setStartGroup

public void setStartGroup(Object startGroup)
Sets the first visible group

Parameters:
startGroup - the first visible group

getStartGroup

public Object getStartGroup()
Returns the first visible group


setEndGroup

public void setEndGroup(Object endGroup)
Sets the last visible group

Parameters:
endGroup - the last visible group

getEndGroup

public Object getEndGroup()
Returns the last visible group


Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework
2.0.0.0.0

E36392-01

Copyright © 2014 Oracle. All Rights Reserved.