org.pm4j.core.pm
Enum PmTable.RowSelectMode

java.lang.Object
  extended by java.lang.Enum<PmTable.RowSelectMode>
      extended by org.pm4j.core.pm.PmTable.RowSelectMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PmTable.RowSelectMode>
Enclosing interface:
PmTable<T_ROW_OBJ>

public static enum PmTable.RowSelectMode
extends java.lang.Enum<PmTable.RowSelectMode>

The set of supported row selection modes.


Enum Constant Summary
DEFAULT
          This value defines no specific mode.
MULTI
          More than one row may be selected.
NO_SELECTION
          No row can be marked as selected.
SINGLE
          Only a single row may be selected.
 
Method Summary
static PmTable.RowSelectMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PmTable.RowSelectMode[] 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

SINGLE

public static final PmTable.RowSelectMode SINGLE
Only a single row may be selected.


MULTI

public static final PmTable.RowSelectMode MULTI
More than one row may be selected.


NO_SELECTION

public static final PmTable.RowSelectMode NO_SELECTION
No row can be marked as selected.


DEFAULT

public static final PmTable.RowSelectMode DEFAULT
This value defines no specific mode. The default should be applied.

Method Detail

values

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

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

valueOf

public static PmTable.RowSelectMode 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