public class TextBoxNumericSingletonDOMElementFactory extends TextBoxSingletonDOMElementFactory<Number,org.uberfire.ext.widgets.common.client.common.NumericBigDecimalTextBox>
Constructor and Description |
---|
TextBoxNumericSingletonDOMElementFactory(org.uberfire.ext.wires.core.grids.client.widget.layer.impl.GridLienzoPanel gridPanel,
org.uberfire.ext.wires.core.grids.client.widget.layer.GridLayer gridLayer,
GuidedDecisionTableView gridWidget) |
Modifier and Type | Method and Description |
---|---|
String |
convert(Number value)
Convert from the given typed value to a String
|
BigDecimal |
convert(String value)
Convert from the given String to a typed value
|
org.uberfire.ext.widgets.common.client.common.NumericBigDecimalTextBox |
createWidget() |
createDomElement, getValue
destroyResources, flush
public TextBoxNumericSingletonDOMElementFactory(org.uberfire.ext.wires.core.grids.client.widget.layer.impl.GridLienzoPanel gridPanel, org.uberfire.ext.wires.core.grids.client.widget.layer.GridLayer gridLayer, GuidedDecisionTableView gridWidget)
public org.uberfire.ext.widgets.common.client.common.NumericBigDecimalTextBox createWidget()
public String convert(Number value)
SingleValueSingletonDOMElementFactory
convert
in class SingleValueSingletonDOMElementFactory<Number,org.uberfire.ext.widgets.common.client.common.NumericBigDecimalTextBox,TextBoxDOMElement<Number,org.uberfire.ext.widgets.common.client.common.NumericBigDecimalTextBox>>
value
- The value to be convertedpublic BigDecimal convert(String value)
SingleValueSingletonDOMElementFactory
convert
in class SingleValueSingletonDOMElementFactory<Number,org.uberfire.ext.widgets.common.client.common.NumericBigDecimalTextBox,TextBoxDOMElement<Number,org.uberfire.ext.widgets.common.client.common.NumericBigDecimalTextBox>>
value
- The String to be convertedCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.