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