Class LscTemplate

    • Constructor Detail

      • LscTemplate

        public LscTemplate​(Element prototype)
    • Method Detail

      • setLength

        public void setLength​(int y,
                              ViewWorkAround view)
        Set length between bottom of instance head and top of instance foot.
        Parameters:
        y - the height
        view - the work view
      • setLengthTo

        public void setLengthTo​(int y,
                                ViewWorkAround view)
        Parameters:
        y - the height
        view - the work view
      • getLength

        public int getLength()
      • createInstanceLine

        public InstanceLine createInstanceLine()
      • createPrechart

        public Prechart createPrechart()
      • createMessage

        public Message createMessage()
      • createCut

        public Cut createCut()
      • createCondition

        public Condition createCondition()
      • createUpdate

        public Update createUpdate()
      • getPrototypeFromParent

        public Element getPrototypeFromParent​(Element parent)
        Description copied from class: Element
        Return the proper prototype for this element stored in the parent. This is used by importInto().
        Specified by:
        getPrototypeFromParent in class AbstractTemplate
        Parameters:
        parent - - The parent element
        Returns:
        - The property
      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Returns a deep clone of the template. The source and target of any edges in the template are set to the corresponding clones of the locations of the template.
        Overrides:
        clone in class AbstractTemplate
        Returns:
        the new copy of this object.
        Throws:
        java.lang.CloneNotSupportedException - this object could not be cloned.
      • getYLocCoord

        public java.util.ArrayList<java.lang.Integer> getYLocCoord()
      • getType

        public java.lang.Object getType()
      • getMode

        public java.lang.Object getMode()