Class Element

Direct Known Subclasses:
Connection, Topic

public class Element
extends IMapNode
  • Constructor Details

    • Element

      public Element​(String nodeName, int stroke, String color)
  • Method Details

    • getStroke

      public int getStroke()
    • setStroke

      public void setStroke​(int stroke)
    • getColor

      public String getColor()
    • setColor

      public void setColor​(String color)
    • setParents

      public void setParents​(Set<IMapNodeComposite> parents)
      Overrides:
      setParents in class IMapNode
    • addParent

      public void addParent​(IMapNodeComposite parent)
      Description copied from class: IMapNode
      Adds a parent to the node.
      Overrides:
      addParent in class IMapNode
      Parameters:
      parent - Node to add as parent.