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 MindmapNodepublic void setLabel(String label)
public MindmapNode getParent()
getParent in interface MindmapNodepublic Object getData()
getData in interface MindmapNodepublic void setData(Object data)
public void setParent(MindmapNode parent)
setParent in interface MindmapNodepublic String getFill()
getFill in interface MindmapNodepublic void setFill(String fill)
public void addNode(MindmapNode node)
addNode in interface MindmapNodepublic boolean isSelectable()
isSelectable in interface MindmapNodepublic void setSelectable(boolean selectable)
setSelectable in interface MindmapNodepublic List<MindmapNode> getChildren()
getChildren in interface MindmapNodepublic void setChildren(List<MindmapNode> children)
Copyright © 2020. All rights reserved.