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 voidaddNode(MindmapNode node)List<MindmapNode>getChildren()ObjectgetData()StringgetFill()StringgetLabel()MindmapNodegetParent()booleanisSelectable()voidsetChildren(List<MindmapNode> children)voidsetData(Object data)voidsetFill(String fill)voidsetLabel(String label)voidsetParent(MindmapNode parent)voidsetSelectable(boolean selectable)
-
-
-
Constructor Detail
-
DefaultMindmapNode
public DefaultMindmapNode()
-
DefaultMindmapNode
public DefaultMindmapNode(String label)
-
-
Method Detail
-
getLabel
public String getLabel()
- Specified by:
getLabelin interfaceMindmapNode
-
setLabel
public void setLabel(String label)
-
getParent
public MindmapNode getParent()
- Specified by:
getParentin interfaceMindmapNode
-
getData
public Object getData()
- Specified by:
getDatain interfaceMindmapNode
-
setData
public void setData(Object data)
-
setParent
public void setParent(MindmapNode parent)
- Specified by:
setParentin interfaceMindmapNode
-
getFill
public String getFill()
- Specified by:
getFillin interfaceMindmapNode
-
setFill
public void setFill(String fill)
-
addNode
public void addNode(MindmapNode node)
- Specified by:
addNodein interfaceMindmapNode
-
isSelectable
public boolean isSelectable()
- Specified by:
isSelectablein interfaceMindmapNode
-
setSelectable
public void setSelectable(boolean selectable)
- Specified by:
setSelectablein interfaceMindmapNode
-
getChildren
public List<MindmapNode> getChildren()
- Specified by:
getChildrenin interfaceMindmapNode
-
setChildren
public void setChildren(List<MindmapNode> children)
-
-