public enum WindowMode extends Enum<WindowMode>
A window mode decides the size and position of the Window. It can be set to
NORMAL
or MAXIMIZED
.
Enum Constant and Description |
---|
MAXIMIZED
Maximized mode.
|
NORMAL
Normal mode.
|
Modifier and Type | Method and Description |
---|---|
static WindowMode |
valueOf(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.
|
public static final WindowMode NORMAL
public static final WindowMode MAXIMIZED
public static WindowMode[] values()
for (WindowMode c : WindowMode.values()) System.out.println(c);
public static WindowMode 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 nullCopyright © 2019 Vaadin Ltd. All rights reserved.