public class ProjectStartupTasksTableModel extends javax.swing.table.AbstractTableModel implements EditableModel
| Modifier and Type | Class and Description |
|---|---|
static class |
ProjectStartupTasksTableModel.RunnerAndConfigurationSettingsComparator |
| Modifier and Type | Field and Description |
|---|---|
static int |
IS_SHARED_COLUMN |
static int |
NAME_COLUMN |
| Constructor and Description |
|---|
ProjectStartupTasksTableModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguration(RunnerAndConfigurationSettings configuration) |
void |
addRow() |
boolean |
canExchangeRows(int oldIndex,
int newIndex) |
void |
exchangeRows(int oldIndex,
int newIndex) |
java.util.List<RunnerAndConfigurationSettings> |
getAllConfigurations() |
java.lang.Class<?> |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
java.lang.String |
getColumnName(int column) |
int |
getRowCount() |
java.util.Set<RunnerAndConfigurationSettings> |
getSharedConfigurations() |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
removeRow(int idx)
Remove row with index
idx and fire DELETE event (e.g. |
void |
reValidateConfigurations(Processor<? super RunnerAndConfigurationSettings> existenceChecker) |
void |
setData(java.util.Collection<? extends RunnerAndConfigurationSettings> shared,
java.util.Collection<? extends RunnerAndConfigurationSettings> local) |
void |
setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListenerpublic static final int NAME_COLUMN
public static final int IS_SHARED_COLUMN
public void setData(java.util.Collection<? extends RunnerAndConfigurationSettings> shared, java.util.Collection<? extends RunnerAndConfigurationSettings> local)
public void addRow()
addRow in interface EditableModelpublic void exchangeRows(int oldIndex,
int newIndex)
exchangeRows in interface EditableModelpublic boolean canExchangeRows(int oldIndex,
int newIndex)
canExchangeRows in interface EditableModelpublic void removeRow(int idx)
ItemRemovableidx and fire DELETE event (e.g. by calling
AbstractTableModel.fireTableRowsDeleted(int, int))removeRow in interface ItemRemovablepublic int getRowCount()
getRowCount in interface javax.swing.table.TableModelpublic int getColumnCount()
getColumnCount in interface javax.swing.table.TableModelpublic java.lang.Class<?> getColumnClass(int columnIndex)
getColumnClass in interface javax.swing.table.TableModelgetColumnClass in class javax.swing.table.AbstractTableModelpublic java.lang.Object getValueAt(int rowIndex,
int columnIndex)
getValueAt in interface javax.swing.table.TableModelpublic void setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex)
setValueAt in interface javax.swing.table.TableModelsetValueAt in class javax.swing.table.AbstractTableModelpublic java.lang.String getColumnName(int column)
getColumnName in interface javax.swing.table.TableModelgetColumnName in class javax.swing.table.AbstractTableModelpublic boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface javax.swing.table.TableModelisCellEditable in class javax.swing.table.AbstractTableModelpublic void addConfiguration(RunnerAndConfigurationSettings configuration)
public java.util.Set<RunnerAndConfigurationSettings> getSharedConfigurations()
public java.util.List<RunnerAndConfigurationSettings> getAllConfigurations()
public void reValidateConfigurations(Processor<? super RunnerAndConfigurationSettings> existenceChecker)