public class FormulaFloatEditor extends AbstractFloatEditor
构造器和说明 |
---|
FormulaFloatEditor()
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
java.awt.Component |
getFloatEditorComponent(Grid grid,
FloatElement floatElement,
int resolution)
Sets an initial
floatElement for the editor. |
java.lang.Object |
getFloatEditorValue()
Return the value of the FloatEditor.
|
acceptKeyEventToStartFloatEditing, addFloatEditorListener, cancelFloatEditing, fireEditingCanceled, fireEditingStopped, removeFloatEditorListener, stopFloatEditing
public java.lang.Object getFloatEditorValue() throws java.lang.Exception
java.lang.Exception
public java.awt.Component getFloatEditorComponent(Grid grid, FloatElement floatElement, int resolution)
floatElement
for the editor. This will cause
the editor to stopFloatEditing
and lose any partially
edited value if the editor is editing when this method is called. Returns the component that should be added to the client's
Component
hierarchy. Once installed in the client's
hierarchy this component will then be able to draw and receive
user input.grid
- the Grid
that is asking the
editor to edit; can be null
floatElement
- the value of the float to be edited; it is
up to the specific editor to interpret
and draw the value.