fcmodeler.attributes
Class DashAttribute

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

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

The dash visual attribute.

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

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

getInstance

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

getValue

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

toString

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