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