public enum SwingFormViewMode extends Enum<SwingFormViewMode>
default mode
there is a toolbar view mode
for
which gadgets may optionally render themselves in a more compact way.SwingGadgetContext.getViewMode()
Enum Constant and Description |
---|
DEFAULT
Default mode.
|
TOOLBAR
Toolbar mode.
|
Modifier and Type | Method and Description |
---|---|
static SwingFormViewMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SwingFormViewMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SwingFormViewMode DEFAULT
public static final SwingFormViewMode TOOLBAR
public static SwingFormViewMode[] values()
for (SwingFormViewMode c : SwingFormViewMode.values()) System.out.println(c);
public static SwingFormViewMode 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 © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210