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, removeCellEditorListener
protected 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.CellEditor
public boolean isCellEditable(java.util.EventObject anEvent)
isCellEditable
在接口中 javax.swing.CellEditor
isCellEditable
在类中 javax.swing.AbstractCellEditor
public boolean shouldSelectCell(java.util.EventObject anEvent)
shouldSelectCell
在接口中 javax.swing.CellEditor
shouldSelectCell
在类中 javax.swing.AbstractCellEditor
public boolean stopCellEditing()
stopCellEditing
在接口中 javax.swing.CellEditor
stopCellEditing
在类中 javax.swing.AbstractCellEditor
public void cancelCellEditing()
cancelCellEditing
在接口中 javax.swing.CellEditor
cancelCellEditing
在类中 javax.swing.AbstractCellEditor
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent
在接口中 javax.swing.table.TableCellEditor