Class TextBoxFloatSingletonDOMElementFactory
- 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<Float,org.uberfire.ext.widgets.common.client.common.NumericFloatTextBox>
-
- org.drools.workbench.screens.guided.dtable.client.widget.table.columns.dom.textbox.TextBoxFloatSingletonDOMElementFactory
-
- All Implemented Interfaces:
org.uberfire.ext.wires.core.grids.client.widget.dom.DOMElementFactory<org.uberfire.ext.widgets.common.client.common.NumericFloatTextBox,TextBoxDOMElement<Float,org.uberfire.ext.widgets.common.client.common.NumericFloatTextBox>>,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.NumericFloatTextBox,TextBoxDOMElement<Float,org.uberfire.ext.widgets.common.client.common.NumericFloatTextBox>>
public class TextBoxFloatSingletonDOMElementFactory extends TextBoxSingletonDOMElementFactory<Float,org.uberfire.ext.widgets.common.client.common.NumericFloatTextBox>
-
-
Constructor Summary
Constructors Constructor Description TextBoxFloatSingletonDOMElementFactory(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(Float value)Convert from the given typed value to a StringFloatconvert(String value)Convert from the given String to a typed valueorg.uberfire.ext.widgets.common.client.common.NumericFloatTextBoxcreateWidget()-
Methods inherited from class org.drools.workbench.screens.guided.dtable.client.widget.table.columns.dom.textbox.TextBoxSingletonDOMElementFactory
createDomElementInternal, getValue
-
-
-
-
Constructor Detail
-
TextBoxFloatSingletonDOMElementFactory
public TextBoxFloatSingletonDOMElementFactory(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.NumericFloatTextBox createWidget()
-
convert
public String convert(Float value)
Description copied from class:SingleValueSingletonDOMElementFactoryConvert from the given typed value to a String- Specified by:
convertin classSingleValueSingletonDOMElementFactory<Float,org.uberfire.ext.widgets.common.client.common.NumericFloatTextBox,TextBoxDOMElement<Float,org.uberfire.ext.widgets.common.client.common.NumericFloatTextBox>>- Parameters:
value- The value to be converted- Returns:
- A String representing the type
-
convert
public Float convert(String value)
Description copied from class:SingleValueSingletonDOMElementFactoryConvert from the given String to a typed value- Specified by:
convertin classSingleValueSingletonDOMElementFactory<Float,org.uberfire.ext.widgets.common.client.common.NumericFloatTextBox,TextBoxDOMElement<Float,org.uberfire.ext.widgets.common.client.common.NumericFloatTextBox>>- Parameters:
value- The String to be converted- Returns:
- A typed value
-
-