fcmodeler.attributes
Interface VisualAttributeValue

All Known Implementing Classes:
ColorValue, ConnectorEndValue, DashValue, FillValue, LineWidthValue, NodeShapeValue

public interface VisualAttributeValue

A specific value of a visual attribute. Implementations of this interface should provide three constructors: a default constructor, one with class-specific parameters, and one that accepts a String representation. In addition, implemenations should provide accessors for any relevant internal fields and a static factory method that accepts a String representation and returns an appropriate instance.

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

Method Summary
 boolean equals(java.lang.Object o)
          Compares the specified object with this visual attribute value for equality.
 VisualAttribute getAttribute()
           
 int hashCode()
          Returns the hash code for this visual attribute value.
 java.lang.String toString()
          Returns a string representation of this visual attribute value.
 

Method Detail

equals

public boolean equals(java.lang.Object o)
Compares the specified object with this visual attribute value for equality.
Overrides:
equals in class java.lang.Object
Parameters:
o - the object to be compared for equality with this visual attribute value.
Returns:
true if the specified object is equal to this visual attribute value.

getAttribute

public VisualAttribute getAttribute()

hashCode

public int hashCode()
Returns the hash code for this visual attribute value.
Overrides:
hashCode in class java.lang.Object
Returns:
the hash code for this visual attribute value.

toString

public java.lang.String toString()
Returns a string representation of this visual attribute value.
Overrides:
toString in class java.lang.Object
Returns:
a string representation of this visual attribute value.