Class Nail

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class Nail
    extends Node
    Nails models the graphical layout of edges. May have "x" and "y" properties.
    See Also:
    Edge, Element, Property, Serialized Form
    • Method Detail

      • accept

        public void accept​(Visitor visitor)
                    throws java.lang.Exception
        Description copied from class: Element
        Accept a visitor. This method is specialized in every subclass. Part of the visitor pattern.
        Overrides:
        accept in class Node
        Parameters:
        visitor - - The visitor
        Throws:
        java.lang.Exception - the visitor threw an exception.
      • getPrototypeFromParent

        public Element getPrototypeFromParent​(Element parent)
        Returns the #nail property value of the parent argument.
        Overrides:
        getPrototypeFromParent in class Element
        Parameters:
        parent - - The parent element
        Returns:
        The property element