Package ffx.ui.behaviors
Interface PickingCallback
public interface PickingCallback
The PickingCallback interface is implemented by classes wishing to recieve notification that a
picked object has moved.
- Author:
- Michael J. Schnieders
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The user made a selection but nothing was actually pickedstatic final int
ConstantORBIT=6
static final int
ConstantPROPERTIES=5
static final int
ConstantROTATE=0
static final int
ConstantSELECTION=4
static final int
ConstantTRANSLATE=1
static final int
ConstantZOOM=2
-
Method Summary
Modifier and TypeMethodDescriptionvoid
transformChanged
(int type, org.jogamp.java3d.TransformGroup tg) Called by the Pick Behavior with which this callback is registered each time the Picked object is moved.void
transformClicked
(int type, org.jogamp.java3d.TransformGroup tg) transformClickedvoid
transformDoubleClicked
(int type, org.jogamp.java3d.TransformGroup tg) transformDoubleClicked
-
Field Details
-
ROTATE
static final int ROTATEConstantROTATE=0
- See Also:
-
TRANSLATE
static final int TRANSLATEConstantTRANSLATE=1
- See Also:
-
ZOOM
static final int ZOOMConstantZOOM=2
- See Also:
-
SELECTION
static final int SELECTIONConstantSELECTION=4
- See Also:
-
PROPERTIES
static final int PROPERTIESConstantPROPERTIES=5
- See Also:
-
ORBIT
static final int ORBITConstantORBIT=6
- See Also:
-
NO_PICK
static final int NO_PICKThe user made a selection but nothing was actually pickedConstant
NO_PICK=3
- See Also:
-
-
Method Details
-
transformChanged
void transformChanged(int type, org.jogamp.java3d.TransformGroup tg) Called by the Pick Behavior with which this callback is registered each time the Picked object is moved.transformChanged
- Parameters:
type
- a int.tg
- aTransformGroup
object.
-
transformClicked
void transformClicked(int type, org.jogamp.java3d.TransformGroup tg) transformClicked- Parameters:
type
- a int.tg
- aTransformGroup
object.
-
transformDoubleClicked
void transformDoubleClicked(int type, org.jogamp.java3d.TransformGroup tg) transformDoubleClicked- Parameters:
type
- a int.tg
- aTransformGroup
object.
-