public class SimpleSelectionDelegate extends Object implements SelectionDelegate
Constructor and Description |
---|
SimpleSelectionDelegate() |
Modifier and Type | Method and Description |
---|---|
int |
getSelectionEnd()
Returns the end position of the selected text in the owner element.
|
int |
getSelectionStart()
Returns the start position of the selected text in the owner element.
|
void |
setSelectionEnd(int selectionEnd)
Sets the end position of the selected text in the owner element.
|
void |
setSelectionStart(int selectionStart)
Sets the start position of the selected text in the owner element.
|
public int getSelectionStart()
getSelectionStart
in interface SelectionDelegate
public void setSelectionStart(int selectionStart)
setSelectionStart
in interface SelectionDelegate
selectionStart
- the start position of the selected text in the owner elementpublic int getSelectionEnd()
getSelectionEnd
in interface SelectionDelegate
public void setSelectionEnd(int selectionEnd)
setSelectionEnd
in interface SelectionDelegate
selectionEnd
- the end position of the selected text in the owner elementCopyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.