java.awt
Class RenderingHints.Key

java.lang.Object
java.awt.RenderingHints.Key
- Direct Known Subclasses:
- RenderingHints.KeyImpl
- Enclosing class:
- RenderingHints
- public abstract static class RenderingHints.Key
- extends java.lang.Object
The base class used to represent keys.
|
Field Summary |
private int |
key
|
|
Method Summary |
boolean |
equals(java.lang.Object other)
Checks this key for equality with an arbitrary object. |
int |
hashCode()
Returns a hash code for the key. |
protected int |
intKey()
Returns the private key for this instance. |
abstract boolean |
isCompatibleValue(java.lang.Object value)
Returns true if the specified value is compatible with
this key, and false otherwise. |
key
private final int key
RenderingHints.Key
protected RenderingHints.Key(int privateKey)
- Creates a new key.
isCompatibleValue
public abstract boolean isCompatibleValue(java.lang.Object value)
- Returns
true if the specified value is compatible with
this key, and false otherwise.
intKey
protected final int intKey()
- Returns the private key for this instance.
hashCode
public final int hashCode()
- Returns a hash code for the key.
equals
public final boolean equals(java.lang.Object other)
- Checks this key for equality with an arbitrary object.