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

E36392-01

oracle.adfmf.amx.event
Class MapBoundsChangeEvent

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

public class MapBoundsChangeEvent
extends AMXEvent

Event that is generated when a map view properties in DVT geographicMap change. The event is passed to the method bound to the component's 'mapBoundsChangeListener' attribute. Event properties include the minX/minY/maxX/maxY and centeX/Y coordinates of the map view, and and the current zoom level.


Constructor Summary
MapBoundsChangeEvent()
          Creates a new MapBoundsChangeEvent
MapBoundsChangeEvent(Object minX, Object minY, Object maxX, Object maxY, Object centerX, Object centerY, int zoomLevel)
          Creates a new MapBoundsChangeEvent with current map view properties.
 
Method Summary
 Object getCenterX()
          Returns the x coordinate (longitude) of map center.
 Object getCenterY()
          Returns the y coordinate (latitude) of map center.
 Object getMaxX()
          Returns the x coordinate (longitude) of maximum map bounds.
 Object getMaxY()
          Returns the y coordinate (latitude) of maximum map bounds.
 Object getMinX()
          Returns the x coordinate (longitude) of minimum map bounds.
 Object getMinY()
          Returns the y coordinate (latitude) of minimum map bounds.
 int getZoomLevel()
          Returns the zoom level.
 void setCenterX(Object centerX)
          Sets the x coordinate (longitude) of map center.
 void setCenterY(Object centerY)
          Sets the y coordinate (latitude) of map center.
 void setMaxX(Object maxX)
          Sets the x coordinate (longitude) of maximum map bounds.
 void setMaxY(Object maxY)
          Sets the y coordinate (latitude) of maximum map bounds.
 void setMinX(Object minX)
          Sets the x coordinate (longitude) of minimum map bounds.
 void setMinY(Object minY)
          Sets the y coordinate (latitude) of minimum map bounds.
 void setZoomLevel(int zoomLevel)
          Sets the zoom level.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapBoundsChangeEvent

public MapBoundsChangeEvent()
Creates a new MapBoundsChangeEvent


MapBoundsChangeEvent

public MapBoundsChangeEvent(Object minX,
                            Object minY,
                            Object maxX,
                            Object maxY,
                            Object centerX,
                            Object centerY,
                            int zoomLevel)
Creates a new MapBoundsChangeEvent with current map view properties. The method is supposed to be used by the AMX framework and is not meant to be invoked from the application code.

Parameters:
minX - x coordinate (longitude) of minimum map bounds
minY - y coordinate (latitude) of minimum map bounds
maxX - x coordinate (longitude) of maximum map bounds
maxY - y coordinate (latitude) of maximum map bounds
centerX - x coordinate (longitude) of the map center
centerY - y coordinate (latitude) of the map center
zoomLevel - current zoom level
Method Detail

setMinX

public void setMinX(Object minX)
Sets the x coordinate (longitude) of minimum map bounds.

Parameters:
minX - x coordinate

getMinX

public Object getMinX()
Returns the x coordinate (longitude) of minimum map bounds.


setMinY

public void setMinY(Object minY)
Sets the y coordinate (latitude) of minimum map bounds.

Parameters:
minY - y coordinate

getMinY

public Object getMinY()
Returns the y coordinate (latitude) of minimum map bounds.


setMaxX

public void setMaxX(Object maxX)
Sets the x coordinate (longitude) of maximum map bounds.

Parameters:
maxX - x coordinate

getMaxX

public Object getMaxX()
Returns the x coordinate (longitude) of maximum map bounds.


setMaxY

public void setMaxY(Object maxY)
Sets the y coordinate (latitude) of maximum map bounds.

Parameters:
maxY - y coordinate

getMaxY

public Object getMaxY()
Returns the y coordinate (latitude) of maximum map bounds.


setCenterX

public void setCenterX(Object centerX)
Sets the x coordinate (longitude) of map center.

Parameters:
centerX - center x coordinate

getCenterX

public Object getCenterX()
Returns the x coordinate (longitude) of map center.


setCenterY

public void setCenterY(Object centerY)
Sets the y coordinate (latitude) of map center.

Parameters:
centerY - center y coordinate

getCenterY

public Object getCenterY()
Returns the y coordinate (latitude) of map center.


setZoomLevel

public void setZoomLevel(int zoomLevel)
Sets the zoom level.

Parameters:
zoomLevel - zoom level

getZoomLevel

public int getZoomLevel()
Returns the zoom level.


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

E36392-01

Copyright © 2014 Oracle. All Rights Reserved.