Package jmri.jmrit.beantable
Class SectionTableAction.EntryPointTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- jmri.jmrit.beantable.SectionTableAction.EntryPointTableModel
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.table.TableModel
- Enclosing class:
- SectionTableAction
public class SectionTableAction.EntryPointTableModel extends javax.swing.table.AbstractTableModel
Table model for Entry Points in Create/Edit Section window.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
BLOCK_COLUMN
static int
DIRECTION_COLUMN
static int
TO_BLOCK_COLUMN
-
Constructor Summary
Constructors Constructor Description EntryPointTableModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
getColumnClass(int c)
int
getColumnCount()
java.lang.String
getColumnName(int col)
int
getPreferredWidth(int col)
int
getRowCount()
java.lang.Object
getValueAt(int r, int c)
boolean
isCellEditable(int r, int c)
void
setValueAt(java.lang.Object value, int row, int col)
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
-
-
-
Field Detail
-
BLOCK_COLUMN
public static final int BLOCK_COLUMN
- See Also:
- Constant Field Values
-
TO_BLOCK_COLUMN
public static final int TO_BLOCK_COLUMN
- See Also:
- Constant Field Values
-
DIRECTION_COLUMN
public static final int DIRECTION_COLUMN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EntryPointTableModel
public EntryPointTableModel()
-
-
Method Detail
-
getColumnClass
public java.lang.Class<?> getColumnClass(int c)
- Specified by:
getColumnClass
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnClass
in classjavax.swing.table.AbstractTableModel
-
getColumnCount
public int getColumnCount()
-
getRowCount
public int getRowCount()
-
isCellEditable
public boolean isCellEditable(int r, int c)
- Specified by:
isCellEditable
in interfacejavax.swing.table.TableModel
- Overrides:
isCellEditable
in classjavax.swing.table.AbstractTableModel
-
getColumnName
public java.lang.String getColumnName(int col)
- Specified by:
getColumnName
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnName
in classjavax.swing.table.AbstractTableModel
-
getPreferredWidth
public int getPreferredWidth(int col)
-
getValueAt
public java.lang.Object getValueAt(int r, int c)
-
setValueAt
public void setValueAt(java.lang.Object value, int row, int col)
- Specified by:
setValueAt
in interfacejavax.swing.table.TableModel
- Overrides:
setValueAt
in classjavax.swing.table.AbstractTableModel
-
-