public static enum TableToolbar.ToolAction extends java.lang.Enum<TableToolbar.ToolAction>
| Enum Constant and Description | 
|---|
| ADD_COLUMNThis action is supported only for DefaultTableModel and 
 EditableTableModel. | 
| ADD_ROWThis action is supported only for DefaultTableModel and 
 EditableTableModel. | 
| ADD_ROW_AFTERThis action is supported only for DefaultTableModel and 
 EditableTableModel. | 
| ADD_ROW_BEFOREThis action is supported only for DefaultTableModel and 
 EditableTableModel. | 
| CLEARThis action is supported for all TableModels provided the 
 selected cell(s) are editable. | 
| COPYIf the table's TransferHandler supports copy action, this will invoke 
 the transferhandler's copy action. | 
| DELETE_COLUMNThis action is supported only for EditableTableModel. | 
| DELETE_ROWThis action is supported only for DefaultTableModel and 
 EditableTableModel. | 
| DUPLICATE_ROWThis action duplicates a row. | 
| PASTEIf 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