Package jmri.jmrit.logixng.tools.swing
Class InlineLogixNGsTableModel.MenuCellEditor
- java.lang.Object
-
- javax.swing.AbstractCellEditor
-
- jmri.jmrit.logixng.tools.swing.InlineLogixNGsTableModel.MenuCellEditor
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.util.EventListener
,javax.swing.CellEditor
,javax.swing.table.TableCellEditor
- Enclosing class:
- InlineLogixNGsTableModel
public static class InlineLogixNGsTableModel.MenuCellEditor extends javax.swing.AbstractCellEditor implements javax.swing.table.TableCellEditor, java.awt.event.ActionListener
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javax.swing.JTable
_table
(package private) InlineLogixNGsTableModel
_tableModel
-
Constructor Summary
Constructors Constructor Description MenuCellEditor(javax.swing.JTable table, InlineLogixNGsTableModel tableModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent event)
java.lang.Object
getCellEditorValue()
java.awt.Component
getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
-
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
-
-
-
-
Field Detail
-
_table
javax.swing.JTable _table
-
_tableModel
InlineLogixNGsTableModel _tableModel
-
-
Constructor Detail
-
MenuCellEditor
public MenuCellEditor(javax.swing.JTable table, InlineLogixNGsTableModel tableModel)
-
-
Method Detail
-
getCellEditorValue
public java.lang.Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interfacejavax.swing.CellEditor
-
getTableCellEditorComponent
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
- Specified by:
getTableCellEditorComponent
in interfacejavax.swing.table.TableCellEditor
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent event)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
-
-