Lines Matching defs:position

61  * position.  Dragging the mouse pointer with the first mouse button will
86 * The magic caret position is set to null when the caret position changes.
88 * When the timer fires, if the magic caret position is still null it is
89 * reset to the current caret position. Any actions that change
90 * the caret position and want the magic caret position to remain the
91 * same, must remember the magic caret position, change the cursor, and
92 * then set the magic caret position to its original value. This has the
93 * benefit that only actions that want the magic caret position to persist
111 * Indicates that the caret position is to be updated only when
121 * absolute position in the document regardless of any document
123 * the current caret position due to removal. In that case the caret
124 * position is adjusted to the end of the document.
133 * Indicates that the caret position is to be <b>always</b>
152 * the caret updates its absolute position within the document on
153 * insertions occurred before or at the caret position and
154 * on removals before the caret position. 'Absolute position'
155 * means here the position relative to the start of the document.
158 * at the caret position and the caret moves to the next absolute
159 * position within the document due to insertion and if
161 * position due to removal of a character before it. Sometimes
162 * it may be useful to turn off the caret position updates so that
163 * the caret stays at the same absolute position within the
164 * document position regardless of any document updates.
169 * absolute position in the document regardless of any document
171 * the current caret position due to removal. In that case caret
172 * position is adjusted to the end of the document.
176 * changes. For regular changes it increases its position
177 * if an insertion occurs before or at its current position,
178 * and decreases position if a removal occurs before
179 * its current position. For undo/redo updates it is always
180 * moved to the position where update occurred. The caret
278 * @param nloc the new position to scroll to
301 * Tries to set the position of the caret from
318 * Tries to move the position of the caret from
479 * and to set the caret position. If the shift key is held down,
482 * caret position will be set to the new location. If the component
575 * Moves the caret position
747 * Adds a listener to track whenever the caret position has
758 * Removes a listener that was tracking caret position changes.
1021 * Fetches the current position of the caret.
1023 * @return the position &gt;= 0
1031 * Fetches the current position of the mark. If there is a selection,
1034 * @return the position &gt;= 0
1042 * Sets the caret position and mark to the specified position,
1046 * @param dot the position &gt;= 0
1055 * Moves the caret position to the specified position,
1058 * @param dot the position &gt;= 0
1069 * Moves the caret position to the specified position, with the
1072 * @param dot the position &gt;= 0
1073 * @param dotBias the bias for this position, not <code>null</code>
1125 throw new StateInvariantError("Bad caret position");
1133 * Sets the caret position and mark to the specified position, with the
1137 * @param dot the position &gt;= 0
1138 * @param dotBias the bias for this position, not <code>null</code>
1166 // The position (0,Backward) is out of range so disallow it.
1185 * Returns the bias of the caret position.
1187 * @return the bias of the caret position
1212 boolean isPositionLTR(int position, Position.Bias bias) {
1215 if(bias == Position.Bias.Backward && --position < 0)
1216 position = 0;
1217 return ((AbstractDocument)doc).isLeftToRight(position, position);
1256 * Sets the caret position (dot) to a new location. This
1262 // repaint the old position and set the new value of
1297 * Repaints the new caret position, with the
1317 // If there is no magic caret position, make one
1323 // repaint the new position
1387 * changed where to position the dot, that resulted in the current location
1402 * Saves the current caret position. This is used when
1406 * @param p the position
1414 * Gets the saved caret position.
1416 * @return the position