public class DefaultMindmapNode extends Object implements MindmapNode, Serializable
Constructor and Description |
---|
DefaultMindmapNode() |
DefaultMindmapNode(String label) |
DefaultMindmapNode(String label,
Object data) |
DefaultMindmapNode(String label,
Object data,
String fill) |
DefaultMindmapNode(String label,
Object data,
String fill,
boolean selectable) |
Modifier and Type | Method and Description |
---|---|
void |
addNode(MindmapNode node) |
List<MindmapNode> |
getChildren() |
Object |
getData() |
String |
getFill() |
String |
getLabel() |
MindmapNode |
getParent() |
boolean |
isSelectable() |
void |
setChildren(List<MindmapNode> children) |
void |
setData(Object data) |
void |
setFill(String fill) |
void |
setLabel(String label) |
void |
setParent(MindmapNode parent) |
void |
setSelectable(boolean selectable) |
public DefaultMindmapNode()
public DefaultMindmapNode(String label)
public String getLabel()
getLabel
in interface MindmapNode
public void setLabel(String label)
public MindmapNode getParent()
getParent
in interface MindmapNode
public Object getData()
getData
in interface MindmapNode
public void setData(Object data)
public void setParent(MindmapNode parent)
setParent
in interface MindmapNode
public String getFill()
getFill
in interface MindmapNode
public void setFill(String fill)
public void addNode(MindmapNode node)
addNode
in interface MindmapNode
public boolean isSelectable()
isSelectable
in interface MindmapNode
public void setSelectable(boolean selectable)
setSelectable
in interface MindmapNode
public List<MindmapNode> getChildren()
getChildren
in interface MindmapNode
public void setChildren(List<MindmapNode> children)
Copyright © 2020. All rights reserved.