/openjdk7/jdk/src/share/classes/java/awt/event/ |
H A D | InputMethodEvent.java | 80 * generated by input methods while processing input if only the caret changed. 101 private transient TextHitInfo caret; field in class:InputMethodEvent 106 * source component, type, time, text, caret, and visiblePosition. 108 * The offsets of caret and visiblePosition are relative to the current 129 * @param caret the caret (a.k.a. insertion point); 130 * <code>null</code> if there's no caret within current 149 TextHitInfo caret, TextHitInfo visiblePosition) { 171 this.caret = caret; 147 InputMethodEvent(Component source, int id, long when, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition) argument 217 InputMethodEvent(Component source, int id, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition) argument 259 InputMethodEvent(Component source, int id, TextHitInfo caret, TextHitInfo visiblePosition) argument [all...] |
/openjdk7/jdk/test/javax/swing/JTextArea/7049024/ |
H A D | bug7049024.java | 52 public static DefaultCaret caret = null; field in class:bug7049024 91 caret = (DefaultCaret) textField.getCaret(); 92 caret.setDot(2); 93 caret.moveDot(4); 112 caret.setDot(4); 113 caret.moveDot(6);
|
/openjdk7/jdk/test/javax/swing/text/JTextComponent/5074573/ |
H A D | bug5074573.java | 84 Caret caret = textComponent.getCaret(); 85 int dot = caret.getDot(); 103 Caret caret = textComponent.getCaret(); 104 caret.setDot(0); 153 Caret caret = textComponent.getCaret(); 154 caret.setDot(textComponent.getDocument().getLength());
|
/openjdk7/jdk/src/share/classes/sun/awt/im/ |
H A D | CompositionArea.java | 65 private TextHitInfo caret = null; field in class:CompositionArea 118 private Rectangle getCaretRectangle(TextHitInfo caret) { argument 122 caretLocation = Math.round(layout.getCaretInfo(caret)[0]); 143 if (caret != null) { 144 Rectangle rectangle = getCaretRectangle(caret); 178 * Sets the text and caret to be displayed in this composition area. 181 void setText(AttributedCharacterIterator composedText, TextHitInfo caret) { argument 186 this.caret = null; 208 this.caret = caret; 237 setCaret(TextHitInfo caret) argument [all...] |
H A D | CompositionAreaHandler.java | 57 private TextHitInfo caret = null; field in class:CompositionAreaHandler 113 compositionArea.setText(composedText, caret); 201 caret = null; 217 caret = event.getCaret(); 221 compositionArea.setText(composedText, caret);
|
H A D | InputMethodContext.java | 109 TextHitInfo caret, TextHitInfo visiblePosition) { 118 id, text, committedCharacterCount, caret, visiblePosition); 107 dispatchInputMethodEvent(int id, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition) argument
|
/openjdk7/jdk/test/java/awt/TextArea/TextAreaCaretVisibilityTest/ |
H A D | bug7129742.java | 49 public static DefaultCaret caret = null; field in class:bug7129742 78 caret = (DefaultCaret) jtext.getCaret(); 100 boolean passed = caret.isActive(); 101 System.out.println("is caret visible : " + passed);
|
/openjdk7/jdk/src/share/classes/java/awt/im/spi/ |
H A D | InputMethodContext.java | 58 TextHitInfo caret, TextHitInfo visiblePosition); 56 dispatchInputMethodEvent(int id, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition) argument
|
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | JTextComponent.java | 94 * The caret is a pluggable object in swing text components. 95 * Notification of changes to the caret position and the selection 98 * The UI will install a default caret unless a customized caret 100 * By default the caret tracks all the document changes 102 * accordingly if an insertion occurs before or at the caret position 103 * or a removal occurs before the caret position. <code>DefaultCaret</code> 105 * of a text component within <code>JScrollPane</code>. The default caret 108 * <b>Note</b>: Non-editable text components also have a caret though 206 * <li>caret movemen 3816 private transient Caret caret; field in class:JTextComponent [all...] |
H A D | DefaultEditorKit.java | 116 * Fetches a caret that can navigate through views 119 * @return the caret 405 * precedes the current caret position. 412 * follows the current caret position. 468 * caret if nothing is selected. 521 * Name of the Action for moving the caret 525 public static final String forwardAction = "caret-forward"; 528 * Name of the Action for moving the caret 532 public static final String backwardAction = "caret-backward"; 536 * by moving the caret logicall [all...] |
H A D | StyledEditorKit.java | 59 * the caret moves and there is no selection, the 62 * caret location. The styled editing actions 74 * run of character attributes for the caret. 115 Caret caret = c.getCaret(); 116 if (caret != null) { 118 (caret.getDot(), caret.getMark(), c); 206 * This listener will be attached to the caret of 214 * Tracks caret movement and keeps the input attributes set 216 * caret positio [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JTextPane.java | 186 Caret caret = getCaret(); 187 boolean composedTextSaved = saveComposedText(caret.getDot()); 188 int p0 = Math.min(caret.getDot(), caret.getMark()); 189 int p1 = Math.max(caret.getDot(), caret.getMark()); 215 * current position of the caret. This is represented in 247 * current position of the caret. This is represented in 308 * current caret position. If attributes aren't explicitly set 324 * by the current position of the caret, o [all...] |
H A D | JEditorPane.java | 1138 Caret caret = getCaret(); 1139 boolean composedTextSaved = saveComposedText(caret.getDot()); 1140 int p0 = Math.min(caret.getDot(), caret.getMark()); 1141 int p1 = Math.max(caret.getDot(), caret.getMark());
|
/openjdk7/jdk/src/share/classes/java/awt/font/ |
H A D | TextLayout.java | 300 * Defines a policy for determining the strong caret location. 302 * is used to specify the policy that determines the strong caret in 303 * dual-caret text. The strong caret is used to move the caret to the 306 * <code>getNextRightHit</code> to customize strong caret 309 * To specify alternate caret policies, subclass <code>CaretPolicy</code> 312 * one of them as the strong caret. 326 * a strong caret in the specified <code>TextLayout</code>. 333 * strong caret 1116 getCaretInfo(int caret, Rectangle2D bounds, float[] info) argument 1351 caretToHit(int caret) argument 1372 caretIsValid(int caret) argument 1637 getCaretPath(int caret, Rectangle2D bounds, boolean clipToBounds) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthTextFieldUI.java | 140 Caret caret = comp.getCaret(); 141 if (caret instanceof UIResource) { 145 caret.setBlinkRate(rate.intValue());
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicTextUI.java | 113 * Creates the object to use for a caret. By default an 118 * @return the caret object 293 * background, caret color, selection color, selected text color, 359 Caret caret = editor.getCaret(); 360 if (caret == null || caret instanceof UIResource) { 361 caret = createCaret(); 362 editor.setCaret(caret); 365 caret.setBlinkRate(rate); 714 * The caret i [all...] |
/openjdk7/jdk/test/javax/swing/JFormattedTextField/ |
H A D | Test6462562.java | 109 Caret caret = getCaret(); 110 caret.setDot(pos); 112 caret.moveDot(pos + selectionLength);
|
/openjdk7/jdk/src/solaris/classes/sun/awt/ |
H A D | X11InputMethod.java | 532 TextHitInfo caret, 538 id, when, text, committedCharacterCount, caret, visiblePosition); 546 TextHitInfo caret, 549 caret, visiblePosition, EventQueue.getMostRecentEventTime()); 529 postInputMethodEvent(int id, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition, long when) argument 543 postInputMethodEvent(int id, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition) argument
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_util.h | 233 int32_t caret; member in struct:_PreeditBufferRec
|
H A D | awt_InputMethod.c | 1330 (jint)pre_draw->caret,
|