Class ElementFactory

java.lang.Object
rs.edu.raf.dsw.rudok.app.repository.nodefactory.IMapNodeFactory
rs.edu.raf.dsw.rudok.app.repository.nodefactory.ElementFactory

public class ElementFactory
extends IMapNodeFactory

Element factory

Handles the creation of Element nodes with or without parent MindMaps.
  • Field Details

    • TOPIC_DEFAULT_WIDTH

      public static int TOPIC_DEFAULT_WIDTH
    • TOPIC_DEFAULT_HEIGHT

      public static int TOPIC_DEFAULT_HEIGHT
  • Constructor Details

    • ElementFactory

      public ElementFactory​(MindMap parent)
  • Method Details

    • createNode

      public IMapNode createNode​(Object... params)
      Description copied from class: IMapNodeFactory
      Creates a new node on the given parent. If no parent, only creates the node and assigns to no parent.
      Specified by:
      createNode in class IMapNodeFactory
      Returns:
      IMapNode new node on the given parent.