Class VPlan

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      class  VPlan.VPlanType
      Plan type marker.
    • Field Summary

      • Fields inherited from class com.mxgraph.model.mxCell

        children, collapsed, connectable, edge, edges, geometry, id, parent, source, style, target, value, vertex, visible
    • Constructor Summary

      Constructors 
      Constructor Description
      VPlan​(IPlan plan, double x, double y)
      Creates a new plan node.
      VPlan​(IPlan plan, com.mxgraph.util.mxPoint position)
      Creates a new plan node.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      INode getNode()
      Returns the business model node.
      IPlan getPlan()
      Returns the business model plan.
      java.lang.String getPlanMode()
      Provides the mode of the associated plan.
      java.lang.Object getValue()
      Gets the value.
      boolean isFoldable()
      Tests if this element is collapsible (stylesheet must allow collapsing).
      void setGeometry​(com.mxgraph.model.mxGeometry geometry)
      Override to match type marker.
      void setValue​(java.lang.Object value)
      Sets the value.
      • Methods inherited from class com.mxgraph.model.mxCell

        clone, cloneValue, getAttribute, getAttribute, getChildAt, getChildCount, getEdgeAt, getEdgeCount, getEdgeIndex, getGeometry, getId, getIndex, getParent, getSource, getStyle, getTarget, getTerminal, insert, insert, insertEdge, isCollapsed, isConnectable, isEdge, isVertex, isVisible, remove, remove, removeEdge, removeFromParent, removeFromTerminal, setAttribute, setCollapsed, setConnectable, setEdge, setId, setParent, setSource, setStyle, setTarget, setTerminal, setVertex, setVisible
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VPlan

        public VPlan​(IPlan plan,
                     com.mxgraph.util.mxPoint position)
        Creates a new plan node.
        Parameters:
        plan - Business model plan.
        position - The position.
      • VPlan

        public VPlan​(IPlan plan,
                     double x,
                     double y)
        Creates a new plan node.
        Parameters:
        plan - Business model plan.
        x - The X-position.
        y - The Y-position.
    • Method Detail

      • getPlan

        public IPlan getPlan()
        Returns the business model plan.
        Returns:
        The plan.
      • getNode

        public INode getNode()
        Returns the business model node.
        Specified by:
        getNode in class VNode
        Returns:
        The node.
      • setValue

        public void setValue​(java.lang.Object value)
        Sets the value.
        Specified by:
        setValue in interface com.mxgraph.model.mxICell
        Overrides:
        setValue in class com.mxgraph.model.mxCell
        Parameters:
        value - The value.
      • getValue

        public java.lang.Object getValue()
        Gets the value.
        Specified by:
        getValue in interface com.mxgraph.model.mxICell
        Overrides:
        getValue in class com.mxgraph.model.mxCell
        Returns:
        The value.
      • isFoldable

        public boolean isFoldable()
        Tests if this element is collapsible (stylesheet must allow collapsing).
        Overrides:
        isFoldable in class VElement
        Returns:
        True, if collapsing is allowed.
      • setGeometry

        public void setGeometry​(com.mxgraph.model.mxGeometry geometry)
        Override to match type marker.
        Specified by:
        setGeometry in interface com.mxgraph.model.mxICell
        Overrides:
        setGeometry in class com.mxgraph.model.mxCell
      • getPlanMode

        public java.lang.String getPlanMode()
        Provides the mode of the associated plan.
        Specified by:
        getPlanMode in interface IPlanModeProvider
        Returns:
        Sequential, Parallel or null if undetermined.