Class BrightnessContrastSliderPane

All Implemented Interfaces:
Styleable, EventTarget

public class BrightnessContrastSliderPane extends GridPane
A pane containing sliders for adjusting the min/max display range and gamma value associated with an ImageDisplay.
  • Property Details

  • Constructor Details

    • BrightnessContrastSliderPane

      public BrightnessContrastSliderPane()
  • Method Details

    • imageDisplayProperty

      public ObjectProperty<ImageDisplay> imageDisplayProperty()
      The image display to which the sliders are applied.
      Returns:
    • disableMinMaxAdjustmentProperty

      public BooleanProperty disableMinMaxAdjustmentProperty()
      Prevent the min and max sliders from being adjusted.
      Returns:
    • disableGammaAdjustmentProperty

      public BooleanProperty disableGammaAdjustmentProperty()
      Prevent gamma from being adjusted.
      Returns:
    • selectedChannelProperty

      public ObjectProperty<ChannelDisplayInfo> selectedChannelProperty()
      The channel to which the sliders are applied. This should be a channel found within #imageDisplayProperty().
      Returns:
    • resetAllSliders

      public void resetAllSliders()
      Reset all sliders to their default values.
    • maxValueProperty

      public DoubleProperty maxValueProperty()
      Value of the maximum slider.
      Returns:
    • minValueProperty

      public DoubleProperty minValueProperty()
      Value of the minimum slider.
      Returns:
    • gammaValueProperty

      public DoubleProperty gammaValueProperty()
      Value of the gamma slider.
      Returns:
    • refreshSliders

      public void refreshSliders()
      Refresh the sliders, to ensure they match with the current channel. This should be called if the channel is modified externally.