Class 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>
    • Field Summary

      • Fields inherited from class org.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory

        e, gridLayer, gridPanel, gridWidget, widget
    • 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)  
    • 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:
        createDomElementInternal in class org.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,​org.gwtbootstrap3.client.ui.TextBox,​TextBoxDOMElement>
      • getValue

        protected String getValue()
        Specified by:
        getValue in class org.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,​org.gwtbootstrap3.client.ui.TextBox,​TextBoxDOMElement>