Searched defs:caret (Results 1 - 11 of 11) sorted by relevance

/openjdk7/jdk/test/java/awt/TextArea/TextAreaCaretVisibilityTest/
H A Dbug7129742.java49 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/test/javax/swing/JTextArea/7049024/
H A Dbug7049024.java52 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/src/share/classes/java/awt/im/spi/
H A DInputMethodContext.java58 TextHitInfo caret, TextHitInfo visiblePosition);
56 dispatchInputMethodEvent(int id, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition) argument
/openjdk7/jdk/src/share/classes/java/awt/event/
H A DInputMethodEvent.java80 * 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/src/share/classes/sun/awt/im/
H A DCompositionArea.java65 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 DCompositionAreaHandler.java57 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 DInputMethodContext.java109 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/src/solaris/native/sun/awt/
H A Dawt_util.h233 int32_t caret; member in struct:_PreeditBufferRec
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DTextLayout.java300 * 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/solaris/classes/sun/awt/
H A DX11InputMethod.java532 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/share/classes/javax/swing/text/
H A DJTextComponent.java94 * 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...]

Completed in 319 milliseconds