Package org.primefaces.model.mindmap
Class DefaultMindmapNode
- java.lang.Object
-
- org.primefaces.model.mindmap.DefaultMindmapNode
-
- All Implemented Interfaces:
Serializable
,MindmapNode
public class DefaultMindmapNode extends Object implements MindmapNode, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
DefaultMindmapNode
public DefaultMindmapNode()
-
DefaultMindmapNode
public DefaultMindmapNode(String label)
-
-
Method Detail
-
getLabel
public String getLabel()
- Specified by:
getLabel
in interfaceMindmapNode
-
setLabel
public void setLabel(String label)
-
getParent
public MindmapNode getParent()
- Specified by:
getParent
in interfaceMindmapNode
-
getData
public Object getData()
- Specified by:
getData
in interfaceMindmapNode
-
setData
public void setData(Object data)
-
setParent
public void setParent(MindmapNode parent)
- Specified by:
setParent
in interfaceMindmapNode
-
getFill
public String getFill()
- Specified by:
getFill
in interfaceMindmapNode
-
setFill
public void setFill(String fill)
-
addNode
public void addNode(MindmapNode node)
- Specified by:
addNode
in interfaceMindmapNode
-
isSelectable
public boolean isSelectable()
- Specified by:
isSelectable
in interfaceMindmapNode
-
setSelectable
public void setSelectable(boolean selectable)
- Specified by:
setSelectable
in interfaceMindmapNode
-
getChildren
public List<MindmapNode> getChildren()
- Specified by:
getChildren
in interfaceMindmapNode
-
setChildren
public void setChildren(List<MindmapNode> children)
-
-