de.grogra.imp3d
public class Navigator3D extends java.lang.Object implements DisposableEventListener
EventListener.Bicast, EventListener.Multicaster| Modifier and Type | Field and Description |
|---|---|
protected ViewEventHandler |
handler |
protected int |
lastX |
protected int |
lastY |
protected boolean |
wheel |
| Constructor and Description |
|---|
Navigator3D(ViewEventHandler h,
java.util.EventObject e) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
void |
eventOccured(java.util.EventObject e)
This method is invoked on registered event listeners when
event has occured. |
protected final ViewEventHandler handler
protected int lastX
protected int lastY
protected final boolean wheel
public Navigator3D(ViewEventHandler h, java.util.EventObject e)
public void dispose()
dispose in interface Disposablepublic void eventOccured(java.util.EventObject e)
EventListenerevent has occured. This general listener interface
does not restrict the possible kinds of events. Concrete sources
of events should specify which events they may fire.e - an event