Class RollLeftAction

java.lang.Object
javax.swing.AbstractAction
org.jfree.chart3d.graphics3d.swing.RollLeftAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class RollLeftAction
extends AbstractAction
An action that handles rolling the 3D view counter-clockwise around an axis from the viewing point to the origin.

NOTE: This class is serializable, but the serialization format is subject to change in future releases and should not be relied upon for persisting instances of this class.
See Also:
Serialized Form
  • Constructor Details

    • RollLeftAction

      public RollLeftAction​(Panel3D panel)
      Creates a new action instance.
      Parameters:
      panel - the panel (null not permitted).
  • Method Details

    • actionPerformed

      public void actionPerformed​(ActionEvent e)
      Rotates the orientation of the view point and repaints the panel.
      Parameters:
      e - the action event.