Class ShearDialog

All Implemented Interfaces:
ActionListener, KeyListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class ShearDialog extends Dialog implements ActionListener, KeyListener
An AWT dialog to enter the angle for a shearing operation.
Author:
Marco Schmidt
See Also:
  • Field Details

    • ok

      private Button ok
    • cancel

      private Button cancel
    • angleTextField

      private TextField angleTextField
    • pressedOk

      private boolean pressedOk
    • result

      private Double result
    • newWidthLabel

      private Label newWidthLabel
    • imageWidth

      private int imageWidth
    • imageHeight

      private int imageHeight
  • Constructor Details

    • ShearDialog

      public ShearDialog(Frame owner, Strings strings, double initialValue, int imageWidth, int imageHeight)
      Creates a ShearDialog.
      Parameters:
      owner - the Frame this dialog will belong to
  • Method Details