Class dnx.lr.app.BrowserViewer
All Packages Class Hierarchy This Package Previous Next Index
Class dnx.lr.app.BrowserViewer
java.lang.Object
|
+----dnx.util.DNXObject
|
+----dnx.lr.app.Viewer
|
+----dnx.lr.app.BrowserViewer
- public class BrowserViewer
- extends Viewer
-
activeKeymaps
-
-
keyMappings
-
-
keys
-
-
BrowserViewer()
-
-
clearBitInKeys(int)
-
-
clearBitInKeys(IntIntHashtable, int)
-
-
frameUpdate(View, long)
-
-
getCurrentSpeed()
- Get the speed at which the viewer is currently moving (this is
not in general the same as the value set with setViewerSpeed()).
-
getKeyFunction(int)
-
-
getKeyFunction(IntIntHashtable, int)
- Return the function index for a key, or -1 if the key is
unmapped.
-
keyDown(View3D, Event)
-
-
keyUp(View3D, Event)
-
-
mapKey(int, int)
- Map a key to a viewer function.
-
mapKey(IntIntHashtable, int, int)
-
-
mouseDown(View3D, Event, float, float)
-
-
mouseDrag(View3D, Event, float, float)
-
-
mouseEnter(View3D, Event, float, float)
-
-
mouseExit(View3D, Event, float, float)
-
-
mouseMove(View3D, Event, float, float)
-
-
mouseUp(View3D, Event, float, float)
-
-
pointerDown(View3D, float, float)
-
-
pointerDrag(View3D, float, float)
-
-
pointerExit(View3D, float, float)
-
-
pointerMove(View3D, float, float)
-
-
pointerUp(View3D, float, float)
-
-
processView3DEvent(View3D, Event, float, float, boolean)
-
-
pushKeymap(IntIntHashtable)
-
-
resetKeymapStack()
-
-
setBitInKeys(int)
-
-
setBitInKeys(IntIntHashtable, int)
-
-
setViewerSpeed(float)
- Set the viewer speed.
keyMappings
protected IntIntHashtable keyMappings
activeKeymaps
protected List activeKeymaps
keys
protected int keys
BrowserViewer
public BrowserViewer()
mapKey
public void mapKey(int key,
int function)
- Map a key to a viewer function. Viewer functions are defined in
the specific viewers.
mapKey
public void mapKey(IntIntHashtable keymap,
int key,
int function)
setBitInKeys
public boolean setBitInKeys(int key)
setBitInKeys
public boolean setBitInKeys(IntIntHashtable keymap,
int key)
clearBitInKeys
public boolean clearBitInKeys(int key)
clearBitInKeys
public boolean clearBitInKeys(IntIntHashtable keymap,
int key)
resetKeymapStack
public void resetKeymapStack()
pushKeymap
public void pushKeymap(IntIntHashtable keymap)
getKeyFunction
public int getKeyFunction(int key)
getKeyFunction
public int getKeyFunction(IntIntHashtable keymap,
int key)
- Return the function index for a key, or -1 if the key is
unmapped.
processView3DEvent
public boolean processView3DEvent(View3D view,
Event e,
float x,
float y,
boolean forSensors)
- Overrides:
- processView3DEvent in class Viewer
mouseDown
public synchronized boolean mouseDown(View3D view,
Event e,
float x,
float y)
mouseDrag
public synchronized boolean mouseDrag(View3D view,
Event e,
float x,
float y)
mouseUp
public synchronized boolean mouseUp(View3D view,
Event e,
float x,
float y)
mouseMove
public synchronized boolean mouseMove(View3D view,
Event e,
float x,
float y)
mouseEnter
public synchronized boolean mouseEnter(View3D view,
Event e,
float x,
float y)
mouseExit
public synchronized boolean mouseExit(View3D view,
Event e,
float x,
float y)
keyDown
public synchronized boolean keyDown(View3D view,
Event e)
keyUp
public synchronized boolean keyUp(View3D view,
Event e)
pointerDown
public synchronized boolean pointerDown(View3D view,
float x,
float y)
pointerUp
public synchronized boolean pointerUp(View3D view,
float x,
float y)
pointerDrag
public synchronized boolean pointerDrag(View3D view,
float x,
float y)
pointerMove
public synchronized void pointerMove(View3D view,
float x,
float y)
pointerExit
public synchronized void pointerExit(View3D view,
float x,
float y)
frameUpdate
public synchronized void frameUpdate(View v,
long when)
setViewerSpeed
public void setViewerSpeed(float speed)
- Set the viewer speed.
getCurrentSpeed
public float getCurrentSpeed()
- Get the speed at which the viewer is currently moving (this is
not in general the same as the value set with setViewerSpeed()).
All Packages Class Hierarchy This Package Previous Next Index