Class ScenarioGridLayer

  • All Implemented Interfaces:
    com.ait.lienzo.client.core.event.NodeMouseDownHandler, com.ait.lienzo.client.core.event.NodeMouseMoveHandler, com.ait.lienzo.client.core.event.NodeMouseUpHandler, com.ait.lienzo.client.core.shape.IContainer<com.ait.lienzo.client.core.shape.Layer,​com.ait.lienzo.client.core.shape.IPrimitive<?>>, com.ait.lienzo.client.core.shape.IDrawable<com.ait.lienzo.client.core.shape.Layer>, com.ait.lienzo.client.core.shape.json.IJSONSerializable<com.ait.lienzo.client.core.shape.Layer>, com.ait.tooling.nativetools.client.NObjectOnWire, com.google.gwt.event.shared.EventHandler, org.uberfire.ext.wires.core.grids.client.widget.layer.GridLayer, org.uberfire.ext.wires.core.grids.client.widget.layer.GridSelectionManager, org.uberfire.ext.wires.core.grids.client.widget.layer.GridWidgetRegistry, org.uberfire.ext.wires.core.grids.client.widget.layer.pinning.GridPinnedModeManager, org.uberfire.ext.wires.core.grids.client.widget.layer.pinning.IsPinnedModeAware

    public class ScenarioGridLayer
    extends org.uberfire.ext.wires.core.grids.client.widget.layer.impl.DefaultGridLayer
    ScenarioSimulation implementation of DefaultGridLayer.

    This layer contains a ScenarioGrid. It also has a reference to the containing ScenarioGridPanel to avoid circular references by CDI

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.ait.lienzo.client.core.shape.Layer

        com.ait.lienzo.client.core.shape.Layer.LayerFactory, com.ait.lienzo.client.core.shape.Layer.SelectionLayer
      • Nested classes/interfaces inherited from class com.ait.lienzo.client.core.shape.ContainerNode

        com.ait.lienzo.client.core.shape.ContainerNode.ContainerNodeFactory<C extends com.ait.lienzo.client.core.shape.json.IJSONSerializable<C> & com.ait.lienzo.client.core.shape.IContainer<C,​?>>
      • Nested classes/interfaces inherited from class com.ait.lienzo.client.core.shape.Node

        com.ait.lienzo.client.core.shape.Node.NodeFactory<N extends com.ait.lienzo.client.core.shape.json.IJSONSerializable<N>>
      • Nested classes/interfaces inherited from interface org.uberfire.ext.wires.core.grids.client.widget.layer.pinning.GridPinnedModeManager

        org.uberfire.ext.wires.core.grids.client.widget.layer.pinning.GridPinnedModeManager.PinnedContext
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.ait.lienzo.client.core.shape.Layer addScenarioGrid​(ScenarioGrid scenarioGrid)
      Add a ScenarioGrid to this Layer.
      ScenarioGrid getScenarioGrid()  
      ScenarioGridPanel getScenarioGridPanel()  
      void setScenarioGridPanel​(ScenarioGridPanel scenarioGridPanel)  
      • Methods inherited from class org.uberfire.ext.wires.core.grids.client.widget.layer.impl.DefaultGridLayer

        add, add, addOnEnterPinnedModeCommand, addOnExitPinnedModeCommand, batch, batch, deregister, draw, enterPinnedMode, exitPinnedMode, flipToGridWidget, getDefaultTransformMediator, getDomElementContainer, getGridWidgetConnectors, getGridWidgetDnDMouseDownHandler, getGridWidgetDnDMouseMoveHandler, getGridWidgetDnDMouseUpHandler, getGridWidgetHandlersState, getGridWidgets, getPinnedContext, getVisibleBounds, isGridPinned, onNodeMouseDown, onNodeMouseMove, onNodeMouseUp, refreshGridWidgetConnectors, register, remove, removeAll, scrollToGridWidget, select, selectLinkedColumn, setDomElementContainer, updatePinnedContext
      • Methods inherited from class com.ait.lienzo.client.core.shape.Layer

        asLayer, clear, doBatchScheduled, draw, find, findShapeAtPoint, getCanvasElement, getContext, getDefaultStorageEngine, getElement, getHeight, getLayer, getSelectionLayer, getTransformingAttributes, getWidth, isBatchScheduled, isClearLayerBeforeDraw, isSelection, isShowSelectionLayer, isTransformable, moveDown, moveToBottom, moveToTop, moveUp, removeFromParent, setClearLayerBeforeDraw, setListening, setOnLayerAfterDraw, setOnLayerBeforeDraw, setShowSelectionLayer, setTransformable, setVisible, toDataURL, toDataURL, toJSONObject, unBatchScheduled
      • Methods inherited from class com.ait.lienzo.client.core.shape.ContainerNode

        asContainer, asContainerNode, copy, drawWithoutTransforms, find, findByID, getBoundingBox, getBoundingBoxAttributes, getChildNodes, getChildNodes, getPathClipper, getStorageBounds, getStorageEngine, length, moveDown, moveToBottom, moveToTop, moveUp, setPathClipper, setStorageBounds, setStorageEngine
      • Methods inherited from class com.ait.lienzo.client.core.shape.Node

        addAttributesChangedHandler, addEnsureHandler, addNodeDragEndHandler, addNodeDragMoveHandler, addNodeDragStartHandler, addNodeGestureChangeHandler, addNodeGestureEndHandler, addNodeGestureStartHandler, addNodeMouseClickHandler, addNodeMouseDoubleClickHandler, addNodeMouseDownHandler, addNodeMouseEnterHandler, addNodeMouseExitHandler, addNodeMouseMoveHandler, addNodeMouseOutHandler, addNodeMouseOverHandler, addNodeMouseUpHandler, addNodeMouseWheelHandler, addNodeTouchCancelHandler, addNodeTouchEndHandler, addNodeTouchMoveHandler, addNodeTouchStartHandler, addParentsLocations, animate, animate, asAttributes, asAttributes, asGroup, asGroupOf, asGuide, asList, asMultiPointShape, asNode, asPrimitive, asScene, asShape, asViewport, cancelAttributesChangedBatcher, cast, copyUnchecked, doAnimating, drawWithTransforms, drawWithTransforms, equals, fireEvent, getAbsoluteLocation, getAbsoluteTransform, getAttributes, getAttributeSheet, getBoundingPoints, getBoundingPoints, getComputedBoundingPoints, getComputedLocation, getFactory, getID, getMetaData, getName, getNodeType, getOverLayer, getParent, getPossibleNodeTransform, getRequiredAttributes, getScene, getScratchPad, getUserData, getViewport, hashCode, hasMetaData, isAnimating, isEventHandled, isEventHandledGlobally, isListening, isVisible, onWire, refresh, setAttributesChangedBatcher, setID, setName, setNodeType, setParent, setUserData, toJSONString, toString, unAnimating, uuid
      • Methods inherited from interface com.ait.lienzo.client.core.shape.IContainer

        find, findByID, getChildNodes, getChildNodes, getDefaultStorageEngine, getPathClipper, getStorageBounds, getStorageEngine, length, moveDown, moveToBottom, moveToTop, moveUp, setPathClipper, setStorageBounds, setStorageEngine
      • Methods inherited from interface com.ait.lienzo.client.core.shape.IDrawable

        addAttributesChangedHandler, addNodeDragEndHandler, addNodeDragMoveHandler, addNodeDragStartHandler, addNodeGestureChangeHandler, addNodeGestureEndHandler, addNodeGestureStartHandler, addNodeMouseClickHandler, addNodeMouseDoubleClickHandler, addNodeMouseDownHandler, addNodeMouseEnterHandler, addNodeMouseExitHandler, addNodeMouseMoveHandler, addNodeMouseOutHandler, addNodeMouseOverHandler, addNodeMouseUpHandler, addNodeMouseWheelHandler, addNodeTouchCancelHandler, addNodeTouchEndHandler, addNodeTouchMoveHandler, addNodeTouchStartHandler, animate, animate, asContainer, asContainerNode, asGroup, asGroupOf, asGuide, asLayer, asMultiPointShape, asNode, asPrimitive, asScene, asShape, asViewport, cancelAttributesChangedBatcher, copy, drawWithTransforms, fireEvent, getAbsoluteLocation, getAbsoluteTransform, getAttributes, getAttributeSheet, getBoundingBox, getBoundingBoxAttributes, getBoundingPoints, getComputedBoundingPoints, getComputedLocation, getID, getLayer, getMetaData, getName, getNodeType, getOverLayer, getParent, getRequiredAttributes, getScene, getScratchPad, getTransformingAttributes, getUserData, getViewport, hasMetaData, isEventHandled, isListening, isVisible, moveDown, moveToBottom, moveToTop, moveUp, refresh, removeFromParent, setAttributesChangedBatcher, setID, setListening, setName, setUserData, setVisible, uuid
      • Methods inherited from interface com.ait.lienzo.client.core.shape.json.IJSONSerializable

        getFactory, toJSONObject, toJSONString
      • Methods inherited from interface com.ait.tooling.nativetools.client.NObjectOnWire

        onWire
    • Constructor Detail

      • ScenarioGridLayer

        public ScenarioGridLayer()
    • Method Detail

      • setScenarioGridPanel

        public void setScenarioGridPanel​(ScenarioGridPanel scenarioGridPanel)
      • addScenarioGrid

        public com.ait.lienzo.client.core.shape.Layer addScenarioGrid​(ScenarioGrid scenarioGrid)
        Add a ScenarioGrid to this Layer. If the child is a GridWidget then also add a Connector between the Grid Widget and any "linked" GridWidgets.
        Parameters:
        scenarioGrid - ScenarioGrid to add to the Layer
        Returns:
        The Layer