fcmodeler.attributes
Class FillAttribute

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

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

The fill visual attribute.

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

Method Summary
 VisualAttributeEditor getEditor()
          Returns a fill attribute editor.
static FillAttribute getInstance()
          Returns an instance of FillAttribute.
 VisualAttributeValue getValue(java.lang.String value)
          Returns a fill value, using the specified string description.
 java.lang.String toString()
          Returns the string "fill".
 
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 fill attribute editor. The returned editor is guaranteed to be of type FillEditor.
Specified by:
getEditor in interface VisualAttribute
Returns:
a FillEditor.

getInstance

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

getValue

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

toString

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