Package qupath.lib.gui.actions
Class InfoMessage
java.lang.Object
qupath.lib.gui.actions.InfoMessage
An informative message that should be shown to the user.
- 
Property SummaryPropertiesTypePropertyDescriptionRead only property containing any count associated with the text (may be null).Read only property containing the message text.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumThe type of message, which can be used for styling.
- 
Method SummaryModifier and TypeMethodDescriptionRead only property containing any count associated with the text (may be null).static InfoMessageCreate an error message with static text.static InfoMessageCreate an error message with static text and a count.static InfoMessageerror(ObservableNumberValue count) Create a error message to show a count of errors.static InfoMessageerror(ObservableValue<String> text) Create an error message.static InfoMessageerror(ObservableValue<String> text, ObservableNumberValue count) Create an error message with a count.intgetCount()Counts associated with the message, or -1 if the count is null.Type of the message.getText()Text of the message.static InfoMessageCreate an information message with static text.static InfoMessageCreate an information message with static text and a count.static InfoMessageinfo(ObservableNumberValue count) Create a information message to show a count of messages.static InfoMessageinfo(ObservableValue<String> text) Create an information message.static InfoMessageinfo(ObservableValue<String> text, ObservableNumberValue count) Create an information message with a count.Read only property containing the message text.static InfoMessageCreate a warning message with static text.static InfoMessageCreate a warning message with static text and a count.static InfoMessagewarning(ObservableNumberValue count) Create a warning message to show a count of warnings.static InfoMessagewarning(ObservableValue<String> text) Create a warning message.static InfoMessagewarning(ObservableValue<String> text, ObservableNumberValue count) Create a warning message with a count.
- 
Property Details- 
textRead only property containing the message text.- See Also:
 
- 
countRead only property containing any count associated with the text (may be null).- See Also:
 
 
- 
- 
Method Details- 
infoCreate an information message.- Parameters:
- text-
- Returns:
 
- 
infoCreate an information message with static text.- Parameters:
- text-
- Returns:
 
- 
infoCreate an information message with a count.- Parameters:
- text-
- count-
- Returns:
 
- 
infoCreate an information message with static text and a count.- Parameters:
- text-
- count-
- Returns:
 
- 
infoCreate a information message to show a count of messages.- Parameters:
- count-
- Returns:
 
- 
warningCreate a warning message.- Parameters:
- text-
- Returns:
 
- 
warningCreate a warning message with static text.- Parameters:
- text-
- Returns:
 
- 
warningCreate a warning message with a count.- Parameters:
- text-
- count-
- Returns:
 
- 
warningCreate a warning message to show a count of warnings.- Parameters:
- count-
- Returns:
 
- 
warningCreate a warning message with static text and a count.- Parameters:
- text-
- count-
- Returns:
 
- 
errorCreate an error message.- Parameters:
- text-
- Returns:
 
- 
errorCreate an error message with static text.- Parameters:
- text-
- Returns:
 
- 
errorCreate an error message with a count.- Parameters:
- text-
- count-
- Returns:
 
- 
errorCreate an error message with static text and a count.- Parameters:
- text-
- count-
- Returns:
 
- 
errorCreate a error message to show a count of errors.- Parameters:
- count-
- Returns:
 
- 
textPropertyRead only property containing the message text.- Returns:
- See Also:
 
- 
getTextText of the message.- Returns:
 
- 
countPropertyRead only property containing any count associated with the text (may be null).- Returns:
- See Also:
 
- 
getCountpublic int getCount()Counts associated with the message, or -1 if the count is null.- Returns:
 
- 
getMessageTypeType of the message.- Returns:
 
 
-