Class TextBoxSingletonDOMElementFactory
- java.lang.Object
-
- org.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,org.gwtbootstrap3.client.ui.TextBox,TextBoxDOMElement>
-
- org.kie.workbench.common.dmn.client.widgets.grid.columns.factory.TextBoxSingletonDOMElementFactory
-
- All Implemented Interfaces:
org.uberfire.ext.wires.core.grids.client.widget.dom.DOMElementFactory<org.gwtbootstrap3.client.ui.TextBox,TextBoxDOMElement>,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.gwtbootstrap3.client.ui.TextBox,TextBoxDOMElement>
public class TextBoxSingletonDOMElementFactory extends org.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,org.gwtbootstrap3.client.ui.TextBox,TextBoxDOMElement>
-
-
Constructor Summary
Constructors Constructor Description TextBoxSingletonDOMElementFactory(DMNGridPanel gridPanel, org.uberfire.ext.wires.core.grids.client.widget.layer.GridLayer gridLayer, org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget gridWidget, org.kie.workbench.common.stunner.core.client.api.SessionManager sessionManager, org.kie.workbench.common.stunner.core.client.command.SessionCommandManager<org.kie.workbench.common.stunner.core.client.canvas.AbstractCanvasHandler> sessionCommandManager, Function<GridCellTuple,org.kie.workbench.common.stunner.core.command.Command> hasNoValueCommand, Function<GridCellValueTuple,org.kie.workbench.common.stunner.core.command.Command> hasValueCommand)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TextBoxDOMElementcreateDomElementInternal(org.gwtbootstrap3.client.ui.TextBox widget, org.uberfire.ext.wires.core.grids.client.widget.layer.GridLayer gridLayer, org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget gridWidget)org.gwtbootstrap3.client.ui.TextBoxcreateWidget()Function<GridCellTuple,org.kie.workbench.common.stunner.core.command.Command>getHasNoValueCommand()Function<GridCellValueTuple,org.kie.workbench.common.stunner.core.command.Command>getHasValueCommand()protected StringgetValue()
-
-
-
Constructor Detail
-
TextBoxSingletonDOMElementFactory
public TextBoxSingletonDOMElementFactory(DMNGridPanel gridPanel, org.uberfire.ext.wires.core.grids.client.widget.layer.GridLayer gridLayer, org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget gridWidget, org.kie.workbench.common.stunner.core.client.api.SessionManager sessionManager, org.kie.workbench.common.stunner.core.client.command.SessionCommandManager<org.kie.workbench.common.stunner.core.client.canvas.AbstractCanvasHandler> sessionCommandManager, Function<GridCellTuple,org.kie.workbench.common.stunner.core.command.Command> hasNoValueCommand, Function<GridCellValueTuple,org.kie.workbench.common.stunner.core.command.Command> hasValueCommand)
-
-
Method Detail
-
getHasNoValueCommand
public Function<GridCellTuple,org.kie.workbench.common.stunner.core.command.Command> getHasNoValueCommand()
-
getHasValueCommand
public Function<GridCellValueTuple,org.kie.workbench.common.stunner.core.command.Command> getHasValueCommand()
-
createWidget
public org.gwtbootstrap3.client.ui.TextBox createWidget()
-
createDomElementInternal
protected TextBoxDOMElement createDomElementInternal(org.gwtbootstrap3.client.ui.TextBox widget, org.uberfire.ext.wires.core.grids.client.widget.layer.GridLayer gridLayer, org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget gridWidget)
- Specified by:
createDomElementInternalin classorg.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,org.gwtbootstrap3.client.ui.TextBox,TextBoxDOMElement>
-
getValue
protected String getValue()
- Specified by:
getValuein classorg.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,org.gwtbootstrap3.client.ui.TextBox,TextBoxDOMElement>
-
-