8025236: [javadoc] fix some errors in AWT
Reviewed-by: yan, anthony
This commit is contained in:
parent
f00b2dd7ad
commit
241991b07e
@ -445,7 +445,7 @@ public abstract class InputEvent extends ComponentEvent {
|
|||||||
* <PRE>
|
* <PRE>
|
||||||
* int onmask = SHIFT_DOWN_MASK | BUTTON1_DOWN_MASK;
|
* int onmask = SHIFT_DOWN_MASK | BUTTON1_DOWN_MASK;
|
||||||
* int offmask = CTRL_DOWN_MASK;
|
* int offmask = CTRL_DOWN_MASK;
|
||||||
* if ((event.getModifiersEx() & (onmask | offmask)) == onmask) {
|
* if ((event.getModifiersEx() & (onmask | offmask)) == onmask) {
|
||||||
* ...
|
* ...
|
||||||
* }
|
* }
|
||||||
* </PRE>
|
* </PRE>
|
||||||
|
@ -146,12 +146,12 @@ import sun.awt.SunToolkit;
|
|||||||
* {@link InputEvent#getMaskForButton(int) getMaskForButton(button)} method may be used
|
* {@link InputEvent#getMaskForButton(int) getMaskForButton(button)} method may be used
|
||||||
* as button masks.
|
* as button masks.
|
||||||
* <p>
|
* <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
|
* 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
|
* (regardless of whether the mouse position is within the bounds of the
|
||||||
* <code>Component</code>). Due to platform-dependent Drag&Drop implementations,
|
* {@code Component}). Due to platform-dependent Drag&Drop implementations,
|
||||||
* <code>MOUSE_DRAGGED</code> events may not be delivered during a native
|
* {@code MOUSE_DRAGGED} events may not be delivered during a native
|
||||||
* Drag&Drop operation.
|
* Drag&Drop operation.
|
||||||
*
|
*
|
||||||
* In a multi-screen environment mouse drag events are delivered to the
|
* 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
|
* <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.
|
* For all other events the count will be 0.
|
||||||
*
|
*
|
||||||
* @serial
|
* @serial
|
||||||
* @see #getClickCount().
|
* @see #getClickCount()
|
||||||
*/
|
*/
|
||||||
int clickCount;
|
int clickCount;
|
||||||
|
|
||||||
@ -403,7 +403,7 @@ public class MouseEvent extends InputEvent {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize JNI field and method IDs for fields that may be
|
* Initialize JNI field and method IDs for fields that may be
|
||||||
accessed from C.
|
* accessed from C.
|
||||||
*/
|
*/
|
||||||
private static native void initIDs();
|
private static native void initIDs();
|
||||||
|
|
||||||
|
@ -118,7 +118,6 @@ public class InputContext {
|
|||||||
* Otherwise, an input method or keyboard layout that supports the requested
|
* Otherwise, an input method or keyboard layout that supports the requested
|
||||||
* locale is selected in an implementation dependent way.</li>
|
* locale is selected in an implementation dependent way.</li>
|
||||||
*
|
*
|
||||||
* <p>
|
|
||||||
* </ul>
|
* </ul>
|
||||||
* Before switching away from an input method, any currently uncommitted text
|
* Before switching away from an input method, any currently uncommitted text
|
||||||
* is committed. If no input method or keyboard layout supporting the requested
|
* 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
|
* mappings from abstract to concrete styles. Currently defined state values
|
||||||
* are raw (unconverted) and converted.
|
* are raw (unconverted) and converted.
|
||||||
* These state values are recommended for use before and after the
|
* These state values are recommended for use before and after the
|
||||||
* main conversion step of text composition, say, before and after kana->kanji
|
* main conversion step of text composition, say, before and after kana->kanji
|
||||||
* or pinyin->hanzi conversion.
|
* or pinyin->hanzi conversion.
|
||||||
* The <code>variation</code> field allows input methods to express additional
|
* The <code>variation</code> field allows input methods to express additional
|
||||||
* information about the conversion results.
|
* information about the conversion results.
|
||||||
* <p>
|
* <p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user