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

E36392-01

oracle.adfmf.amx.event
Class MapInputEvent

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

public class MapInputEvent
extends AMXEvent

Event that is generated when an input (mouse or touch) gesture occurs in DVT geographicMap. The event is passed to the method bound to the component's 'mapInputListener' attribute. Event properties include the x/y coordinates of the point where the gesture occurred and the type of the event.


Constructor Summary
MapInputEvent()
          Creates a new MapInputEvent
MapInputEvent(String type, Object pointX, Object pointY)
          Creates a new MapInputEvent with point location info.
 
Method Summary
 Object getPointX()
          Returns the x coordinate of the point.
 Object getPointY()
          Returns the y coordinate of the point.
 String getType()
          Returns the type of the event.
 void setPointX(Object pointX)
          Sets the x coordinate of the point.
 void setPointY(Object pointY)
          Sets the y coordinate of the point.
 void setType(String type)
          Sets the type of the event.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapInputEvent

public MapInputEvent()
Creates a new MapInputEvent


MapInputEvent

public MapInputEvent(String type,
                     Object pointX,
                     Object pointY)
Creates a new MapInputEvent with point location info. The method is supposed to be used by the AMX framework and is not meant to be invoked from the application code.

Parameters:
type - event type
pointX - x coordinate of the event point
pointY - y coordinate of the event point
Method Detail

setType

public void setType(String type)
Sets the type of the event.

Parameters:
type - type name

getType

public String getType()
Returns the type of the event.


setPointX

public void setPointX(Object pointX)
Sets the x coordinate of the point.

Parameters:
pointX - x coordinate

getPointX

public Object getPointX()
Returns the x coordinate of the point.


setPointY

public void setPointY(Object pointY)
Sets the y coordinate of the point.

Parameters:
pointY - y coordinate

getPointY

public Object getPointY()
Returns the y coordinate of the point.


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

E36392-01

Copyright © 2014 Oracle. All Rights Reserved.