Package com.xinapse.util
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 TypeMethodDescriptionvoid
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
Displays an error message, typically in a pop-up dialog.void
Displays a multi-line error message, typically in a pop-up dialog.void
showStatus
(String message) Displays a status message.boolean
showSuppressibleError
(String message) 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
Displays a status message.- Parameters:
message
- the status message to display.
-
showError
Displays an error message, typically in a pop-up dialog.- Parameters:
message
- the error message to display.
-
showError
Displays a multi-line error message, typically in a pop-up dialog.- Parameters:
messages
- the multi-line error message to display.
-
showSuppressibleError
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.
-