Class GammaCorrectionDialog

java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
net.sourceforge.jiu.gui.awt.dialogs.GammaCorrectionDialog
All Implemented Interfaces:
ActionListener, KeyListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class GammaCorrectionDialog extends Dialog implements ActionListener, KeyListener
A dialog to enter the parameters for a gamma correction operation.
Author:
Marco Schmidt
See Also:
  • Field Details

    • ok

      private Button ok
    • cancel

      private Button cancel
    • gammaTextField

      private TextField gammaTextField
    • pressedOk

      private boolean pressedOk
    • result

      private Double result
    • MAX_GAMMA

      private final double MAX_GAMMA
  • Constructor Details

    • GammaCorrectionDialog

      public GammaCorrectionDialog(Frame owner, Strings strings, double initialValue, double maxGamma)
      Creates a GammaCorrectionDialog.
      Parameters:
      owner - the Frame this dialog will belong to
      strings - Strings resource used for text messages
      initialValue - the value to be set when the dialog pops up
      maxGamma - the maximum allowed gamma value
  • Method Details