8225368: broken links in java.desktop files

Reviewed-by: serb
This commit is contained in:
Prasanta Sadhukhan 2019-06-10 10:52:11 +05:30
parent cb5aa60f49
commit 024c62ce0c
6 changed files with 14 additions and 12 deletions

View File

@ -2144,9 +2144,10 @@ public class Font implements java.io.Serializable
* Checks if this {@code Font} has a glyph for the specified * Checks if this {@code Font} has a glyph for the specified
* character. * character.
* *
* <p> <b>Note:</b> This method cannot handle <a * <p> <b>Note:</b> This method cannot handle
* href="../../java/lang/Character.html#supplementary"> supplementary * <a href="../../../java.base/java/lang/Character.html#supplementary">
* characters</a>. To support all Unicode characters, including * supplementary characters</a>.
* To support all Unicode characters, including
* supplementary characters, use the {@link #canDisplay(int)} * supplementary characters, use the {@link #canDisplay(int)}
* method or {@code canDisplayUpTo} methods. * method or {@code canDisplayUpTo} methods.
* *

View File

@ -317,8 +317,9 @@ public abstract class FontMetrics implements java.io.Serializable {
* of its characters. * of its characters.
* *
* <p><b>Note:</b> This method cannot handle <a * <p><b>Note:</b> This method cannot handle <a
* href="../lang/Character.html#supplementary"> supplementary * href="../../../java.base/java/lang/Character.html#supplementary">
* characters</a>. To support all Unicode characters, including * supplementary characters</a>.
* To support all Unicode characters, including
* supplementary characters, use the {@link #charWidth(int)} method. * supplementary characters, use the {@link #charWidth(int)} method.
* *
* @param ch the character to be measured * @param ch the character to be measured

View File

@ -65,12 +65,12 @@ here, and their value types.
</tr> </tr>
<tr> <tr>
<td><A href="#awt.font.desktophints">awt.font.desktophints</A></td> <td><A href="#awt.font.desktophints">awt.font.desktophints</A></td>
<td><a href="../../util/Map.html">java.util.Map</a></td> <td>{@link java.util.Map java.util.Map}</td>
<td>Font smoothing (text antialiasing) settings.</td> <td>Font smoothing (text antialiasing) settings.</td>
</tr> </tr>
<tr> <tr>
<td><A href="#sun.awt.enableExtraMouseButtons">sun.awt.enableExtraMouseButtons</A></td> <td><A href="#sun.awt.enableExtraMouseButtons">sun.awt.enableExtraMouseButtons</A></td>
<td><a href="../../lang/Boolean.html">java.lang.Boolean</a></td> <td>{@link java.lang.Boolean java.lang.Boolean}</td>
<td>Controls if mouse events from extra buttons are to be generated or not</td> <td>Controls if mouse events from extra buttons are to be generated or not</td>
</tr> </tr>
</table> </table>

View File

@ -191,7 +191,7 @@ and set the <code>ImageTypeSpecifier</code> using
with the ICC profile-based color space, then a second with the ICC profile-based color space, then a second
<code>ImageTypeSpecifier</code> derived from this inferred color <code>ImageTypeSpecifier</code> derived from this inferred color
space will be included in the space will be included in the
<a href="../../../../java/util/Iterator.html">Iterator</a> returned by {@link java.util.Iterator Iterator} returned by
<code>ImageReader.getImageTypes</code>. If the iterator contains <code>ImageReader.getImageTypes</code>. If the iterator contains
more than one type, the first one will be based on the ICC profile and the more than one type, the first one will be based on the ICC profile and the
second on the inferred color space.</p> second on the inferred color space.</p>

View File

@ -44,9 +44,9 @@ import java.io.Serializable;
* the IANA MIME-preferred name, or its canonical name if no preferred name is * the IANA MIME-preferred name, or its canonical name if no preferred name is
* specified. Additionally a few historical names supported by earlier * specified. Additionally a few historical names supported by earlier
* versions of the Java platform may be recognized. See * versions of the Java platform may be recognized. See
* <a href="../../java/lang/package-summary.html#charenc">character encodings * <a href="../../../java.base/java/lang/package-summary.html#charenc">
* </a> for more information on the character encodings supported on the Java * character encodings</a> for more information on the character encodings
* platform. * supported on the Java platform.
* <li><b>Representation class name.</b> This specifies the fully-qualified * <li><b>Representation class name.</b> This specifies the fully-qualified
* name of the class of the object from which the actual print data comes, as * name of the class of the object from which the actual print data comes, as
* returned by the {@link Class#getName() Class.getName()} method. (Thus the * returned by the {@link Class#getName() Class.getName()} method. (Thus the

View File

@ -137,7 +137,7 @@
* <a href="AttributeSet.html">AttributeSet</a> interface. * <a href="AttributeSet.html">AttributeSet</a> interface.
* <p> * <p>
* The {@code AttributeSet} interface is similar to the * The {@code AttributeSet} interface is similar to the
* <a href="../../../java/util/Map.html">Map</a> interface: it provides a map of * {@link java.util.Map Map} interface: it provides a map of
* key to values, in which each key is unique and can contain no more than one * key to values, in which each key is unique and can contain no more than one
* value. However, the {@code AttributeSet} interface is designed to * value. However, the {@code AttributeSet} interface is designed to
* specifically support the needs of the Java Print Service API. An * specifically support the needs of the Java Print Service API. An