Lines Matching defs:Key

76  * subclass the associated {@link RenderingHints.Key} class.
80 * which subclass the {@code Key} class and defining the associated values.
94 public abstract static class Key {
99 // - the name of the subclass of Key
100 // - the identityHashCode of the subclass of Key
101 // - the integer key of the Key
113 private synchronized static void recordIdentity(Key k) {
117 Key otherkey = (Key) ((WeakReference) otherref).get();
127 // will replace the entry for the old Key subclass with
128 // an entry for the new Key subclass. At that time the
130 // a duplicate Key instance for it. We could bail out
148 * subclass of Key maintains its own unique domain of integer
153 * pre-existing instance of that subclass of Key.
156 protected Key(int privatekey) {
163 * for this Key.
172 * instantiated this Key with.
174 * instantiated this Key with.
181 * The hash code for all Key objects will be the same as the
190 * The equals method for all Key objects will return the same
219 public static final Key KEY_ANTIALIASING =
260 public static final Key KEY_RENDERING =
311 public static final Key KEY_DITHERING =
364 public static final Key KEY_TEXT_ANTIALIASING =
548 public static final Key KEY_TEXT_LCD_CONTRAST =
636 public static final Key KEY_FRACTIONALMETRICS =
693 public static final Key KEY_INTERPOLATION =
785 public static final Key KEY_ALPHA_INTERPOLATION =
861 public static final Key KEY_COLOR_RENDERING =
916 public static final Key KEY_STROKE_CONTROL =
963 public RenderingHints(Map<Key,?> init) {
975 public RenderingHints(Key key, Object value) {
1010 * be cast to <code>RenderingHints.Key</code>
1013 return hintmap.containsKey((Key) key);
1045 * be cast to <code>RenderingHints.Key</code>
1049 return hintmap.get((Key) key);
1065 * be cast to <code>RenderingHints.Key</code>
1067 * {@link Key#isCompatibleValue(java.lang.Object)
1068 * Key.isCompatibleValue()}
1074 if (!((Key) key).isCompatibleValue(value)) {
1079 return hintmap.put((Key) key, value);
1109 * be cast to <code>RenderingHints.Key</code>
1115 return hintmap.remove((Key) key);