A style key represents a (key, class) pair. Style keys are used to access style
attributes defined in a BandStyleSheet or an ElementStyleSheet
Note that this class also defines a static Hashtable in which all defined keys are
stored.
author: Thomas Morgner See Also:BandStyleKeys See Also:ElementStyleSheet
Indicates whether some other object is "equal to" this one.
Parameters: o - the reference object with which to compare. true if this object is the same as the obj argument;false otherwise.
Returns the key with the specified name. The given type is not checked against a
possibly alredy defined definition, it is assumed that the type is only given for a
new key definition.
Parameters: name - the name. Parameters: valueType - the class. the style key.
getStyleKey
public static synchronized StyleKey getStyleKey(String name, Class valueType, boolean trans, boolean inheritable)(Code)
Returns the key with the specified name. The given type is not checked against a
possibly alredy defined definition, it is assumed that the type is only given for a
new key definition.
Parameters: name - the name. Parameters: valueType - the class. the style key.
Returns a hash code value for the object. This method is supported for the benefit of
hashtables such as those provided by java.util.Hashtable.
a hash code value for this object.