nl.coderight.jazz
Enum ViewManager.WindowMode
java.lang.Object
java.lang.Enum<ViewManager.WindowMode>
nl.coderight.jazz.ViewManager.WindowMode
- All Implemented Interfaces:
- Serializable, Comparable<ViewManager.WindowMode>
- Enclosing class:
- ViewManager
public static enum ViewManager.WindowMode
- extends Enum<ViewManager.WindowMode>
Enumeration of the possible WindowMode
implementations.
- SINGLE_WINDOW
Each view is shown as MODAL window.
- TEMPLATE
For more information see Template
.
- SDI (Single Document Interface)
Each view is shown in a new window.
- MDI (Multiple Document Interface)
Each view is shown in a new window
inside the main window.
- TDI (Tabbed Document Interface)
Each view is shown in a new tab
inside the main window.
SINGLE_WINDOW
public static final ViewManager.WindowMode SINGLE_WINDOW
TEMPLATE
public static final ViewManager.WindowMode TEMPLATE
SDI
public static final ViewManager.WindowMode SDI
MDI
public static final ViewManager.WindowMode MDI
TDI
public static final ViewManager.WindowMode TDI
values
public static ViewManager.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 (ViewManager.WindowMode c : ViewManager.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 ViewManager.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 name
NullPointerException
- if the argument is null
Copyright 2010 CodeRight, All rights reserved.