public class TableActionManager
extends java.lang.Object
Constructor and Description |
---|
TableActionManager() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.Action |
changeRowsColumns(SimbrainJTable table)
Action for changing the number of rows and columns in the table.
|
static javax.swing.Action |
getAddColumnsAction(MutableTable table)
Action for adding columns to a jtable.
|
static javax.swing.Action |
getAddRowsAction(MutableTable table)
Action for adding rows to a table.
|
static javax.swing.Action |
getChangeTableStructureAction(SimbrainJTable table)
Action for setting table structure.
|
static javax.swing.Action |
getDeleteColumnAction(SimbrainJTable jtable)
Action for deleting a column from a jtable.
|
static javax.swing.Action |
getDeleteRowAction(SimbrainJTable jtable)
Action for deleting a row from to a jtable.
|
static javax.swing.Action |
getFillAction(SimbrainJTable table)
Action for filling a table with specific values.
|
static javax.swing.Action |
getInsertColumnAction(SimbrainJTable jtable)
Action for inserting a column in to a jtable.
|
static javax.swing.Action |
getInsertRowAction(SimbrainJTable table)
Action for inserting a row in to a jtable.
|
static javax.swing.Action |
getNormalizeAction(SimbrainJTable table)
Action for normalizing selected parts of a table.
|
static javax.swing.Action |
getOpenCSVAction(NumericTable table,
boolean allowRowChanges,
boolean allowColumnChanges)
Action for opening from comma separate value file.
|
static javax.swing.Action |
getOpenCSVAction(TextTable table,
boolean allowRowChanges,
boolean allowColumnChanges)
Action for opening text table from comma separated value file.
|
static javax.swing.Action |
getRandomizeAction(SimbrainJTable table)
Action for randomizing selected parts of a table.
|
static javax.swing.Action |
getSaveCSVAction(SimbrainDataTable table)
Action for saving to comma separated value file.
|
static javax.swing.Action |
getSetTableBoundsAction(NumericTable table)
Action for setting table bounds.
|
static javax.swing.Action |
getShuffleAction(SimbrainDataTable<?> table)
Action for shuffling the rows of a table.
|
static javax.swing.Action |
getZeroFillAction(SimbrainJTable table)
Action for zeroing out cells of a table.
|
public static javax.swing.Action getOpenCSVAction(NumericTable table, boolean allowRowChanges, boolean allowColumnChanges)
table
- table to load data in toallowRowChanges
- whether to allow number of rows to changeallowColumnChanges
- whether to allow number of columns to changepublic static javax.swing.Action getOpenCSVAction(TextTable table, boolean allowRowChanges, boolean allowColumnChanges)
table
- table to load data in toallowRowChanges
- whether to allow number of rows to changeallowColumnChanges
- whether to allow number of columns to changepublic static javax.swing.Action getSaveCSVAction(SimbrainDataTable table)
table
- table to load data in topublic static javax.swing.Action getRandomizeAction(SimbrainJTable table)
table
- table to randomizepublic static javax.swing.Action getNormalizeAction(SimbrainJTable table)
table
- table to normalizepublic static javax.swing.Action getSetTableBoundsAction(NumericTable table)
table
- table to adjust bounds onpublic static javax.swing.Action getChangeTableStructureAction(SimbrainJTable table)
table
- table to change structure ofpublic static javax.swing.Action changeRowsColumns(SimbrainJTable table)
table
- table to change structure ofpublic static javax.swing.Action getInsertRowAction(SimbrainJTable table)
table
- jtable to insert row into.public static javax.swing.Action getInsertColumnAction(SimbrainJTable jtable)
jtable
- table to insert column intopublic static javax.swing.Action getDeleteRowAction(SimbrainJTable jtable)
jtable
- table to delete a row frompublic static javax.swing.Action getDeleteColumnAction(SimbrainJTable jtable)
jtable
- table to delete column frompublic static javax.swing.Action getAddRowsAction(MutableTable table)
table
- table to add rows topublic static javax.swing.Action getAddColumnsAction(MutableTable table)
table
- table to insert column intopublic static javax.swing.Action getZeroFillAction(SimbrainJTable table)
table
- table to zero outpublic static javax.swing.Action getFillAction(SimbrainJTable table)
table
- table to fillpublic static javax.swing.Action getShuffleAction(SimbrainDataTable<?> table)
table
- table whose rows should be shuffled