public static enum TableToolbar.ToolAction extends java.lang.Enum<TableToolbar.ToolAction>
| Enum Constant and Description | 
|---|
ADD_COLUMN
This action is supported only for DefaultTableModel and 
 EditableTableModel. 
 | 
ADD_ROW
This action is supported only for DefaultTableModel and 
 EditableTableModel. 
 | 
ADD_ROW_AFTER
This action is supported only for DefaultTableModel and 
 EditableTableModel. 
 | 
ADD_ROW_BEFORE
This action is supported only for DefaultTableModel and 
 EditableTableModel. 
 | 
CLEAR
This action is supported for all TableModels provided the 
 selected cell(s) are editable. 
 | 
COPY
If the table's TransferHandler supports copy action, this will invoke 
 the transferhandler's copy action. 
 | 
DELETE_COLUMN
This action is supported only for EditableTableModel. 
 | 
DELETE_ROW
This action is supported only for DefaultTableModel and 
 EditableTableModel. 
 | 
DUPLICATE_ROW
This action duplicates a row. 
 | 
PASTE
If the table's TransferHandler supports paste action, this will invoke 
 the transferhandler's paste action. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static TableToolbar.ToolAction | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static TableToolbar.ToolAction[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final TableToolbar.ToolAction ADD_ROW
public static final TableToolbar.ToolAction ADD_ROW_BEFORE
public static final TableToolbar.ToolAction ADD_ROW_AFTER
public static final TableToolbar.ToolAction ADD_COLUMN
public static final TableToolbar.ToolAction DELETE_ROW
public static final TableToolbar.ToolAction DELETE_COLUMN
public static final TableToolbar.ToolAction CLEAR
public static final TableToolbar.ToolAction COPY
public static final TableToolbar.ToolAction PASTE
public static final TableToolbar.ToolAction DUPLICATE_ROW
public static TableToolbar.ToolAction[] values()
for (TableToolbar.ToolAction c : TableToolbar.ToolAction.values()) System.out.println(c);
public static TableToolbar.ToolAction 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