提交 7fa5b214 编写于 作者: Y yan

8025236: [javadoc] fix some errors in AWT

Reviewed-by: yan, anthony
Contributed-by: NDmitry Ginzburg <dmitry.ginzburg@oracle.com>
上级 f71e1235
......@@ -445,7 +445,7 @@ public abstract class InputEvent extends ComponentEvent {
* <PRE>
* int onmask = SHIFT_DOWN_MASK | BUTTON1_DOWN_MASK;
* int offmask = CTRL_DOWN_MASK;
* if ((event.getModifiersEx() & (onmask | offmask)) == onmask) {
* if ((event.getModifiersEx() &amp; (onmask | offmask)) == onmask) {
* ...
* }
* </PRE>
......
......@@ -146,12 +146,12 @@ import sun.awt.SunToolkit;
* {@link InputEvent#getMaskForButton(int) getMaskForButton(button)} method may be used
* as button masks.
* <p>
* <code>MOUSE_DRAGGED</code> events are delivered to the <code>Component</code>
* {@code MOUSE_DRAGGED} events are delivered to the {@code Component}
* in which the mouse button was pressed until the mouse button is released
* (regardless of whether the mouse position is within the bounds of the
* <code>Component</code>). Due to platform-dependent Drag&Drop implementations,
* <code>MOUSE_DRAGGED</code> events may not be delivered during a native
* Drag&Drop operation.
* {@code Component}). Due to platform-dependent Drag&amp;Drop implementations,
* {@code MOUSE_DRAGGED} events may not be delivered during a native
* Drag&amp;Drop operation.
*
* In a multi-screen environment mouse drag events are delivered to the
* <code>Component</code> even if the mouse position is outside the bounds of the
......@@ -327,7 +327,7 @@ public class MouseEvent extends InputEvent {
* For all other events the count will be 0.
*
* @serial
* @see #getClickCount().
* @see #getClickCount()
*/
int clickCount;
......@@ -403,7 +403,7 @@ public class MouseEvent extends InputEvent {
/**
* Initialize JNI field and method IDs for fields that may be
accessed from C.
* accessed from C.
*/
private static native void initIDs();
......
......@@ -118,7 +118,6 @@ public class InputContext {
* Otherwise, an input method or keyboard layout that supports the requested
* locale is selected in an implementation dependent way.</li>
*
* <p>
* </ul>
* Before switching away from an input method, any currently uncommitted text
* is committed. If no input method or keyboard layout supporting the requested
......
......@@ -51,8 +51,8 @@ import java.util.Map;
* mappings from abstract to concrete styles. Currently defined state values
* are raw (unconverted) and converted.
* These state values are recommended for use before and after the
* main conversion step of text composition, say, before and after kana->kanji
* or pinyin->hanzi conversion.
* main conversion step of text composition, say, before and after kana-&gt;kanji
* or pinyin-&gt;hanzi conversion.
* The <code>variation</code> field allows input methods to express additional
* information about the conversion results.
* <p>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册