tecgraf.javautils.gui.table
Enum ObjectTableBuilder.SelectionMode

java.lang.Object
  extended by java.lang.Enum<ObjectTableBuilder.SelectionMode>
      extended by tecgraf.javautils.gui.table.ObjectTableBuilder.SelectionMode
All Implemented Interfaces:
Serializable, Comparable<ObjectTableBuilder.SelectionMode>
Enclosing class:
ObjectTableBuilder<R>

public static enum ObjectTableBuilder.SelectionMode
extends Enum<ObjectTableBuilder.SelectionMode>

Modo de seleção das linhas da tabela.

Author:
Tecgraf

Enum Constant Summary
MULTIPLE_INTERVAL_SELECTION
          Permite selecionar múltiplos intervalos de linhas.
NO_SELECTION
          Nenhuma linha é selecionável.
SINGLE_INTERVAL_SELECTION
          Permite selecionar um intervalo de linhas.
SINGLE_SELECTION
          Permite selecionar apenas uma linha por vez.
 
Method Summary
static ObjectTableBuilder.SelectionMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ObjectTableBuilder.SelectionMode[] 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

NO_SELECTION

public static final ObjectTableBuilder.SelectionMode NO_SELECTION
Nenhuma linha é selecionável.


SINGLE_SELECTION

public static final ObjectTableBuilder.SelectionMode SINGLE_SELECTION
Permite selecionar apenas uma linha por vez.


SINGLE_INTERVAL_SELECTION

public static final ObjectTableBuilder.SelectionMode SINGLE_INTERVAL_SELECTION
Permite selecionar um intervalo de linhas.


MULTIPLE_INTERVAL_SELECTION

public static final ObjectTableBuilder.SelectionMode MULTIPLE_INTERVAL_SELECTION
Permite selecionar múltiplos intervalos de linhas.

Method Detail

values

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

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

valueOf

public static ObjectTableBuilder.SelectionMode 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.