Class NodeTemplate
java.lang.Object
com.orchestranetworks.addon.dmdv.template.bean.NodeTemplate
Represents a node template that is a composition of elements and properties.
- Since:
 - 1.2.0
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetPanel()Returns the template's root panel.Returns the shape type of the template.voidSets a panel to be the template's root panel.voidsetShapeType(ShapeType shapeType) Sets template shape type. 
- 
Constructor Details
- 
NodeTemplate
public NodeTemplate()Constructs a newNodeTemplate. The default shape type and name areROUNDED_RECTANGLEandROOT_PANEL, respectively. 
 - 
 - 
Method Details
- 
getPanel
Returns the template's root panel. - 
setPanel
Sets a panel to be the template's root panel.- Parameters:
 panel- a panel.
 - 
getShapeType
Returns the shape type of the template. - 
setShapeType
Sets template shape type. This defines the shape of the node.- Parameters:
 shapeType- the shape type.
 
 -