Lines Matching defs:dot

320      * This will cause a selection if the dot and mark
621 Rectangle r = mapper.modelToView(component, dot, dotBias);
677 * by the implementation of this interface. Sets the dot
687 dot = mark = 0;
858 if ((dot != mark) && (h != null) && (selectionTag == null)) {
859 int p0 = Math.min(dot, mark);
860 int p1 = Math.max(dot, mark);
972 Rectangle loc = mapper.modelToView(component, dot,dotBias);
1027 return dot;
1032 * the dot and mark will not be the same.
1046 * @param dot the position >= 0
1050 public void setDot(int dot) {
1051 setDot(dot, Position.Bias.Forward);
1058 * @param dot the position >= 0
1062 public void moveDot(int dot) {
1063 moveDot(dot, Position.Bias.Forward);
1072 * @param dot the position >= 0
1078 public void moveDot(int dot, Position.Bias dotBias) {
1085 setDot(dot, dotBias);
1088 if (dot != this.dot) {
1092 filter.moveDot(getFilterBypass(), dot, dotBias);
1095 handleMoveDot(dot, dotBias);
1100 void handleMoveDot(int dot, Position.Bias dotBias) {
1101 changeCaretPosition(dot, dotBias);
1106 int p0 = Math.min(dot, mark);
1107 int p1 = Math.max(dot, mark);
1137 * @param dot the position >= 0
1143 public void setDot(int dot, Position.Bias dotBias) {
1151 filter.setDot(getFilterBypass(), dot, dotBias);
1154 handleSetDot(dot, dotBias);
1158 void handleSetDot(int dot, Position.Bias dotBias) {
1159 // move dot, if it changed
1162 dot = Math.min(dot, doc.getLength());
1164 dot = Math.max(dot, 0);
1167 if( dot == 0 )
1170 mark = dot;
1171 if (this.dot != dot || this.dotBias != dotBias ||
1173 changeCaretPosition(dot, dotBias);
1256 * Sets the caret position (dot) to a new location. This
1261 void changeCaretPosition(int dot, Position.Bias dotBias) {
1263 // the dot.
1274 this.dot = dot;
1276 dotLTR = isPositionLTR(dot, dotBias);
1311 newLoc = mapper.modelToView(component, this.dot, this.dotBias);
1333 if (this.dot != this.mark && component != null && component.hasFocus()) {
1386 * dot/mark is valid. We do this in case the <code>NavigationFilter</code>
1387 * changed where to position the dot, that resulted in the current location
1392 if (dot > length || mark > length) {
1438 String s = "Dot=(" + dot + ", " + dotBias + ")";
1565 int dot;
1589 * If this is true, the location of the dot is updated regardless of
1591 * such that even if the model location of dot hasn't changed (perhaps do
1649 Rectangle r = mapper.modelToView(component, dot,
1665 * Updates the dot and mark if they were changed by
1676 if ((e.getOffset() <= dot || e.getOffset() <= mark)
1680 Math.min(dot, mark), Math.max(dot, mark));
1689 int newDot = dot;
1708 if (dot == offset) {
1743 * Updates the dot and mark if they were changed
1755 dot = Math.min(dot, length);
1757 if ((e.getOffset() < dot || e.getOffset() < mark)
1761 Math.min(dot, mark), Math.max(dot, mark));
1770 int newDot = dot;
1915 public void setDot(int dot, Position.Bias bias) {
1916 handleSetDot(dot, bias);
1919 public void moveDot(int dot, Position.Bias bias) {
1920 handleMoveDot(dot, bias);