Class BrightnessContrastCommand

java.lang.Object
qupath.lib.gui.commands.BrightnessContrastCommand
All Implemented Interfaces:
Runnable

public class BrightnessContrastCommand extends Object implements Runnable
Command to show a Brightness/Contrast dialog to adjust the image display.
  • Constructor Details

    • BrightnessContrastCommand

      public BrightnessContrastCommand(QuPathGUI qupath)
      Constructor.
      Parameters:
      qupath -
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • infoMessage

      public ObjectExpression infoMessage()
      Get a string expression to draw attention to any warnings associated with the current display settings. This can be used to notify the user that something is amiss, even if the dialog is not open.
      Returns:
      a string expression that evaluates to the warning text, or null if there are no warnings