Generated by
JDiff

Class org.jhotdraw.draw.AttributeKey

Added interface java.io.Serializable.
Documentation changed from old to new.

Removed Constructors
AttributeKey(String) Creates a new instance.
AttributeKey(String, T)  
AttributeKey(String, T, boolean)  
 

Added Constructors
AttributeKey(String, Class<T>) Creates a new instance with the specified attribute key, type token class, default value null, and allowing null values.
AttributeKey(String, Class<T>, T) Creates a new instance with the specified attribute key, type token class, and default value, and allowing null values.
AttributeKey(String, Class<T>, T, boolean) Creates a new instance with the specified attribute key, type token class, default value, and allowing or disallowing null values.
AttributeKey(String, Class<T>, T, boolean, ResourceBundleUtil) Creates a new instance with the specified attribute key, type token class, default value, and allowing or disallowing null values.
 

Added Methods
boolean equals(Object)  
String getPresentationName() Returns a localized human friendly presentation of the key.
int hashCode()  
T put(Map<AttributeKey, Object>, T) Use this method to perform a typeface put operation of an attribute into a Map.
 

Changed Methods
T getDefaultValue() Documentation changed from old to new.
Returns the default value of the attribute.
String getKey() Documentation changed from old to new.
Returns the key string.
boolean isAssignable(Object) Documentation changed from old to new.
Returns true if the specified value is assignable with this key.
boolean isNullValueAllowed() Documentation changed from old to new.
Returns true if null values are allowed.
UndoableEdit setUndoable(Figure, T) Change in signature from (Figure, T, ResourceBundleUtil) to (Figure, T).
Sets the attribute and returns an UndoableEditEvent which can be used to undo it.
String toString() Documentation changed from old to new.
Returns the key string.
void set(Map<AttributeKey, Object>, T) Documentation changed from old to new.
Use this method to perform a typeface put operation of an attribute into a Map.