Package net.sf.freecol.client.gui.panel
Class PlayersTable.AvailableCellEditor
- java.lang.Object
-
- javax.swing.AbstractCellEditor
-
- net.sf.freecol.client.gui.panel.PlayersTable.AvailableCellEditor
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.CellEditor
,javax.swing.table.TableCellEditor
- Enclosing class:
- PlayersTable
private final class PlayersTable.AvailableCellEditor extends javax.swing.AbstractCellEditor implements javax.swing.table.TableCellEditor
-
-
Field Summary
Fields Modifier and Type Field Description private javax.swing.JComboBox<NationOptions.NationState>
activeBox
private javax.swing.JComboBox<NationOptions.NationState>
aiStateBox
private javax.swing.JComboBox<NationOptions.NationState>
allStateBox
-
Constructor Summary
Constructors Constructor Description AvailableCellEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private javax.swing.JComboBox<NationOptions.NationState>
getActiveBox(int row)
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
-
aiStateBox
private final javax.swing.JComboBox<NationOptions.NationState> aiStateBox
-
allStateBox
private final javax.swing.JComboBox<NationOptions.NationState> allStateBox
-
activeBox
private javax.swing.JComboBox<NationOptions.NationState> activeBox
-
-
Method Detail
-
getActiveBox
private javax.swing.JComboBox<NationOptions.NationState> getActiveBox(int row)
-
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
-
getCellEditorValue
public java.lang.Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interfacejavax.swing.CellEditor
-
-