Class ToolbarPreferences.ActionParametersTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- org.openstreetmap.josm.gui.preferences.ToolbarPreferences.ActionParametersTableModel
-
- All Implemented Interfaces:
Serializable
,TableModel
- Enclosing class:
- ToolbarPreferences
private static class ToolbarPreferences.ActionParametersTableModel extends AbstractTableModel
-
-
Field Summary
Fields Modifier and Type Field Description private ToolbarPreferences.ActionDefinition
currentAction
-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ActionParametersTableModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumnCount()
private ActionParameter<Object>
getParam(int index)
int
getRowCount()
Object
getValueAt(int rowIndex, int columnIndex)
boolean
isCellEditable(int row, int column)
void
setCurrentAction(ToolbarPreferences.ActionDefinition currentAction)
void
setValueAt(Object aValue, int rowIndex, int columnIndex)
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, removeTableModelListener
-
-
-
-
Field Detail
-
currentAction
private transient ToolbarPreferences.ActionDefinition currentAction
-
-
Constructor Detail
-
ActionParametersTableModel
private ActionParametersTableModel()
-
-
Method Detail
-
getColumnCount
public int getColumnCount()
-
getRowCount
public int getRowCount()
-
getParam
private ActionParameter<Object> getParam(int index)
-
getValueAt
public Object getValueAt(int rowIndex, int columnIndex)
-
isCellEditable
public boolean isCellEditable(int row, int column)
- Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classAbstractTableModel
-
setValueAt
public void setValueAt(Object aValue, int rowIndex, int columnIndex)
- Specified by:
setValueAt
in interfaceTableModel
- Overrides:
setValueAt
in classAbstractTableModel
-
setCurrentAction
public void setCurrentAction(ToolbarPreferences.ActionDefinition currentAction)
-
-