Class PickMouseBehavior

Direct Known Subclasses:
PickRotateBehavior, PickTranslateBehavior, PickZoomBehavior

public abstract class PickMouseBehavior extends Behavior
Deprecated.
As of Java 3D version 1.2, replaced by com.sun.j3d.utils.picking.behaviors.PickMouseBehavior
See Also:
  • Field Details

    • pickScene

      protected PickObject pickScene
      Deprecated.
      Portion of the scene graph to operate picking on.
    • conditions

      protected WakeupCriterion[] conditions
      Deprecated.
    • wakeupCondition

      protected WakeupOr wakeupCondition
      Deprecated.
    • buttonPress

      protected boolean buttonPress
      Deprecated.
    • currGrp

      protected TransformGroup currGrp
      Deprecated.
    • debug

      protected static final boolean debug
      Deprecated.
      See Also:
    • mevent

      protected MouseEvent mevent
      Deprecated.
  • Constructor Details

    • PickMouseBehavior

      public PickMouseBehavior(Canvas3D canvas, BranchGroup root, Bounds bounds)
      Deprecated.
      Creates a PickMouseBehavior given current canvas, root of the tree to operate on, and the bounds.
  • Method Details

    • initialize

      public void initialize()
      Deprecated.
      Description copied from class: Behavior
      Initialize this behavior. Classes that extend Behavior must provide their own initialize method.
      NOTE: Applications should not call this method. It is called by the Java 3D behavior scheduler.
      Specified by:
      initialize in class Behavior
    • processStimulus

      public void processStimulus(Enumeration criteria)
      Deprecated.
      Description copied from class: Behavior
      Process a stimulus meant for this behavior. This method is invoked if the Behavior's wakeup criteria are satisfied and an active ViewPlatform's activation volume intersects with the Behavior's scheduling region. Classes that extend Behavior must provide their own processStimulus method.
      NOTE: Applications should not call this method. It is called by the Java 3D behavior scheduler.
      Specified by:
      processStimulus in class Behavior
      Parameters:
      criteria - an enumeration of triggered wakeup criteria for this behavior
    • updateScene

      public abstract void updateScene(int xpos, int ypos)
      Deprecated.
      Subclasses shall implement this update function