Lines Matching refs: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 static synchronized 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
141 identitymap.put(identity, new WeakReference<Key>(k));
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 =
970 public static final Key KEY_RESOLUTION_VARIANT =
1021 public RenderingHints(Map<Key,?> init) {
1033 public RenderingHints(Key key, Object value) {
1068 * be cast to {@code RenderingHints.Key}
1071 return hintmap.containsKey((Key) key);
1103 * be cast to {@code RenderingHints.Key}
1107 return hintmap.get((Key) key);
1123 * be cast to {@code RenderingHints.Key}
1125 * {@link Key#isCompatibleValue(java.lang.Object)
1126 * Key.isCompatibleValue()}
1132 if (!((Key) key).isCompatibleValue(value)) {
1137 return hintmap.put((Key) key, value);
1167 * be cast to {@code RenderingHints.Key}
1173 return hintmap.remove((Key) key);