nl.coderight.jazz
Enum ViewManager.WindowMode

java.lang.Object
  extended by java.lang.Enum<ViewManager.WindowMode>
      extended by 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.
 


Enum Constant Summary
MDI
           
SDI
           
SINGLE_WINDOW
           
TDI
           
TEMPLATE
           
 
Method Summary
static ViewManager.WindowMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ViewManager.WindowMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.