Class DBLine


  • public class DBLine
    extends Object
    • Field Detail

      • x

        protected int x
      • y

        protected int y
      • x2

        protected int x2
      • y2

        protected int y2
      • dashed

        protected boolean dashed
      • startArrow

        protected boolean startArrow
      • endArrow

        protected boolean endArrow
      • color

        protected Color color
      • parentBorderID

        protected String parentBorderID
    • Constructor Detail

      • DBLine

        public DBLine​(String name,
                      int x,
                      int y,
                      int x2,
                      int y2,
                      boolean dashed,
                      boolean startArrow,
                      boolean endArrow,
                      Color color,
                      String parentBorderID)
        Insert the method's description here. Creation date: (23.4.2001 21:12:09)
        Parameters:
        name - name
        x - x
        y - y
        y2 - y2
        parentBorderID - parentBorderID
        dashed - dashed
        x2 - x2
        endArrow - endArrow
        color - color
        startArrow - startArrow
    • Method Detail

      • getColor

        public Color getColor()
        Returns the color.
        Returns:
        Color
      • isDashed

        public boolean isDashed()
        Returns the dashed.
        Returns:
        boolean
      • isEndArrow

        public boolean isEndArrow()
        Returns the endArrow.
        Returns:
        boolean
      • getName

        public String getName()
        Returns the name.
        Returns:
        String
      • isStartArrow

        public boolean isStartArrow()
        Returns the startArrow.
        Returns:
        boolean
      • getX

        public int getX()
        Returns the x.
        Returns:
        int
      • getX2

        public int getX2()
        Returns the x2.
        Returns:
        int
      • getY

        public int getY()
        Returns the y.
        Returns:
        int
      • getY2

        public int getY2()
        Returns the y2.
        Returns:
        int
      • setColor

        public void setColor​(Color color)
        Sets the color.
        Parameters:
        color - The color to set
      • setDashed

        public void setDashed​(boolean dashed)
        Sets the dashed.
        Parameters:
        dashed - The dashed to set
      • setEndArrow

        public void setEndArrow​(boolean endArrow)
        Sets the endArrow.
        Parameters:
        endArrow - The endArrow to set
      • setName

        public void setName​(String name)
        Sets the name.
        Parameters:
        name - The name to set
      • setStartArrow

        public void setStartArrow​(boolean startArrow)
        Sets the startArrow.
        Parameters:
        startArrow - The startArrow to set
      • setX

        public void setX​(int x)
        Sets the x.
        Parameters:
        x - The x to set
      • setX2

        public void setX2​(int x2)
        Sets the x2.
        Parameters:
        x2 - The x2 to set
      • setY

        public void setY​(int y)
        Sets the y.
        Parameters:
        y - The y to set
      • setY2

        public void setY2​(int y2)
        Sets the y2.
        Parameters:
        y2 - The y2 to set
      • getParentBorderID

        public String getParentBorderID()
        Returns:
        Returns the parentBorderID.
      • setParentBorderID

        public void setParentBorderID​(String parentBorderID)
        Parameters:
        parentBorderID - The parentBorderID to set.