Class ToolbarPreferences.ActionParametersTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- org.openstreetmap.josm.gui.preferences.ToolbarPreferences.ActionParametersTableModel
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.table.TableModel
- Enclosing class:
- ToolbarPreferences
private static final class ToolbarPreferences.ActionParametersTableModel extends javax.swing.table.AbstractTableModel
-
-
Field Summary
Fields Modifier and Type Field Description private ToolbarPreferences.ActionDefinition
currentAction
-
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<java.lang.Object>
getParam(int index)
int
getRowCount()
java.lang.Object
getValueAt(int rowIndex, int columnIndex)
boolean
isCellEditable(int row, int column)
void
setCurrentAction(ToolbarPreferences.ActionDefinition currentAction)
void
setValueAt(java.lang.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<java.lang.Object> getParam(int index)
-
getValueAt
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
-
isCellEditable
public boolean isCellEditable(int row, int column)
- Specified by:
isCellEditable
in interfacejavax.swing.table.TableModel
- Overrides:
isCellEditable
in classjavax.swing.table.AbstractTableModel
-
setValueAt
public void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
- Specified by:
setValueAt
in interfacejavax.swing.table.TableModel
- Overrides:
setValueAt
in classjavax.swing.table.AbstractTableModel
-
setCurrentAction
public void setCurrentAction(ToolbarPreferences.ActionDefinition currentAction)
-
-