Class RotationAngle.RotationPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Enclosing class:
RotationAngle

public static class RotationAngle.RotationPanel extends JPanel
A JPanel for selecting an image rotation angle in steps of 90 degrees.
See Also:
  • Constructor Details

    • RotationPanel

      public RotationPanel(String preferencesNodeName)
      Creates a new RotationPanel.
      Parameters:
      preferencesNodeName - the Preferences node name from which the RotationAngle.RotationPanel will be setup up.
  • Method Details

    • setEnabled

      public void setEnabled(boolean b)
      Enables and disables this RotationPanel.
      Overrides:
      setEnabled in class JComponent
      Parameters:
      b - true to enable; false to disable.
    • getRotation

      public RotationAngle getRotation()
      Returns the current selected rotation.
      Returns:
      the RotationAngle that is the current selected rotation.