Package mgui.interfaces.maps
Class DiscreteColourMapTable.Editor
java.lang.Object
javax.swing.AbstractCellEditor
mgui.interfaces.maps.DiscreteColourMapTable.Editor
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.util.EventListener
,javax.swing.CellEditor
,javax.swing.table.TableCellEditor
- Enclosing class:
- DiscreteColourMapTable
public class DiscreteColourMapTable.Editor
extends javax.swing.AbstractCellEditor
implements javax.swing.table.TableCellEditor, java.awt.event.ActionListener
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
Constructor Summary
Constructors Constructor Description Editor()
-
Method Summary
Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
java.lang.Object
getCellEditorValue()
java.awt.Component
getTableCellEditorComponent(javax.swing.JTable thisTable, java.lang.Object thisObj, boolean isSel, int row, int col)
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
-
Constructor Details
-
Editor
public Editor()
-
-
Method Details
-
getTableCellEditorComponent
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable thisTable, java.lang.Object thisObj, boolean isSel, int row, int col)- Specified by:
getTableCellEditorComponent
in interfacejavax.swing.table.TableCellEditor
-
getCellEditorValue
public java.lang.Object getCellEditorValue()- Specified by:
getCellEditorValue
in interfacejavax.swing.CellEditor
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
-