public class DelegateEditor
extends javax.swing.AbstractCellEditor
implements javax.swing.table.TableCellEditor
| 限定符和类型 | 类和说明 |
|---|---|
protected class |
DelegateEditor.EditorDelegate |
| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
clickCountToStart |
protected DelegateEditor.EditorDelegate |
delegate |
protected javax.swing.JComponent |
editorComponent |
| 构造器和说明 |
|---|
DelegateEditor() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cancelCellEditing() |
java.lang.Object |
getCellEditorValue() |
int |
getClickCountToStart() |
java.awt.Component |
getComponent() |
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column) |
boolean |
isCellEditable(java.util.EventObject anEvent) |
void |
setClickCountToStart(int count) |
boolean |
shouldSelectCell(java.util.EventObject anEvent) |
boolean |
stopCellEditing() |
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListenerprotected javax.swing.JComponent editorComponent
protected DelegateEditor.EditorDelegate delegate
protected int clickCountToStart
public java.awt.Component getComponent()
public void setClickCountToStart(int count)
public int getClickCountToStart()
public java.lang.Object getCellEditorValue()
getCellEditorValue 在接口中 javax.swing.CellEditorpublic boolean isCellEditable(java.util.EventObject anEvent)
isCellEditable 在接口中 javax.swing.CellEditorisCellEditable 在类中 javax.swing.AbstractCellEditorpublic boolean shouldSelectCell(java.util.EventObject anEvent)
shouldSelectCell 在接口中 javax.swing.CellEditorshouldSelectCell 在类中 javax.swing.AbstractCellEditorpublic boolean stopCellEditing()
stopCellEditing 在接口中 javax.swing.CellEditorstopCellEditing 在类中 javax.swing.AbstractCellEditorpublic void cancelCellEditing()
cancelCellEditing 在接口中 javax.swing.CellEditorcancelCellEditing 在类中 javax.swing.AbstractCellEditorpublic java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
getTableCellEditorComponent 在接口中 javax.swing.table.TableCellEditor