Class NodeTemplate
- java.lang.Object
-
- com.orchestranetworks.addon.dmdv.template.bean.NodeTemplate
-
public final class NodeTemplate extends java.lang.ObjectRepresents a node template that is a composition of elements and properties.- Since:
- 1.2.0
-
-
Constructor Summary
Constructors Constructor Description NodeTemplate()Constructs a newNodeTemplate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodePanelgetPanel()Returns the template's root panel.ShapeTypegetShapeType()Returns the shape type of the template.voidsetPanel(NodePanel panel)Sets a panel to be the template's root panel.voidsetShapeType(ShapeType shapeType)Sets template shape type.
-
-
-
Method Detail
-
getPanel
public NodePanel getPanel()
Returns the template's root panel.
-
setPanel
public void setPanel(NodePanel panel)
Sets a panel to be the template's root panel.- Parameters:
panel- a panel.
-
getShapeType
public ShapeType getShapeType()
Returns the shape type of the template.
-
setShapeType
public void setShapeType(ShapeType shapeType)
Sets template shape type. This defines the shape of the node.- Parameters:
shapeType- the shape type.
-
-