Interface MessageShower

All Known Implementing Classes:
AbstractDynamicFrame, com.xinapse.util.ImageOrganiserFrame, ImageSelectionPanel, InputImageSelectionPanel, MultiContrastAnalysisFrame, OutputImageSelectionPanel

public interface MessageShower
An interface for showing messages to the user.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Sets the cursor for this MessageShower to indicate that an operation is in progress.
    Returns the parent of this MessageShower.
    void
    Sets the cursor for this MessageShower to indicate that it is ready for user input.
    void
    showError(String message)
    Displays an error message, typically in a pop-up dialog.
    void
    showError(String[] messages)
    Displays a multi-line error message, typically in a pop-up dialog.
    void
    showStatus(String message)
    Displays a status message.
    boolean
    Displays an error message, allowing the user to suppress future errors like this.
  • Method Details

    • getParentWindow

      Window getParentWindow()
      Returns the parent of this MessageShower.
      Returns:
      the parent Window of this MessageShower.
    • busyCursors

      void busyCursors()
      Sets the cursor for this MessageShower to indicate that an operation is in progress.
    • readyCursors

      void readyCursors()
      Sets the cursor for this MessageShower to indicate that it is ready for user input.
    • showStatus

      void showStatus(String message)
      Displays a status message.
      Parameters:
      message - the status message to display.
    • showError

      void showError(String message)
      Displays an error message, typically in a pop-up dialog.
      Parameters:
      message - the error message to display.
    • showError

      void showError(String[] messages)
      Displays a multi-line error message, typically in a pop-up dialog.
      Parameters:
      messages - the multi-line error message to display.
    • showSuppressibleError

      boolean showSuppressibleError(String message)
      Displays an error message, allowing the user to suppress future errors like this.
      Parameters:
      message - the error message to display.
      Returns:
      true if the user has selected to suppress future errors like this; false if not.