Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.awt
Class RenderingHints.Key  view RenderingHints.Key download RenderingHints.Key.java

java.lang.Object
  extended byjava.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
           
 
Constructor Summary
protected RenderingHints.Key(int privateKey)
          Creates a new 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

private final int key
Constructor Detail

RenderingHints.Key

protected RenderingHints.Key(int privateKey)
Creates a new key.

Method Detail

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.