Class DefaultOrgChartNode
java.lang.Object
org.primefaces.extensions.component.orgchart.DefaultOrgChartNode
- All Implemented Interfaces:
OrgChartNode
orgchart component.- Since:
- 6.3
- Version:
- $Revision$
- Author:
- @jxmai / last modified by $Author$
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultOrgChartNode(String name, String title) DefaultOrgChartNode(String id, String name, String title) DefaultOrgChartNode(String id, String name, String title, Object nodeData) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChild(OrgChartNode child) voidvoidbooleanintgetId()getName()getTitle()inthashCode()voidsetChildren(List<OrgChartNode> children) voidsetClassName(String className) voidvoidvoidsetNodeData(Object nodeData) voidsetParent(OrgChartNode parent) voidtoString()
-
Constructor Details
-
DefaultOrgChartNode
public DefaultOrgChartNode() -
DefaultOrgChartNode
-
DefaultOrgChartNode
-
DefaultOrgChartNode
-
-
Method Details
-
toString
-
hashCode
public int hashCode() -
equals
-
getId
- Specified by:
getIdin interfaceOrgChartNode
-
setId
- Specified by:
setIdin interfaceOrgChartNode
-
getName
- Specified by:
getNamein interfaceOrgChartNode
-
setName
- Specified by:
setNamein interfaceOrgChartNode
-
getTitle
- Specified by:
getTitlein interfaceOrgChartNode
-
setTitle
- Specified by:
setTitlein interfaceOrgChartNode
-
getChildren
- Specified by:
getChildrenin interfaceOrgChartNode
-
setChildren
- Specified by:
setChildrenin interfaceOrgChartNode
-
getParent
- Specified by:
getParentin interfaceOrgChartNode
-
setParent
- Specified by:
setParentin interfaceOrgChartNode
-
addChild
- Specified by:
addChildin interfaceOrgChartNode
-
clearChildren
public void clearChildren()- Specified by:
clearChildrenin interfaceOrgChartNode
-
clearParent
public void clearParent()- Specified by:
clearParentin interfaceOrgChartNode
-
getNodeData
-
setNodeData
-
getClassName
- Specified by:
getClassNamein interfaceOrgChartNode
-
setClassName
- Specified by:
setClassNamein interfaceOrgChartNode
-
getChildCount
public int getChildCount()- Specified by:
getChildCountin interfaceOrgChartNode
-