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 class
ElementFactory.Type
-
Field Summary
Fields Modifier and Type Field Description static int
TOPIC_DEFAULT_HEIGHT
static int
TOPIC_DEFAULT_WIDTH
-
Constructor Summary
Constructors Constructor Description ElementFactory(MindMap parent)
-
Method Summary
Modifier and Type Method Description IMapNode
createNode(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: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 classIMapNodeFactory
- Returns:
IMapNode
new node on the given parent.
-