| 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. |
| 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. |