Package com.tick42.glue.desktop.windows
Enum WindowMode
- java.lang.Object
-
- java.lang.Enum<WindowMode>
-
- com.tick42.glue.desktop.windows.WindowMode
-
- All Implemented Interfaces:
Serializable,Comparable<WindowMode>
public enum WindowMode extends Enum<WindowMode>
Window Modecontrols whether a glue window will be flat or in tab mode
- See Also:
WindowOptions.Builder.mode(WindowMode)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WindowModevalueOf(String name)Returns the enum constant of this type with the specified name.static WindowMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FLAT
public static final WindowMode FLAT
Flat windows have a caption bar that contains the app title and standard system buttons.
-
TAB
public static final WindowMode TAB
Tab windows can be grouped in a tab group. They have a tab caption bar, which contains window tabs, as well as standard system buttons.
-
-
Method Detail
-
values
public static WindowMode[] 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 (WindowMode c : WindowMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WindowMode 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
-
-