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 SelectionDelegatepublic void setSelectionStart(int selectionStart)
setSelectionStart in interface SelectionDelegateselectionStart - the start position of the selected text in the owner elementpublic int getSelectionEnd()
getSelectionEnd in interface SelectionDelegatepublic void setSelectionEnd(int selectionEnd)
setSelectionEnd in interface SelectionDelegateselectionEnd - the end position of the selected text in the owner elementCopyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.