net.sf.doolin.gui.field.table.column
Enum ColumnUpdatePolicy

java.lang.Object
  extended by java.lang.Enum<ColumnUpdatePolicy>
      extended by net.sf.doolin.gui.field.table.column.ColumnUpdatePolicy
All Implemented Interfaces:
Serializable, Comparable<ColumnUpdatePolicy>

public enum ColumnUpdatePolicy
extends Enum<ColumnUpdatePolicy>

Defines the way the table is updated when a cell is updated.

Author:
Damien Coraboeuf

Enum Constant Summary
CELL
          Only the cell is updated (default)
COLUMN
          The whole column is updated
ROW
          The whole row is updated
TABLE
          The whole table is updated
 
Method Summary
static ColumnUpdatePolicy valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ColumnUpdatePolicy[] 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

CELL

public static final ColumnUpdatePolicy CELL
Only the cell is updated (default)


ROW

public static final ColumnUpdatePolicy ROW
The whole row is updated


COLUMN

public static final ColumnUpdatePolicy COLUMN
The whole column is updated


TABLE

public static final ColumnUpdatePolicy TABLE
The whole table is updated

Method Detail

values

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

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

valueOf

public static ColumnUpdatePolicy 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 © 2011. All Rights Reserved.