@Dependent public class NumberParameterEditor extends Object implements FunctionParameterEditor
Modifier and Type | Class and Description |
---|---|
static interface |
NumberParameterEditor.View |
Constructor and Description |
---|
NumberParameterEditor(NumberParameterEditor.View view) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.user.client.ui.Widget |
asWidget() |
String |
format(Number n) |
Number |
getValue() |
Number |
parse(String s) |
void |
setFocus(boolean focus) |
void |
setOnChangeCommand(Command onChangeCommand) |
void |
setValue(Number input) |
void |
setWidth(int width) |
@Inject public NumberParameterEditor(NumberParameterEditor.View view)
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget
in interface com.google.gwt.user.client.ui.IsWidget
public void setOnChangeCommand(Command onChangeCommand)
public Number getValue()
public void setValue(Number input)
public void setWidth(int width)
public void setFocus(boolean focus)
setFocus
in interface FunctionParameterEditor
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.