Package org.correomqtt.gui.model
Enum WindowType
- java.lang.Object
-
- java.lang.Enum<WindowType>
-
- org.correomqtt.gui.model.WindowType
-
- All Implemented Interfaces:
Serializable,Comparable<WindowType>
public enum WindowType extends Enum<WindowType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABOUTCONNECTION_SETTINGSDETAILLOADINGMAINPLUGIN_SETTINGSSAVE_MESSAGESETTINGSSYSTOPIC
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WindowTypevalueOf(String name)Returns the enum constant of this type with the specified name.static WindowType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAIN
public static final WindowType MAIN
-
DETAIL
public static final WindowType DETAIL
-
SETTINGS
public static final WindowType SETTINGS
-
CONNECTION_SETTINGS
public static final WindowType CONNECTION_SETTINGS
-
SYSTOPIC
public static final WindowType SYSTOPIC
-
PLUGIN_SETTINGS
public static final WindowType PLUGIN_SETTINGS
-
SAVE_MESSAGE
public static final WindowType SAVE_MESSAGE
-
ABOUT
public static final WindowType ABOUT
-
LOADING
public static final WindowType LOADING
-
-
Method Detail
-
values
public static WindowType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WindowType c : WindowType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WindowType valueOf(String name)
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
-
-