Package jmri.jmrit.logixng.tools.swing
Class InlineLogixNGsTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
jmri.jmrit.logixng.tools.swing.InlineLogixNGsTableModel
- All Implemented Interfaces:
Serializable,TableModel
Table model for inline LogixNGs.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>getColumnClass(int col) intgetColumnName(int col) static StringgetEditorName(InlineLogixNG inlineLogixNG) Get the filter to select which beans to include in the table.static StringgetPositionableName(InlineLogixNG inlineLogixNG) intstatic StringgetTypeName(InlineLogixNG inlineLogixNG) getValueAt(int rowIndex, int columnIndex) static intgetX(InlineLogixNG inlineLogixNG) static intgetY(InlineLogixNG inlineLogixNG) voidinit()booleanisCellEditable(int row, int col) voidsetColumnForMenu(JTable table) voidSet the filter to select which beans to include in the table.voidsetValueAt(Object value, int rowIndex, int columnIndex) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
Field Details
-
COLUMN_SYSTEM_NAME
- See Also:
-
COLUMN_USER_NAME
- See Also:
-
COLUMN_PANEL_NAME
- See Also:
-
COLUMN_POSITIONABLE_NAME
- See Also:
-
COLUMN_NAMED_BEAN
- See Also:
-
COLUMN_POS_X
- See Also:
-
COLUMN_POS_Y
- See Also:
-
COLUMN_MENU
- See Also:
-
NUM_COLUMNS
- See Also:
-
-
Constructor Details
-
InlineLogixNGsTableModel
public InlineLogixNGsTableModel()
-
-
Method Details
-
init
-
getLogixNGList
-
setFilter
Set the filter to select which beans to include in the table.- Parameters:
filter- the filter
-
getFilter
Get the filter to select which beans to include in the table.- Returns:
- the filter
-
getRowCount
-
getColumnCount
-
getColumnName
- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
getColumnClass
- Specified by:
getColumnClassin interfaceTableModel- Overrides:
getColumnClassin classAbstractTableModel
-
isCellEditable
- Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-
setValueAt
- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel
-
getValueAt
-
getEditorName
-
getTypeName
-
getPositionableName
-
getX
-
getY
-
setColumnForMenu
-