tecgraf.javautils.gui.crud.gui.main
Enum RegistrationMainPanel.Mode

java.lang.Object
  extended by java.lang.Enum<RegistrationMainPanel.Mode>
      extended by tecgraf.javautils.gui.crud.gui.main.RegistrationMainPanel.Mode
All Implemented Interfaces:
Serializable, Comparable<RegistrationMainPanel.Mode>
Enclosing class:
RegistrationMainPanel<M,I>

public static enum RegistrationMainPanel.Mode
extends Enum<RegistrationMainPanel.Mode>

Modo

Author:
Tecgraf

Enum Constant Summary
ADD
          Adição de novo objeto.
EDIT
          Edição.
VIEW
          Visualização
 
Method Summary
static RegistrationMainPanel.Mode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RegistrationMainPanel.Mode[] 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

ADD

public static final RegistrationMainPanel.Mode ADD
Adição de novo objeto.


VIEW

public static final RegistrationMainPanel.Mode VIEW
Visualização


EDIT

public static final RegistrationMainPanel.Mode EDIT
Edição.

Method Detail

values

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

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

valueOf

public static RegistrationMainPanel.Mode 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 © 2014 Tecgraf/PUC-Rio. All rights reserved.