fcmodeler.attributes
Class LineWidthAttribute

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

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

The line width visual attribute.

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

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

getInstance

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

getValue

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

toString

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