Package com.iizigo.editor
Class SyntSelectionProvider.Text
java.lang.Object
com.iizigo.editor.SyntSelectionProvider
com.iizigo.editor.SyntSelectionProvider.Text
- All Implemented Interfaces:
IClipboardSelection,ISelectionProvider
- Enclosing class:
SyntSelectionProvider
Class for Text widget.
Nested Class Summary
Nested classes/interfaces inherited from class com.iizigo.editor.SyntSelectionProvider
SyntSelectionProvider.CCombo, SyntSelectionProvider.Combo, SyntSelectionProvider.Spinner, SyntSelectionProvider.StyledText, SyntSelectionProvider.TextConstructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionprotected PointGets the selection.protected void_setSelection(int begin, int end) Sets the selection.voidcopy()Copy.voidcut()Cut.protected StringgetText()Gets the text.protected booleanChecks if enabled.protected booleanChecks if enabled.voidpaste()Pastes text.protected voidSets the text.Methods inherited from class com.iizigo.editor.SyntSelectionProvider
addSelectionChangedListener, canCopy, canCut, canDelete, canPaste, delete, getSelection, removeSelectionChangedListener, selectAll, setSelection
Constructor Details
Text
Method Details
isEnabled
protected boolean isEnabled()Description copied from class:SyntSelectionProviderChecks if enabled.- Specified by:
isEnabledin classSyntSelectionProvider
getText
Description copied from class:SyntSelectionProviderGets the text.- Specified by:
getTextin classSyntSelectionProvider
setText
Description copied from class:SyntSelectionProviderSets the text.- Specified by:
setTextin classSyntSelectionProvider
isPassword
protected boolean isPassword()Description copied from class:SyntSelectionProviderChecks if enabled.- Overrides:
isPasswordin classSyntSelectionProvider
copy
public void copy()Description copied from class:SyntSelectionProviderCopy.- Specified by:
copyin interfaceIClipboardSelection- Specified by:
copyin classSyntSelectionProvider
cut
public void cut()Description copied from class:SyntSelectionProviderCut.- Specified by:
cutin interfaceIClipboardSelection- Specified by:
cutin classSyntSelectionProvider
paste
public void paste()Description copied from class:SyntSelectionProviderPastes text.- Specified by:
pastein interfaceIClipboardSelection- Specified by:
pastein classSyntSelectionProvider
_setSelection
protected void _setSelection(int begin, int end) Description copied from class:SyntSelectionProviderSets the selection.- Specified by:
_setSelectionin classSyntSelectionProvider
_getSelection
Description copied from class:SyntSelectionProviderGets the selection.- Specified by:
_getSelectionin classSyntSelectionProvider