Interface MouseBehaviorCallback
-
- All Known Implementing Classes:
PlaneRender
,Probe
public interface MouseBehaviorCallback
Also added this line: public final static int SELECTION=4; And this method: public void transformClicked Also added this line: public final static int PROPERTIES=5; Added this method: public void transformDoubleClicked.
-
-
Field Summary
Fields Modifier and Type Field Description static int
ORBIT
DOCUMENT ME!static int
PROPERTIES
DOCUMENT ME!static int
ROTATE
DOCUMENT ME!static int
ROTATE_LEFTBUTTON
Added so that Probe Rotation with the left and right mouse buttons could be distinguised.static int
SELECTION
DOCUMENT ME!static int
TRANSLATE
DOCUMENT ME!static int
ZOOM
DOCUMENT ME!
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
transformChanged(int type, javax.media.j3d.Transform3D transform)
Classes implementing this interface that are registered with one of the MouseBehaviors will be called every time the behavior updates the Transform.
-
-
-
Field Detail
-
ROTATE
static final int ROTATE
DOCUMENT ME!- See Also:
- Constant Field Values
-
TRANSLATE
static final int TRANSLATE
DOCUMENT ME!- See Also:
- Constant Field Values
-
ZOOM
static final int ZOOM
DOCUMENT ME!- See Also:
- Constant Field Values
-
SELECTION
static final int SELECTION
DOCUMENT ME!- See Also:
- Constant Field Values
-
PROPERTIES
static final int PROPERTIES
DOCUMENT ME!- See Also:
- Constant Field Values
-
ORBIT
static final int ORBIT
DOCUMENT ME!- See Also:
- Constant Field Values
-
ROTATE_LEFTBUTTON
static final int ROTATE_LEFTBUTTON
Added so that Probe Rotation with the left and right mouse buttons could be distinguised.- See Also:
- Constant Field Values
-
-
Method Detail
-
transformChanged
void transformChanged(int type, javax.media.j3d.Transform3D transform)
Classes implementing this interface that are registered with one of the MouseBehaviors will be called every time the behavior updates the Transform.- Parameters:
type
- will be one of ROTATE, TRANSLATE or ZOOMtransform
- DOCUMENT ME!
-
-