public class ExtendedCellEditor extends DefaultCellEditor
JFileSelectorJMultipleFileSelectorJColorSelectorJListSelectorJMultilineTextEditorGenericEditorDefaultCellEditor.EditorDelegate| Modifier and Type | Field and Description |
|---|---|
static int |
BUTTON
The type for button editors.
|
static int |
CHECKBOX
The type for checkbox editors.
|
static int |
COLORSELECTOR
The type for color selector editors.
|
static int |
COMBOBOX
The type for combobox editors.
|
static int |
FILESELECTOR
The type for file selector editors.
|
static int |
GENERIC
The type for generic editors.
|
static int |
LISTSELECTOR
The type for list selector editors.
|
static int |
MULTIPLEFILESELECTOR
The type for multiple file selector editors.
|
static int |
SPINNER
The type for spinner editors.
|
static int |
TEXTEDITOR
The type for text editors.
|
static int |
TEXTFIELD
The type for textfield editors.
|
static int |
TOGGLEBUTTON
The type for toggle button editors.
|
clickCountToStart, delegate, editorComponentchangeEvent, listenerList| Constructor and Description |
|---|
ExtendedCellEditor()
Constructor, with a
JCheckBox. |
ExtendedCellEditor(GenericEditor b)
Constructor, with a
GenericEditor. |
ExtendedCellEditor(JButton b)
Constructor, with an
JButton. |
ExtendedCellEditor(JCheckBox b)
Constructor, with a
JCheckBox. |
ExtendedCellEditor(JColorSelector b)
Constructor, with a
JColorSelector. |
ExtendedCellEditor(JComboBox b)
Constructor, with a
JComboBox. |
ExtendedCellEditor(JFileSelector b)
Constructor, with a
JFileSelector. |
ExtendedCellEditor(JListSelector b)
Constructor, with a
JListSelector. |
ExtendedCellEditor(JMultilineTextEditor editor)
Constructor, with a
JMultilineTextEditor. |
ExtendedCellEditor(JMultipleFileSelector b)
Constructor, with a
JMultipleFileSelector. |
ExtendedCellEditor(JSpinner b)
Constructor, with a
JSpinner. |
ExtendedCellEditor(JTextField b)
Constructor, with a
JTextField. |
ExtendedCellEditor(JToggleButton b)
Constructor, with an
JToggleButton. |
| Modifier and Type | Method and Description |
|---|---|
void |
fireEditingStopped() |
Object |
getCellEditorValue() |
int |
getEditorType()
Return the editor type.
|
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditingaddCellEditorListener, fireEditingCanceled, getCellEditorListeners, removeCellEditorListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, removeCellEditorListenerpublic static final int TEXTFIELD
public static final int COMBOBOX
public static final int CHECKBOX
public static final int FILESELECTOR
public static final int MULTIPLEFILESELECTOR
public static final int BUTTON
public static final int COLORSELECTOR
public static final int LISTSELECTOR
public static final int SPINNER
public static final int TEXTEDITOR
public static final int GENERIC
public static final int TOGGLEBUTTON
public ExtendedCellEditor()
JCheckBox.public ExtendedCellEditor(JCheckBox b)
JCheckBox.b - the JCheckBoxpublic ExtendedCellEditor(JComboBox b)
JComboBox.b - the JComboBoxpublic ExtendedCellEditor(JTextField b)
JTextField.b - the JTextFieldpublic ExtendedCellEditor(GenericEditor b)
GenericEditor.b - the GenericEditorpublic ExtendedCellEditor(JSpinner b)
JSpinner.b - the JSpinnerpublic ExtendedCellEditor(JColorSelector b)
JColorSelector.b - the JColorSelectorpublic ExtendedCellEditor(JFileSelector b)
JFileSelector.b - the JFileSelectorpublic ExtendedCellEditor(JMultipleFileSelector b)
JMultipleFileSelector.b - the JMultipleFileSelectorpublic ExtendedCellEditor(JListSelector b)
JListSelector.b - the JListSelectorpublic ExtendedCellEditor(JMultilineTextEditor editor)
JMultilineTextEditor.editor - the JMultilineTextEditorpublic ExtendedCellEditor(JButton b)
JButton.b - the JButtonpublic ExtendedCellEditor(JToggleButton b)
JToggleButton.b - the JToggleButtonpublic void fireEditingStopped()
fireEditingStopped in class AbstractCellEditorpublic Object getCellEditorValue()
getCellEditorValue in interface CellEditorgetCellEditorValue in class DefaultCellEditorpublic int getEditorType()
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent in interface TableCellEditorgetTableCellEditorComponent in class DefaultCellEditor