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