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