Package mgui.interfaces.attributes.table
Class AttributeCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
mgui.interfaces.attributes.table.AttributeCellEditor
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.util.EventListener
,javax.swing.CellEditor
,javax.swing.table.TableCellEditor
public class AttributeCellEditor
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 static java.lang.String
CMD_CHANGE_BOOL
static java.lang.String
CMD_CHANGE_COLOUR
static java.lang.String
CMD_CHANGE_SELECTION
static java.lang.String
CMD_CHANGE_STROKE
static java.lang.String
CMD_CHANGE_TEXT
static java.lang.String
CMD_CHANGE_TYPE
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
Constructor Summary
Constructors Constructor Description AttributeCellEditor()
-
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
-
Field Details
-
CMD_CHANGE_COLOUR
public static final java.lang.String CMD_CHANGE_COLOUR- See Also:
- Constant Field Values
-
CMD_CHANGE_BOOL
public static final java.lang.String CMD_CHANGE_BOOL- See Also:
- Constant Field Values
-
CMD_CHANGE_TEXT
public static final java.lang.String CMD_CHANGE_TEXT- See Also:
- Constant Field Values
-
CMD_CHANGE_TYPE
public static final java.lang.String CMD_CHANGE_TYPE- See Also:
- Constant Field Values
-
CMD_CHANGE_STROKE
public static final java.lang.String CMD_CHANGE_STROKE- See Also:
- Constant Field Values
-
CMD_CHANGE_SELECTION
public static final java.lang.String CMD_CHANGE_SELECTION- See Also:
- Constant Field Values
-
-
Constructor Details
-
AttributeCellEditor
public AttributeCellEditor()
-
-
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
-