nl.coderight.jazz.event
Enum ViewEvent.ViewEventType

java.lang.Object
  extended by java.lang.Enum<ViewEvent.ViewEventType>
      extended by nl.coderight.jazz.event.ViewEvent.ViewEventType
All Implemented Interfaces:
Serializable, Comparable<ViewEvent.ViewEventType>
Enclosing class:
ViewEvent

public static enum ViewEvent.ViewEventType
extends Enum<ViewEvent.ViewEventType>


Enum Constant Summary
CLOSE
           
FOCUS
           
MAXIMIZE
           
MINIMIZE
           
OPEN
           
PRINT
           
RESTORE
           
SELECT
           
SHOW
           
 
Method Summary
static ViewEvent.ViewEventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ViewEvent.ViewEventType[] 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

OPEN

public static final ViewEvent.ViewEventType OPEN

SHOW

public static final ViewEvent.ViewEventType SHOW

CLOSE

public static final ViewEvent.ViewEventType CLOSE

FOCUS

public static final ViewEvent.ViewEventType FOCUS

SELECT

public static final ViewEvent.ViewEventType SELECT

MINIMIZE

public static final ViewEvent.ViewEventType MINIMIZE

MAXIMIZE

public static final ViewEvent.ViewEventType MAXIMIZE

RESTORE

public static final ViewEvent.ViewEventType RESTORE

PRINT

public static final ViewEvent.ViewEventType PRINT
Method Detail

values

public static ViewEvent.ViewEventType[] 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 (ViewEvent.ViewEventType c : ViewEvent.ViewEventType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ViewEvent.ViewEventType 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.