Package com.tick42.glue.desktop.windows
Enum WindowOnTopState
- java.lang.Object
-
- java.lang.Enum<WindowOnTopState>
-
- com.tick42.glue.desktop.windows.WindowOnTopState
-
- All Implemented Interfaces:
Serializable,Comparable<WindowOnTopState>
public enum WindowOnTopState extends Enum<WindowOnTopState>
Window on Top StateControls whether a glue window would be on top of z-order even when other windows are focused
- Since:
- 1.4.15
- See Also:
WindowOptions.Builder.onTopState(WindowOnTopState)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WindowOnTopStatevalueOf(String name)Returns the enum constant of this type with the specified name.static WindowOnTopState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO
public static final WindowOnTopState NO
application doesn't have specific z-order
-
YES
public static final WindowOnTopState YES
application will be started on top of z-order until it is added to a tab group
-
ALWAYS
public static final WindowOnTopState ALWAYS
application will always be on top of z-order even after being added and extracted from a tab
-
-
Method Detail
-
values
public static WindowOnTopState[] 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 (WindowOnTopState c : WindowOnTopState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WindowOnTopState 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
-
-