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 TypeMethodDescriptionvoid
addChild
(OrgChartNode child) void
void
boolean
int
getId()
getName()
getTitle()
int
hashCode()
void
setChildren
(List<OrgChartNode> children) void
setClassName
(String className) void
void
void
setNodeData
(Object nodeData) void
setParent
(OrgChartNode parent) void
toString()
-
Constructor Details
-
DefaultOrgChartNode
public DefaultOrgChartNode() -
DefaultOrgChartNode
-
DefaultOrgChartNode
-
DefaultOrgChartNode
-
-
Method Details
-
toString
-
hashCode
public int hashCode() -
equals
-
getId
- Specified by:
getId
in interfaceOrgChartNode
-
setId
- Specified by:
setId
in interfaceOrgChartNode
-
getName
- Specified by:
getName
in interfaceOrgChartNode
-
setName
- Specified by:
setName
in interfaceOrgChartNode
-
getTitle
- Specified by:
getTitle
in interfaceOrgChartNode
-
setTitle
- Specified by:
setTitle
in interfaceOrgChartNode
-
getChildren
- Specified by:
getChildren
in interfaceOrgChartNode
-
setChildren
- Specified by:
setChildren
in interfaceOrgChartNode
-
getParent
- Specified by:
getParent
in interfaceOrgChartNode
-
setParent
- Specified by:
setParent
in interfaceOrgChartNode
-
addChild
- Specified by:
addChild
in interfaceOrgChartNode
-
clearChildren
public void clearChildren()- Specified by:
clearChildren
in interfaceOrgChartNode
-
clearParent
public void clearParent()- Specified by:
clearParent
in interfaceOrgChartNode
-
getNodeData
-
setNodeData
-
getClassName
- Specified by:
getClassName
in interfaceOrgChartNode
-
setClassName
- Specified by:
setClassName
in interfaceOrgChartNode
-
getChildCount
public int getChildCount()- Specified by:
getChildCount
in interfaceOrgChartNode
-