public class ChartFloatEditor extends AbstractFloatEditor implements DialogActionListener
| 构造器和说明 |
|---|
ChartFloatEditor()
Constructor
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
doCancel() |
void |
doOk() |
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, stopFloatEditingpublic java.lang.Object getFloatEditorValue()
throws java.lang.Exception
getFloatEditorValue 在接口中 FloatEditorjava.lang.Exceptionpublic java.awt.Component getFloatEditorComponent(Grid grid, FloatElement floatElement, int resolution)
FloatEditorfloatElement 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.getFloatEditorComponent 在接口中 FloatEditorgrid - the Grid that is asking the
editor to edit; can be nullfloatElement - the value of the FloatElement to be edited; it is
up to the specific editor to interpret
and draw the value.public void doOk()
doOk 在接口中 DialogActionListenerpublic void doCancel()
doCancel 在接口中 DialogActionListener