com.esri.map
Class MapEventMulticaster

java.lang.Object
  extended by java.awt.AWTEventMulticaster
      extended by com.esri.map.MapEventMulticaster
All Implemented Interfaces:
MapEventListener, ActionListener, AdjustmentListener, ComponentListener, ContainerListener, FocusListener, HierarchyBoundsListener, HierarchyListener, InputMethodListener, ItemListener, KeyListener, MouseListener, MouseMotionListener, MouseWheelListener, TextListener, WindowFocusListener, WindowListener, WindowStateListener, EventListener

public class MapEventMulticaster
extends AWTEventMulticaster
implements MapEventListener

The Class MapEventMulticaster.


Field Summary
 
Fields inherited from class java.awt.AWTEventMulticaster
a, b
 
Constructor Summary
protected MapEventMulticaster(EventListener a, EventListener b)
          Instantiates a new map event multicaster.
 
Method Summary
static MapEventListener add(MapEventListener a, MapEventListener b)
          Adds listeners for MapEvent.
protected static EventListener addInternal(EventListener a, EventListener b)
          Adds the listener.
 void mapDispose(MapEvent event)
          Fired just before the resources of JMap are disposed.
 void mapExtentChanged(MapEvent event)
           
 void mapReady(MapEvent event)
           
protected  EventListener remove(EventListener oldListener)
           
static MapEventListener remove(MapEventListener listener, MapEventListener oldListener)
          Removes listeners for MapEvent.
 
Methods inherited from class java.awt.AWTEventMulticaster
actionPerformed, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, adjustmentValueChanged, ancestorMoved, ancestorResized, caretPositionChanged, componentAdded, componentHidden, componentMoved, componentRemoved, componentResized, componentShown, focusGained, focusLost, getListeners, hierarchyChanged, inputMethodTextChanged, itemStateChanged, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, removeInternal, save, saveInternal, textValueChanged, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapEventMulticaster

protected MapEventMulticaster(EventListener a,
                              EventListener b)
Instantiates a new map event multicaster.

Parameters:
a - the a
b - the b
Method Detail

add

public static MapEventListener add(MapEventListener a,
                                   MapEventListener b)
Adds listeners for MapEvent.

Parameters:
a - the a
b - the b
Returns:
the map event listener

remove

public static MapEventListener remove(MapEventListener listener,
                                      MapEventListener oldListener)
Removes listeners for MapEvent.

Parameters:
listener - the listener
oldListener - the old listener
Returns:
the map event listener

mapReady

public void mapReady(MapEvent event)
Specified by:
mapReady in interface MapEventListener

mapDispose

public void mapDispose(MapEvent event)
Description copied from interface: MapEventListener
Fired just before the resources of JMap are disposed.

Specified by:
mapDispose in interface MapEventListener
Parameters:
event - the event indicating map disposal.

mapExtentChanged

public void mapExtentChanged(MapEvent event)
Specified by:
mapExtentChanged in interface MapEventListener

addInternal

protected static EventListener addInternal(EventListener a,
                                           EventListener b)
Adds the listener.

Parameters:
a - the a
b - the b
Returns:
the event listener

remove

protected EventListener remove(EventListener oldListener)
Overrides:
remove in class AWTEventMulticaster


Copyright © 2012. All Rights Reserved.