|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdip.gui.map.DOMUIEventListener
Handles DOM UI Events, and dispatches the events (after some decoding) to the DOMUIEventHandler that is set.
Currently this handles Mouse and Key events in the MapPanel.
Field Summary | |
static short |
BUTTON_LEFT
Left mouse button |
static short |
BUTTON_MIDDLE
Middle mouse button |
static short |
BUTTON_RIGHT
Right mouse button |
Constructor Summary | |
DOMUIEventListener()
Create a DOMUIEventListener |
Method Summary | |
void |
handleEvent(org.w3c.dom.events.Event evt)
Handle Events; this method dispatches events to the appropriate DOMUIEventHandler methods. |
void |
setDOMUIEventHandler(DOMUIEventHandler handler)
Define the (single) object that will receive DOM UI events. |
void |
setMapRenderer(MapRenderer2 mr)
Set the MapRenderer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final short BUTTON_LEFT
public static final short BUTTON_RIGHT
public static final short BUTTON_MIDDLE
Constructor Detail |
public DOMUIEventListener()
Method Detail |
public void setMapRenderer(MapRenderer2 mr)
public void setDOMUIEventHandler(DOMUIEventHandler handler)
public void handleEvent(org.w3c.dom.events.Event evt)
handleEvent
in interface org.w3c.dom.events.EventListener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |