Class ZoomToFitAction

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

public class ZoomToFitAction
extends AbstractAction
An action that performs a zoom-to-fit operation.

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

    • ZoomToFitAction

      public ZoomToFitAction​(Panel3D panel, boolean fontAwesome)
      Creates a new action associated with the specified panel.
      Parameters:
      panel - the panel (null not permitted).
      fontAwesome - use icon?
  • Method Details

    • actionPerformed

      public void actionPerformed​(ActionEvent e)
      Performs the zoom to fit action.
      Parameters:
      e - the action event.