tempcontroller.base
Enum ILeitorEspectro.Estado

java.lang.Object
  extended by java.lang.Enum<ILeitorEspectro.Estado>
      extended by tempcontroller.base.ILeitorEspectro.Estado
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ILeitorEspectro.Estado>
Enclosing interface:
ILeitorEspectro

public static enum ILeitorEspectro.Estado
extends java.lang.Enum<ILeitorEspectro.Estado>

Estados possíveis de um leitor de espectro.


Enum Constant Summary
EM_LEITURA
          O leitor está lendo o espectro.
NAO_INICIADO
          O leitor ainda não foi iniciado.
PAUSADO
          O leitor já foi iniciado, mas não está lendo o espectro no momento.
 
Method Summary
static ILeitorEspectro.Estado valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ILeitorEspectro.Estado[] 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

NAO_INICIADO

public static final ILeitorEspectro.Estado NAO_INICIADO
O leitor ainda não foi iniciado.


EM_LEITURA

public static final ILeitorEspectro.Estado EM_LEITURA
O leitor está lendo o espectro.


PAUSADO

public static final ILeitorEspectro.Estado PAUSADO
O leitor já foi iniciado, mas não está lendo o espectro no momento.

Method Detail

values

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

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

valueOf

public static ILeitorEspectro.Estado valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2007. All Rights Reserved.