Class TextBoxDoubleSingletonDOMElementFactory
- java.lang.Object
-
- org.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<T,W,E>
-
- org.drools.workbench.screens.guided.dtable.client.widget.table.columns.dom.textbox.SingleValueSingletonDOMElementFactory<T,W,TextBoxDOMElement<T,W>>
-
- org.drools.workbench.screens.guided.dtable.client.widget.table.columns.dom.textbox.TextBoxSingletonDOMElementFactory<Double,org.uberfire.ext.widgets.common.client.common.NumericDoubleTextBox>
-
- org.drools.workbench.screens.guided.dtable.client.widget.table.columns.dom.textbox.TextBoxDoubleSingletonDOMElementFactory
-
- All Implemented Interfaces:
org.uberfire.ext.wires.core.grids.client.widget.dom.DOMElementFactory<org.uberfire.ext.widgets.common.client.common.NumericDoubleTextBox,TextBoxDOMElement<Double,org.uberfire.ext.widgets.common.client.common.NumericDoubleTextBox>>,org.uberfire.ext.wires.core.grids.client.widget.dom.HasDOMElementResources,org.uberfire.ext.wires.core.grids.client.widget.dom.single.HasSingletonDOMElementResource,org.uberfire.ext.wires.core.grids.client.widget.dom.single.SingletonDOMElementFactory<org.uberfire.ext.widgets.common.client.common.NumericDoubleTextBox,TextBoxDOMElement<Double,org.uberfire.ext.widgets.common.client.common.NumericDoubleTextBox>>
public class TextBoxDoubleSingletonDOMElementFactory extends TextBoxSingletonDOMElementFactory<Double,org.uberfire.ext.widgets.common.client.common.NumericDoubleTextBox>
-
-
Constructor Summary
Constructors Constructor Description TextBoxDoubleSingletonDOMElementFactory(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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringconvert(Double value)Convert from the given typed value to a StringDoubleconvert(String value)Convert from the given String to a typed valueorg.uberfire.ext.widgets.common.client.common.NumericDoubleTextBoxcreateWidget()-
Methods inherited from class org.drools.workbench.screens.guided.dtable.client.widget.table.columns.dom.textbox.TextBoxSingletonDOMElementFactory
createDomElementInternal, getValue
-
-
-
-
Constructor Detail
-
TextBoxDoubleSingletonDOMElementFactory
public TextBoxDoubleSingletonDOMElementFactory(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)
-
-
Method Detail
-
createWidget
public org.uberfire.ext.widgets.common.client.common.NumericDoubleTextBox createWidget()
-
convert
public String convert(Double value)
Description copied from class:SingleValueSingletonDOMElementFactoryConvert from the given typed value to a String- Specified by:
convertin classSingleValueSingletonDOMElementFactory<Double,org.uberfire.ext.widgets.common.client.common.NumericDoubleTextBox,TextBoxDOMElement<Double,org.uberfire.ext.widgets.common.client.common.NumericDoubleTextBox>>- Parameters:
value- The value to be converted- Returns:
- A String representing the type
-
convert
public Double convert(String value)
Description copied from class:SingleValueSingletonDOMElementFactoryConvert from the given String to a typed value- Specified by:
convertin classSingleValueSingletonDOMElementFactory<Double,org.uberfire.ext.widgets.common.client.common.NumericDoubleTextBox,TextBoxDOMElement<Double,org.uberfire.ext.widgets.common.client.common.NumericDoubleTextBox>>- Parameters:
value- The String to be converted- Returns:
- A typed value
-
-