tecgraf.javautils.gui.selector
Enum ContainerSelection.SortableContainer

java.lang.Object
  extended by java.lang.Enum<ContainerSelection.SortableContainer>
      extended by tecgraf.javautils.gui.selector.ContainerSelection.SortableContainer
All Implemented Interfaces:
Serializable, Comparable<ContainerSelection.SortableContainer>
Enclosing class:
ContainerSelection<T>

public static enum ContainerSelection.SortableContainer
extends Enum<ContainerSelection.SortableContainer>

Enumeração usada para especificar qual dos containers deve ser ordenável.


Enum Constant Summary
BOTH
          Ambos os containers devem ser ordenáveis.
LEFT_ONLY
          Apenas o container da esquerda deve ser ordenável.
NONE
          Nenhum container deve ser ordenável.
RIGHT_ONLY
          Apenas o container da direita deve ser ordenável.
 
Method Summary
static ContainerSelection.SortableContainer valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ContainerSelection.SortableContainer[] 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

LEFT_ONLY

public static final ContainerSelection.SortableContainer LEFT_ONLY
Apenas o container da esquerda deve ser ordenável.


RIGHT_ONLY

public static final ContainerSelection.SortableContainer RIGHT_ONLY
Apenas o container da direita deve ser ordenável.


BOTH

public static final ContainerSelection.SortableContainer BOTH
Ambos os containers devem ser ordenáveis.


NONE

public static final ContainerSelection.SortableContainer NONE
Nenhum container deve ser ordenável.

Method Detail

values

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

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

valueOf

public static ContainerSelection.SortableContainer 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.