fcmodeler.attributes
Class VisualAttributeFactory

java.lang.Object
  |
  +--fcmodeler.attributes.VisualAttributeFactory

public final class VisualAttributeFactory
extends java.lang.Object

A factory for visual attributes.

Since:
JDK1.3
Version:
$Revision: 1.3 $
Author:
Zach Cox

Method Summary
 VisualAttribute getAttribute(java.lang.String attribute)
          Returns the visual attribute represented by the specified string.
 java.util.Collection getEdgeAttributes()
          Returns the collection of edge visual attributes.
static VisualAttributeFactory getInstance()
          Returns an instance of VisualAttributeFactory.
 java.util.Collection getNodeAttributes()
          Returns the collection of node visual attributes.
 java.util.Collection getVisualAttributes()
          Returns the collection of all visual attriubutes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAttribute

public VisualAttribute getAttribute(java.lang.String attribute)
Returns the visual attribute represented by the specified string.
Parameters:
attribute - the string representation of the visual attribute.
Returns:
the visual attribute represented by the specified string.

getEdgeAttributes

public java.util.Collection getEdgeAttributes()
Returns the collection of edge visual attributes.
Returns:
the collection of edge visual attributes.

getInstance

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

getNodeAttributes

public java.util.Collection getNodeAttributes()
Returns the collection of node visual attributes.
Returns:
the collection of edge visual attributes.

getVisualAttributes

public java.util.Collection getVisualAttributes()
Returns the collection of all visual attriubutes.
Returns:
the collection of all visual attributes.