Class JRSyntaxTextArea
java.lang.Object
org.gvsig.scripting.swing.impl.syntaxhighlight.JRSyntaxTextArea
- All Implemented Interfaces:
EventListener,org.fife.rsta.ui.search.SearchListener,SyntaxtHighlightTextComponent,org.gvsig.tools.swing.api.Component
public class JRSyntaxTextArea
extends Object
implements SyntaxtHighlightTextComponent, org.fife.rsta.ui.search.SearchListener
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassstatic classNested classes/interfaces inherited from interface org.gvsig.scripting.swing.api.SyntaxtHighlightTextComponent
SyntaxtHighlightTextComponent.UpdateCaretPositionActionEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.fife.ui.rsyntaxtextarea.RSyntaxTextAreaprotected ActionListener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddKeyListener(KeyListener keyListener) voidaddLineTrackingIcon(String tag, int line, Icon icon, String tip) voidaddLineTrackingIcon(String tag, int line, Icon icon, String tip, Color color) voidaddUpdateCaretPositionActionListener(ActionListener updateCaretPosition) voidgetText()voidgotoline(int line) protected voidinit()booleanvoidvoidvoidsearchEvent(org.fife.rsta.ui.search.SearchEvent e) voidsetContentType(String contentType) voidsetEditable(boolean editable) voidsetlineTrackerVisible(boolean visible) void
-
Field Details
-
updateCaretPosition
-
textArea
protected org.fife.ui.rsyntaxtextarea.RSyntaxTextArea textArea
-
-
Constructor Details
-
JRSyntaxTextArea
public JRSyntaxTextArea()
-
-
Method Details
-
init
protected void init() -
setContentType
- Specified by:
setContentTypein interfaceSyntaxtHighlightTextComponent
-
getJScrollPane
- Specified by:
getJScrollPanein interfaceSyntaxtHighlightTextComponent
-
getJTextComponent
- Specified by:
getJTextComponentin interfaceSyntaxtHighlightTextComponent
-
asJComponent
- Specified by:
asJComponentin interfaceorg.gvsig.tools.swing.api.Component
-
getContentType
- Specified by:
getContentTypein interfaceSyntaxtHighlightTextComponent
-
addUpdateCaretPositionActionListener
- Specified by:
addUpdateCaretPositionActionListenerin interfaceSyntaxtHighlightTextComponent
-
setText
- Specified by:
setTextin interfaceSyntaxtHighlightTextComponent
-
getText
- Specified by:
getTextin interfaceSyntaxtHighlightTextComponent
-
addKeyListener
- Specified by:
addKeyListenerin interfaceSyntaxtHighlightTextComponent
-
searchEvent
public void searchEvent(org.fife.rsta.ui.search.SearchEvent e) - Specified by:
searchEventin interfaceorg.fife.rsta.ui.search.SearchListener
-
getSelectedText
- Specified by:
getSelectedTextin interfaceorg.fife.rsta.ui.search.SearchListener
-
discardAllEdits
public void discardAllEdits()- Specified by:
discardAllEditsin interfaceSyntaxtHighlightTextComponent
-
removeTrackingIcons
public void removeTrackingIcons()- Specified by:
removeTrackingIconsin interfaceSyntaxtHighlightTextComponent
-
addLineTrackingIcon
- Specified by:
addLineTrackingIconin interfaceSyntaxtHighlightTextComponent
-
addLineTrackingIcon
- Specified by:
addLineTrackingIconin interfaceSyntaxtHighlightTextComponent
-
removeTrackingIcons
- Specified by:
removeTrackingIconsin interfaceSyntaxtHighlightTextComponent
-
gotoline
public void gotoline(int line) - Specified by:
gotolinein interfaceSyntaxtHighlightTextComponent
-
setEditable
public void setEditable(boolean editable) - Specified by:
setEditablein interfaceSyntaxtHighlightTextComponent
-
isEditable
public boolean isEditable()- Specified by:
isEditablein interfaceSyntaxtHighlightTextComponent
-
addFocusListener
- Specified by:
addFocusListenerin interfaceSyntaxtHighlightTextComponent
-
setlineTrackerVisible
public void setlineTrackerVisible(boolean visible)
-