- All Implemented Interfaces:
Serializable
,Comparable<MessageType>
,Constable
public enum MessageType extends Enum<MessageType>
Represents the types of messages from a plugin.
- Since:
- Omix 1.3.11
- Author:
- Dr. Peter Droste, Omix Visualization
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR
The message text is shown in an error dialog window.ERROR_SHEET
The message text is shown in an error sheet.INFORMATION
The message text is shown in an information dialog window.INFORMATION_SHEET
The message text is shown in an information sheet.STATUSBAR
The message text is displayed in the statusbar of the mainwindow.WARNING
The message text is shown in a warning dialog window.WARNING_SHEET
The message text is shown in a warning sheet. -
Method Summary
Modifier and Type Method Description static MessageType
valueOf(String name)
Returns the enum constant of this type with the specified name.static MessageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATUSBAR
The message text is displayed in the statusbar of the mainwindow. -
ERROR
The message text is shown in an error dialog window. -
WARNING
The message text is shown in a warning dialog window. -
INFORMATION
The message text is shown in an information dialog window. -
ERROR_SHEET
The message text is shown in an error sheet. -
WARNING_SHEET
The message text is shown in a warning sheet. -
INFORMATION_SHEET
The message text is shown in an information sheet.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-