com.esri.core.internal.map
Class MapTipHandler

java.lang.Object
  extended by com.esri.core.internal.map.MouseIdleAdapter
      extended by com.esri.core.internal.map.MapTipHandler
All Implemented Interfaces:
MouseListener, MouseMotionListener, EventListener

public class MapTipHandler
extends MouseIdleAdapter

MapTip handler. This class is responsible to listen to custom mouse event - onMouseIdle. On such even, a maptip is constructed and displayed.

Since:
10.1.1

Constructor Summary
MapTipHandler(Component tooltipOwner)
           
 
Method Summary
 void addMapTip(GraphicsLayer layer)
           
 void disable()
           
 void mouseClicked(MouseEvent event)
           
 void mouseMoved(MouseEvent e)
           
 void onMouseIdle(Point mouseLocation)
           
 
Methods inherited from class com.esri.core.internal.map.MouseIdleAdapter
getInitialDelay, mouseDragged, mouseEntered, mouseExited, mousePressed, mouseReleased, setInitialDelay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapTipHandler

public MapTipHandler(Component tooltipOwner)
Method Detail

addMapTip

public void addMapTip(GraphicsLayer layer)

onMouseIdle

public void onMouseIdle(Point mouseLocation)
Overrides:
onMouseIdle in class MouseIdleAdapter

mouseClicked

public void mouseClicked(MouseEvent event)
Specified by:
mouseClicked in interface MouseListener
Overrides:
mouseClicked in class MouseIdleAdapter

mouseMoved

public void mouseMoved(MouseEvent e)
Specified by:
mouseMoved in interface MouseMotionListener
Overrides:
mouseMoved in class MouseIdleAdapter

disable

public void disable()


Copyright © 2012. All Rights Reserved.