Class ListBoxSingletonDOMElementFactory

  • All Implemented Interfaces:
    org.uberfire.ext.wires.core.grids.client.widget.dom.DOMElementFactory<com.google.gwt.user.client.ui.ListBox,​ListBoxDOMElement>, 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<com.google.gwt.user.client.ui.ListBox,​ListBoxDOMElement>

    public class ListBoxSingletonDOMElementFactory
    extends org.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,​com.google.gwt.user.client.ui.ListBox,​ListBoxDOMElement>
    • 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
      ListBoxSingletonDOMElementFactory​(org.uberfire.ext.wires.core.grids.client.widget.layer.impl.GridLienzoPanel 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

      • ListBoxSingletonDOMElementFactory

        public ListBoxSingletonDOMElementFactory​(org.uberfire.ext.wires.core.grids.client.widget.layer.impl.GridLienzoPanel 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 com.google.gwt.user.client.ui.ListBox createWidget()
      • getValue

        protected String getValue()
        Specified by:
        getValue in class org.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,​com.google.gwt.user.client.ui.ListBox,​ListBoxDOMElement>
      • createDomElementInternal

        protected ListBoxDOMElement createDomElementInternal​(com.google.gwt.user.client.ui.ListBox 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,​com.google.gwt.user.client.ui.ListBox,​ListBoxDOMElement>