public class SubstitutionEditor
extends javax.swing.AbstractCellEditor
implements javax.swing.table.TableCellEditor, java.awt.event.ActionListener
Modifier and Type | Field and Description |
---|---|
protected int |
column |
protected Substitution |
currentSubstitution |
protected static java.lang.String |
EDIT |
protected AttackEditor |
editor |
protected Role |
role |
protected int |
row |
protected javax.swing.JTable |
table |
Constructor and Description |
---|
SubstitutionEditor(AttackEditor editor,
javax.swing.JTable table,
Role role) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
java.lang.Object |
getCellEditorValue() |
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column) |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
protected final AttackEditor editor
protected final javax.swing.JTable table
protected final Role role
protected int row
protected int column
protected Substitution currentSubstitution
protected static final java.lang.String EDIT
public SubstitutionEditor(AttackEditor editor, javax.swing.JTable table, Role role)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public java.lang.Object getCellEditorValue()
getCellEditorValue
in interface javax.swing.CellEditor
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent
in interface javax.swing.table.TableCellEditor