fcmodeler.attributes
Class DefaultNodeValues

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

public final class DefaultNodeValues
extends java.lang.Object

A factory for default node visual attribute values.

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

Method Summary
static ColorValue getColor()
          Returns the color value black.
static NodeVisualAttributeValue getDefault(VisualAttribute attribute)
          Returns the default value of the specified visual attribute.
static NodeVisualAttributeValue getDefault(VisualAttributeValue value)
          Returns the default value for the visual attribute of the specified visual attribute value.
static FillValue getFill()
          Returns the fill value white.
static NodeShapeValue getNodeShape()
          Returns the rectangle node shape value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getColor

public static ColorValue getColor()
Returns the color value black.
Returns:
the color value black.

getFill

public static FillValue getFill()
Returns the fill value white.
Returns:
the fill value white.

getDefault

public static NodeVisualAttributeValue getDefault(VisualAttribute attribute)
Returns the default value of the specified visual attribute.
Parameters:
attribute - the visual attribute.
Returns:
the default value of the visual attribute.

getDefault

public static NodeVisualAttributeValue getDefault(VisualAttributeValue value)
Returns the default value for the visual attribute of the specified visual attribute value.
Parameters:
value - the visual attribute value.
Returns:
the default visual attribute value.

getNodeShape

public static NodeShapeValue getNodeShape()
Returns the rectangle node shape value.
Returns:
the rectangle node shape value.