Package Summary Overview Summary

### class:DefaultCellEditor [NONE]
- All Implemented Interfaces: Serializable, CellEditor, TableCellEditor, TreeCellEditor
      public class DefaultCellEditor
      extends AbstractCellEditor
      implements TableCellEditor, TreeCellEditor
The default editor for table and tree cells. Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the `java.beans` package. Please see `XMLEncoder`. Since: 1.2

### field:editorComponent [NONE]
- #### editorComponent
      protected JComponent editorComponent
The Swing component being edited.

### field:delegate [NONE]
- #### delegate
      protected DefaultCellEditor.EditorDelegate delegate
The delegate class which handles all methods sent from the `CellEditor`.

### field:clickCountToStart [NONE]
- #### clickCountToStart
      protected int clickCountToStart
An integer specifying the number of clicks needed to start editing. Even if `clickCountToStart` is defined as zero, it will not initiate until a click occurs.

### constructor:DefaultCellEditor(javax.swing.JTextField) [NONE]
- #### DefaultCellEditor
      @ConstructorProperties(value="component")
      public DefaultCellEditor(JTextField textField)
Constructs a `DefaultCellEditor` that uses a text field. Parameters: `textField` - a `JTextField` object

### constructor:DefaultCellEditor(javax.swing.JCheckBox) [NONE]
- #### DefaultCellEditor
      public DefaultCellEditor(JCheckBox checkBox)
Constructs a `DefaultCellEditor` object that uses a check box. Parameters: `checkBox` - a `JCheckBox` object

### constructor:DefaultCellEditor(javax.swing.JComboBox) [NONE]
- #### DefaultCellEditor
      public DefaultCellEditor(JComboBox<?> comboBox)
Constructs a `DefaultCellEditor` object that uses a combo box. Parameters: `comboBox` - a `JComboBox` object

### method:getComponent() [NONE]
- #### getComponent
      public Component getComponent()
Returns a reference to the editor component. Returns: the editor `Component`

### method:setClickCountToStart(int) [NONE]
- #### setClickCountToStart
      public void setClickCountToStart(int count)
Specifies the number of clicks needed to start editing. Parameters: `count` - an int specifying the number of clicks needed to start editing See Also: `getClickCountToStart()`

### method:getClickCountToStart() [NONE]
- #### getClickCountToStart
      public int getClickCountToStart()
Returns the number of clicks needed to start editing. Returns: the number of clicks needed to start editing

### method:getCellEditorValue() [NONE]
- #### getCellEditorValue
      public Object getCellEditorValue()
Forwards the message from the `CellEditor` to the `delegate`. Specified by: `getCellEditorValue` in interface `CellEditor` Returns: the value contained in the editor See Also: `DefaultCellEditor.EditorDelegate.getCellEditorValue()`

### method:isCellEditable(java.util.EventObject) [NONE]
- #### isCellEditable
      public boolean isCellEditable(EventObject anEvent)
Forwards the message from the `CellEditor` to the `delegate`. Specified by: `isCellEditable` in interface `CellEditor` Overrides: `isCellEditable` in class `AbstractCellEditor` Parameters: `anEvent` - an event object Returns: true See Also: `DefaultCellEditor.EditorDelegate.isCellEditable(EventObject)`

### method:shouldSelectCell(java.util.EventObject) [NONE]
- #### shouldSelectCell
      public boolean shouldSelectCell(EventObject anEvent)
Forwards the message from the `CellEditor` to the `delegate`. Specified by: `shouldSelectCell` in interface `CellEditor` Overrides: `shouldSelectCell` in class `AbstractCellEditor` Parameters: `anEvent` - an event object Returns: true See Also: `DefaultCellEditor.EditorDelegate.shouldSelectCell(EventObject)`

### method:stopCellEditing() [NONE]
- #### stopCellEditing
      public boolean stopCellEditing()
Forwards the message from the `CellEditor` to the `delegate`. Specified by: `stopCellEditing` in interface `CellEditor` Overrides: `stopCellEditing` in class `AbstractCellEditor` Returns: true See Also: `DefaultCellEditor.EditorDelegate.stopCellEditing()`

### method:cancelCellEditing() [NONE]
- #### cancelCellEditing
      public void cancelCellEditing()
Forwards the message from the `CellEditor` to the `delegate`. Specified by: `cancelCellEditing` in interface `CellEditor` Overrides: `cancelCellEditing` in class `AbstractCellEditor` See Also: `DefaultCellEditor.EditorDelegate.cancelCellEditing()`

### method:getTreeCellEditorComponent(javax.swing.JTree, java.lang.Object, boolean, boolean, boolean, int) [NONE]
- #### getTreeCellEditorComponent
      public Component getTreeCellEditorComponent(JTree tree,
                                                  Object value,
                                                  boolean isSelected,
                                                  boolean expanded,
                                                  boolean leaf,
                                                  int row)
Implements the `TreeCellEditor` interface. Specified by: `getTreeCellEditorComponent` in interface `TreeCellEditor` Parameters: `tree` - the JTree that is asking the editor to edit; this parameter can be null `value` - the value of the cell to be edited `isSelected` - true if the cell is to be rendered with selection highlighting `expanded` - true if the node is expanded `leaf` - true if the node is a leaf node `row` - the row index of the node being edited Returns: the component for editing

### method:getTableCellEditorComponent(javax.swing.JTable, java.lang.Object, boolean, int, int) [NONE]
- #### getTableCellEditorComponent
      public Component getTableCellEditorComponent(JTable table,
                                                   Object value,
                                                   boolean isSelected,
                                                   int row,
                                                   int column)
Implements the `TableCellEditor` interface. Specified by: `getTableCellEditorComponent` in interface `TableCellEditor` Parameters: `table` - the `JTable` that is asking the editor to edit; can be `null` `value` - the value of the cell to be edited; it is up to the specific editor to interpret and draw the value. For example, if value is the string "true", it could be rendered as a string or it could be rendered as a check box that is checked. `null` is a valid value `isSelected` - true if the cell is to be rendered with highlighting `row` - the row of the cell being edited `column` - the column of the cell being edited Returns: the component for editing