Searched defs:selectionStart (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/share/classes/java/awt/
H A DTextComponent.java85 * <code>selectionStart</code> is the start position
92 int selectionStart; field in class:TextComponent
213 selectionStart = peer.getSelectionStart();
350 selectionStart = peer.getSelectionStart();
352 return selectionStart;
361 * If the caller supplies a value for <code>selectionStart</code>
364 * @param selectionStart the start position of the
370 public synchronized void setSelectionStart(int selectionStart) { argument
372 * between selectionStart and selectionEnd.
374 select(selectionStart, getSelectionEn
445 select(int selectionStart, int selectionEnd) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DJTextComponent.java1833 * @param selectionStart the start position of the text >= 0
1837 public void setSelectionStart(int selectionStart) { argument
1839 * between selectionStart and selectionEnd.
1841 select(selectionStart, getSelectionEnd());
1872 * between selectionStart and selectionEnd.
1900 * @param selectionStart the start position of the text
1905 public void select(int selectionStart, int selectionEnd) { argument
1909 if (selectionStart < 0) {
1910 selectionStart = 0;
1912 if (selectionStart > docLengt
[all...]

Completed in 37 milliseconds