MouseRotate(Component c) Creates a rotate behavior that uses AWT listeners and behavior
posts rather than WakeupOnAWTEvent.
public
MouseRotate(Component c, TransformGroup transformGroup) Creates a rotate behavior that uses AWT listeners and behavior
posts rather than WakeupOnAWTEvent.
public
MouseRotate(Component c, int flags) Creates a rotate behavior that uses AWT listeners and behavior
posts rather than WakeupOnAWTEvent.
Creates a rotate behavior.
Note that this behavior still needs a transform
group to work on (use setTransformGroup(tg)) and
the transform group must add this behavior.
Parameters: flags - interesting flags (wakeup conditions).
Creates a rotate behavior that uses AWT listeners and behavior
posts rather than WakeupOnAWTEvent. The behavior is added to the
specified Component. A null component can be passed to specify
the behavior should use listeners. Components can then be added
to the behavior with the addListener(Component c) method.
Parameters: c - The Component to add the MouseListenerand MouseMotionListener to. since: Java 3D 1.2.1
Creates a rotate behavior that uses AWT listeners and behavior
posts rather than WakeupOnAWTEvent. The behaviors is added to
the specified Component and works on the given TransformGroup.
A null component can be passed to specify the behavior should use
listeners. Components can then be added to the behavior with the
addListener(Component c) method.
Parameters: c - The Component to add the MouseListener andMouseMotionListener to. Parameters: transformGroup - The TransformGroup to operate on. since: Java 3D 1.2.1
Creates a rotate behavior that uses AWT listeners and behavior
posts rather than WakeupOnAWTEvent. The behavior is added to the
specified Component. A null component can be passed to specify
the behavior should use listeners. Components can then be added to
the behavior with the addListener(Component c) method.
Note that this behavior still needs a transform
group to work on (use setTransformGroup(tg)) and the transform
group must add this behavior.
Parameters: flags - interesting flags (wakeup conditions). since: Java 3D 1.2.1