Searched refs:selectionEnd (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/share/classes/java/awt/
H A DTextComponent.java96 * <code>selectionEnd</code>
103 int selectionEnd; field in class:TextComponent
214 selectionEnd = peer.getSelectionEnd();
372 * between selectionStart and selectionEnd.
387 selectionEnd = peer.getSelectionEnd();
389 return selectionEnd;
397 * If the caller supplies a value for <code>selectionEnd</code>
400 * @param selectionEnd the end position of the
406 public synchronized void setSelectionEnd(int selectionEnd) { argument
408 * between selectionStart and selectionEnd
445 select(int selectionStart, int selectionEnd) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCDragSourceContextPeer.java229 int selectionEnd = component.getSelectionEnd();
234 if ((selectionStart < selectionEnd) && (index >= selectionStart) && (index <= selectionEnd)) {
237 Rectangle selectionEndBounds = component.modelToView(selectionEnd);
254 for (int i = selectionStart + 1; i <= selectionEnd; i++) {
H A DCAccessibleText.java83 final int selectionEnd = aet.getSelectionEnd();
84 aet.replaceText(selectionStart, selectionEnd, newText);
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DJTextComponent.java1839 * between selectionStart and selectionEnd.
1866 * @param selectionEnd the end position of the text >= 0
1870 public void setSelectionEnd(int selectionEnd) { argument
1872 * between selectionStart and selectionEnd.
1874 select(getSelectionStart(), selectionEnd);
1901 * @param selectionEnd the end position of the text
1905 public void select(int selectionStart, int selectionEnd) { argument
1915 if (selectionEnd > docLength) {
1916 selectionEnd = docLength;
1918 if (selectionEnd < selectionStar
[all...]

Completed in 42 milliseconds