Class GammaCorrectionDialog

    • Field Detail

      • cancel

        private Button cancel
      • gammaTextField

        private TextField gammaTextField
      • pressedOk

        private boolean pressedOk
      • result

        private Double result
      • MAX_GAMMA

        private final double MAX_GAMMA
    • Constructor Detail

      • 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