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
FieldsModifier and TypeFieldDescriptionstatic final intThe user made a selection but nothing was actually pickedstatic final intConstantORBIT=6static final intConstantPROPERTIES=5static final intConstantROTATE=0static final intConstantSELECTION=4static final intConstantTRANSLATE=1static final intConstantZOOM=2 -
Method Summary
Modifier and TypeMethodDescriptionvoidtransformChanged(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.voidtransformClicked(int type, org.jogamp.java3d.TransformGroup tg) transformClickedvoidtransformDoubleClicked(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- aTransformGroupobject.
-
transformClicked
void transformClicked(int type, org.jogamp.java3d.TransformGroup tg) transformClicked- Parameters:
type- a int.tg- aTransformGroupobject.
-
transformDoubleClicked
void transformDoubleClicked(int type, org.jogamp.java3d.TransformGroup tg) transformDoubleClicked- Parameters:
type- a int.tg- aTransformGroupobject.
-