public abstract class AbstractCellEditor extends java.lang.Object implements CellEditor
构造器和说明 |
---|
AbstractCellEditor() |
AbstractCellEditor(ElementCasePane<? extends TemplateElementCase> ePane) |
限定符和类型 | 方法和说明 |
---|---|
void |
addCellEditorListener(CellEditorListener cellEditorListener)
Adds a listener to the list that's notified when the editor
stops, or cancels editing.
|
void |
cancelCellEditing()
Tells the editor to cancel editing and not accept any partially
edited value.
|
protected void |
fireEditingCanceled()
Fire editing canceled listeners.
|
protected void |
fireEditingStopped()
Fire editing stopped listeners.
|
java.awt.Point |
getLocationOnCellElement()
Gets the location of this component in the form of a point
specifying the component's top-left corner in the CellElement's
coordinate space.
|
void |
removeCellEditorListener(CellEditorListener cellEditorListener)
Removes a listener from the list that's notified
|
void |
setLocationOnCellElement(java.awt.Point loc)
Sets the location of this component in the form of a point
specifying the component's top-left corner in the CellElement's
coordinate space.
|
boolean |
stopCellEditing()
Tells the editor to stop editing and accept any partially edited
value as the value of the editor.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCellEditorComponent, getCellEditorValue
public AbstractCellEditor()
public AbstractCellEditor(ElementCasePane<? extends TemplateElementCase> ePane)
public java.awt.Point getLocationOnCellElement()
getLocationOnCellElement
在接口中 CellEditor
Point
representing
the top-left corner of the component's bounds in the
coordinate space of the CellElementpublic void setLocationOnCellElement(java.awt.Point loc)
setLocationOnCellElement
在接口中 CellEditor
loc
- an instance of Point
representing
the top-left corner of the component's bounds in the
coordinate space of the CellElementpublic boolean stopCellEditing()
stopCellEditing
在接口中 CellEditor
public void cancelCellEditing()
cancelCellEditing
在接口中 CellEditor
public void addCellEditorListener(CellEditorListener cellEditorListener)
addCellEditorListener
在接口中 CellEditor
cellEditorListener
- the CellEditorListenerpublic void removeCellEditorListener(CellEditorListener cellEditorListener)
removeCellEditorListener
在接口中 CellEditor
cellEditorListener
- the CellEditorListenerprotected void fireEditingStopped()
protected void fireEditingCanceled()