com.tensegrity.gui.template
Class Template

java.lang.Object
  extended bycom.tensegrity.gui.template.Template

public class Template
extends java.lang.Object

The class Template is a simple Wrapper class for the result of the TemplateBuilder. It encapsulates the name and the VisualNode.

Version:
$Id: Template.java,v 1.9 2004/07/21 16:23:32 GillesIachelini Exp $
Author:
GillesIachelini

Constructor Summary
Template()
          Empty default constructor for this class.
 
Method Summary
 java.lang.String getName()
          Returns the name of the template.
 VisualGraphObject getVisualGraphObject()
          Returns the VisualGraphObject representing this Template.
 void setName(java.lang.String string)
          Sets the name of the template.
 void setVisualGraphObject(VisualGraphObject visualgraphobject)
          Sets the VisualNode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Template

public Template()
Empty default constructor for this class.

Method Detail

getVisualGraphObject

public VisualGraphObject getVisualGraphObject()
Returns the VisualGraphObject representing this Template.

Returns:
a VisualGraphObject.

setVisualGraphObject

public void setVisualGraphObject(VisualGraphObject visualgraphobject)
Sets the VisualNode.

Parameters:
visualgraphobject - the new VisualGraphObject to set.

getName

public java.lang.String getName()
Returns the name of the template.

Returns:
the name of this template as String.

setName

public void setName(java.lang.String string)
Sets the name of the template.

Parameters:
string - the name of the template.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.