public static enum EntityTableModel.InsertAction extends java.lang.Enum<EntityTableModel.InsertAction>
Enum Constant and Description |
---|
ADD_BOTTOM
The entities inserted via the associated edit model are added as the bottommost rows in the model
|
ADD_TOP
The entities inserted via the associated edit model are added as the topmost rows in the model
|
ADD_TOP_SORTED
The entities inserted via the associated edit model are added as the topmost rows in the model,
if sorting is enabled then sorting is performed
|
DO_NOTHING
This table model does nothing when entities are inserted via the associated edit model
|
Modifier and Type | Method and Description |
---|---|
static EntityTableModel.InsertAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntityTableModel.InsertAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityTableModel.InsertAction DO_NOTHING
public static final EntityTableModel.InsertAction ADD_TOP
public static final EntityTableModel.InsertAction ADD_BOTTOM
public static final EntityTableModel.InsertAction ADD_TOP_SORTED
public static EntityTableModel.InsertAction[] values()
for (EntityTableModel.InsertAction c : EntityTableModel.InsertAction.values()) System.out.println(c);
public static EntityTableModel.InsertAction valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null