public abstract class AbstractFloatEditor extends java.lang.Object implements FloatEditor
构造器和说明 |
---|
AbstractFloatEditor() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
acceptKeyEventToStartFloatEditing(java.awt.event.KeyEvent evt)
Accept keyevent to start editing.
|
void |
addFloatEditorListener(FloatEditorListener floatEditorListener)
Adds a listener to the list that's notified when the editor
stops, or cancels editing.
|
void |
cancelFloatEditing()
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.
|
void |
removeFloatEditorListener(FloatEditorListener floatEditorListener)
Removes a listener from the list that's notified
|
boolean |
stopFloatEditing()
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
getFloatEditorComponent, getFloatEditorValue
public boolean acceptKeyEventToStartFloatEditing(java.awt.event.KeyEvent evt)
acceptKeyEventToStartFloatEditing
在接口中 FloatEditor
public boolean stopFloatEditing()
stopFloatEditing
在接口中 FloatEditor
public void cancelFloatEditing()
cancelFloatEditing
在接口中 FloatEditor
public void addFloatEditorListener(FloatEditorListener floatEditorListener)
addFloatEditorListener
在接口中 FloatEditor
floatEditorListener
- the FloatEditorListenerpublic void removeFloatEditorListener(FloatEditorListener floatEditorListener)
removeFloatEditorListener
在接口中 FloatEditor
floatEditorListener
- the FloatEditorListenerprotected void fireEditingStopped()
protected void fireEditingCanceled()