Class Nail

All Implemented Interfaces:
Serializable, 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 Details

    • accept

      public void accept​(Visitor visitor) throws 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:
      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