Class Arrow


  • public class Arrow
    extends Component
    Author:
    jek
    • Constructor Detail

      • Arrow

        public Arrow​(java.lang.Integer x1,
                     java.lang.Integer y1,
                     java.lang.Integer x2,
                     java.lang.Integer y2)
        Constructor create Arrow Component.
        Parameters:
        x1 - x1
        y1 - y1
        x2 - x2
        y2 - y2
      • Arrow

        public Arrow​(Node n1,
                     Node n2)
        Instantiates a new arrow.
        Parameters:
        n1 - the n1
        n2 - the n2
    • Method Detail

      • renderComponent

        public java.lang.String renderComponent()
        Overrides:
        renderComponent in class Component
        Returns:
        rendered component Array