org.primefaces.model.mindmap
Class DefaultMindmapNode

java.lang.Object
  extended by org.primefaces.model.mindmap.DefaultMindmapNode
All Implemented Interfaces:
Serializable, MindmapNode

public class DefaultMindmapNode
extends Object
implements MindmapNode, Serializable

See Also:
Serialized Form

Constructor Summary
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
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMindmapNode

public DefaultMindmapNode()

DefaultMindmapNode

public DefaultMindmapNode(String label)

DefaultMindmapNode

public DefaultMindmapNode(String label,
                          Object data)

DefaultMindmapNode

public DefaultMindmapNode(String label,
                          Object data,
                          String fill)

DefaultMindmapNode

public DefaultMindmapNode(String label,
                          Object data,
                          String fill,
                          boolean selectable)
Method Detail

getLabel

public String getLabel()
Specified by:
getLabel in interface MindmapNode

setLabel

public void setLabel(String label)

getParent

public MindmapNode getParent()
Specified by:
getParent in interface MindmapNode

getData

public Object getData()
Specified by:
getData in interface MindmapNode

setData

public void setData(Object data)

setParent

public void setParent(MindmapNode parent)
Specified by:
setParent in interface MindmapNode

getFill

public String getFill()
Specified by:
getFill in interface MindmapNode

setFill

public void setFill(String fill)

addNode

public void addNode(MindmapNode node)
Specified by:
addNode in interface MindmapNode

isSelectable

public boolean isSelectable()
Specified by:
isSelectable in interface MindmapNode

setSelectable

public void setSelectable(boolean selectable)
Specified by:
setSelectable in interface MindmapNode

getChildren

public List<MindmapNode> getChildren()
Specified by:
getChildren in interface MindmapNode

setChildren

public void setChildren(List<MindmapNode> children)


Copyright © 2013. All rights reserved.