public enum PredefinedWindows extends Enum<PredefinedWindows>
The default window is always available and represents the app window on the main display. It's an equivalent to today's app window. For backward compatibility, this will ensure the app always has at least the default window on the main display. The app can choose to use this predefined enum element to specifically address app's main window or to duplicate window content. It is not possible to duplicate another window to the default window.
The primary widget is a special widget, that can be associated with a service type, which is used by the HMI whenever a single widget needs to represent the whole app. The primary widget should be named as the app and can be pre-created by the HMI
| Enum Constant and Description |
|---|
DEFAULT_WINDOW
The default window is a main window pre-created on behalf of the app.
|
PRIMARY_WIDGET
The primary widget of the app.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static PredefinedWindows |
valueForInt(int value) |
static PredefinedWindows |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PredefinedWindows[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PredefinedWindows DEFAULT_WINDOW
public static final PredefinedWindows PRIMARY_WIDGET
public static PredefinedWindows[] values()
for (PredefinedWindows c : PredefinedWindows.values()) System.out.println(c);
public static PredefinedWindows valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static PredefinedWindows valueForInt(int value)
public int getValue()