fcmodeler.attributes
Class NodeShapeAttribute

java.lang.Object
  |
  +--fcmodeler.attributes.NodeShapeAttribute
All Implemented Interfaces:
VisualAttribute

public final class NodeShapeAttribute
extends java.lang.Object
implements VisualAttribute

The node shape visual attribute.

Since:
JDK1.3
Version:
$Revision: 1.2 $
Author:
Julie Dickerson , Zach Cox

Method Summary
 VisualAttributeEditor getEditor()
          Returns a node shape attribute editor.
static NodeShapeAttribute getInstance()
          Returns an instance of NodeShapeAttribute.
 VisualAttributeValue getValue(java.lang.String value)
          Returns a node shape value, using the specified string description.
 java.lang.String toString()
          Returns the string "node shape".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getEditor

public VisualAttributeEditor getEditor()
Returns a node shape attribute editor. The returned editor is guaranteed to be of type NodeShapeEditor.
Specified by:
getEditor in interface VisualAttribute
Returns:
a NodeShapeEditor.

getInstance

public static NodeShapeAttribute getInstance()
Returns an instance of NodeShapeAttribute.
Returns:
an instance of NodeShapeAttribute.

getValue

public VisualAttributeValue getValue(java.lang.String value)
Returns a node shape value, using the specified string description. The returned value is guaranteed to be of type NodeShapeValue.
Specified by:
getValue in interface VisualAttribute
Parameters:
value - the string description of the node shape value.
Returns:
a node shape value.

toString

public java.lang.String toString()
Returns the string "node shape".
Specified by:
toString in interface VisualAttribute
Overrides:
toString in class java.lang.Object
Returns:
the string "node shape".