Package com.iizigo.editor
Class SyntSelectionProvider.StyledText
java.lang.Object
com.iizigo.editor.SyntSelectionProvider
com.iizigo.editor.SyntSelectionProvider.StyledText
- All Implemented Interfaces:
- IClipboardSelection,- ISelectionProvider
- Enclosing class:
- SyntSelectionProvider
Class for StyledText widget.
- Nested Class Summary- Nested classes/interfaces inherited from class com.iizigo.editor.SyntSelectionProvider- SyntSelectionProvider.CCombo, SyntSelectionProvider.Combo, SyntSelectionProvider.IZ_CCombo, SyntSelectionProvider.Spinner, SyntSelectionProvider.StyledText, SyntSelectionProvider.Text
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- protected PointGets the selection.- protected void- _setSelection- (int begin, int end) Sets the selection.- void- copy()Copy.- void- cut()Cut.- protected String- getText()Gets the text.- protected booleanChecks if enabled.- protected booleanChecks if enabled.- void- paste()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- StyledText
 
- Method Details- isEnabledprotected boolean isEnabled()Description copied from class:- SyntSelectionProviderChecks if enabled.- Specified by:
- isEnabledin class- SyntSelectionProvider
 
- getTextDescription copied from class:- SyntSelectionProviderGets the text.- Specified by:
- getTextin class- SyntSelectionProvider
 
- setTextDescription copied from class:- SyntSelectionProviderSets the text.- Specified by:
- setTextin class- SyntSelectionProvider
 
- isPasswordprotected boolean isPassword()Description copied from class:- SyntSelectionProviderChecks if enabled.- Overrides:
- isPasswordin class- SyntSelectionProvider
 
- copypublic void copy()Description copied from class:- SyntSelectionProviderCopy.- Specified by:
- copyin interface- IClipboardSelection
- Specified by:
- copyin class- SyntSelectionProvider
 
- cutpublic void cut()Description copied from class:- SyntSelectionProviderCut.- Specified by:
- cutin interface- IClipboardSelection
- Specified by:
- cutin class- SyntSelectionProvider
 
- pastepublic void paste()Description copied from class:- SyntSelectionProviderPastes text.- Specified by:
- pastein interface- IClipboardSelection
- Specified by:
- pastein class- SyntSelectionProvider
 
- _setSelectionprotected void _setSelection- (int begin, int end) Description copied from class:- SyntSelectionProviderSets the selection.- Specified by:
- _setSelectionin class- SyntSelectionProvider
 
- _getSelectionDescription copied from class:- SyntSelectionProviderGets the selection.- Specified by:
- _getSelectionin class- SyntSelectionProvider