Class ImageInfoEditor

    • Constructor Detail

      • ImageInfoEditor

        public ImageInfoEditor()
    • Method Detail

      • addChangeListener

        public void addChangeListener​(ChangeListener l)
      • removeChangeListener

        public void removeChangeListener​(ChangeListener l)
      • fireStateChanged

        protected void fireStateChanged()
      • computePercent

        public boolean computePercent​(boolean logScaled,
                                      double threshhold)
      • setRGBminmax

        public boolean setRGBminmax​(double min,
                                    double max)
      • compute100Percent

        public boolean compute100Percent​(boolean logScaled)
      • distributeSlidersEvenly

        public void distributeSlidersEvenly()
      • setBounds

        public void setBounds​(int x,
                              int y,
                              int width,
                              int heigth)
        Overrides:
        setBounds in class Component
      • computeZoomInToSliderLimits

        public void computeZoomInToSliderLimits()
      • computeZoomOutToFullHistogramm

        public void computeZoomOutToFullHistogramm()
      • computeZoomOutVertical

        public void computeZoomOutVertical()
      • computeZoomInVertical

        public void computeZoomInVertical()
      • applyChanges

        protected abstract void applyChanges()
      • createSliderShape

        public static Shape createSliderShape()
      • checkLogCompatibility

        protected abstract boolean checkLogCompatibility​(double value,
                                                         String componentName,
                                                         boolean isLogScaled)
        Determine whether value is illegal value (zero or less) if in log mode
        Parameters:
        value -
        componentName - identify theGUI component
        isLogScaled -
        Returns:
      • checkSliderRangeCompatibility

        protected abstract boolean checkSliderRangeCompatibility​(double value,
                                                                 double min,
                                                                 double max)
        Determine whether a value is in between a min and a max value (or adjacent values)
        Parameters:
        value -
        min -
        max -
        Returns:
      • isLogScaled

        public boolean isLogScaled()
      • setLogScaled

        public void setLogScaled​(boolean logScaled)