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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classElementFactory.Type -
Field Summary
Fields Modifier and Type Field Description static intTOPIC_DEFAULT_HEIGHTstatic intTOPIC_DEFAULT_WIDTH -
Constructor Summary
Constructors Constructor Description ElementFactory(MindMap parent) -
Method Summary
Modifier and Type Method Description IMapNodecreateNode(Object... params)Creates a new node on the given parent.Methods inherited from class rs.edu.raf.dsw.rudok.app.repository.nodefactory.IMapNodeFactory
getParent
-
Field Details
-
TOPIC_DEFAULT_WIDTH
public static int TOPIC_DEFAULT_WIDTH -
TOPIC_DEFAULT_HEIGHT
public static int TOPIC_DEFAULT_HEIGHT
-
-
Constructor Details
-
ElementFactory
-
-
Method Details
-
createNode
Description copied from class:IMapNodeFactoryCreates a new node on the given parent. If no parent, only creates the node and assigns to no parent.- Specified by:
createNodein classIMapNodeFactory- Returns:
IMapNodenew node on the given parent.
-