Package groovy.console.ui.text
Class GroovyFilter
- java.lang.Object
- 
- javax.swing.text.DocumentFilter
- 
- groovy.console.ui.text.StructuredSyntaxDocumentFilter
- 
- groovy.console.ui.text.GroovyFilter
 
 
 
- 
 public class GroovyFilter extends StructuredSyntaxDocumentFilter 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class groovy.console.ui.text.StructuredSyntaxDocumentFilterStructuredSyntaxDocumentFilter.LexerNode, StructuredSyntaxDocumentFilter.MultiLineRun
 - 
Nested classes/interfaces inherited from class javax.swing.text.DocumentFilterDocumentFilter.FilterBypass
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static StringBINARY_INTEGER_LITERALstatic StringCOMMENTstatic StringDECIMAL_FLOATING_POINT_LITERALstatic StringDECIMAL_INTEGER_LITERALstatic StringDIGITstatic StringHEX_INTEGER_LITERALstatic StringHEXADECIMAL_FLOATING_POINT_LITERALstatic StringIDENTstatic StringLEFT_PARENSstatic StringOCTAL_INTEGER_LITERALstatic StringOPERATIONstatic StringQUOTESstatic StringRESERVED_WORDstatic String[]RESERVED_WORDSstatic StringSINGLE_QUOTESstatic StringSLASH_SLASH_COMMENTstatic StringSLASH_STAR_COMMENTstatic StringSLASHY_QUOTES- 
Fields inherited from class groovy.console.ui.text.StructuredSyntaxDocumentFilterlexer, mlTextRunSet, styledDocument, TAB_REPLACEMENT
 
- 
 - 
Constructor SummaryConstructors Constructor Description GroovyFilter(DefaultStyledDocument doc)Creates a new instance of GroovyFilter
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidinstallAutoTabAction(JTextComponent tComp)- 
Methods inherited from class groovy.console.ui.text.StructuredSyntaxDocumentFiltercreateLexerNode, getRootNode, insertString, parseDocument, remove, replace
 
- 
 
- 
- 
- 
Field Detail- 
COMMENTpublic static final String COMMENT - See Also:
- Constant Field Values
 
 - 
SLASH_STAR_COMMENTpublic static final String SLASH_STAR_COMMENT - See Also:
- Constant Field Values
 
 - 
SLASH_SLASH_COMMENTpublic static final String SLASH_SLASH_COMMENT - See Also:
- Constant Field Values
 
 - 
QUOTESpublic static final String QUOTES - See Also:
- Constant Field Values
 
 - 
SINGLE_QUOTESpublic static final String SINGLE_QUOTES - See Also:
- Constant Field Values
 
 - 
SLASHY_QUOTESpublic static final String SLASHY_QUOTES - See Also:
- Constant Field Values
 
 - 
DIGITpublic static final String DIGIT - See Also:
- Constant Field Values
 
 - 
DECIMAL_INTEGER_LITERALpublic static final String DECIMAL_INTEGER_LITERAL - See Also:
- Constant Field Values
 
 - 
HEX_INTEGER_LITERALpublic static final String HEX_INTEGER_LITERAL - See Also:
- Constant Field Values
 
 - 
OCTAL_INTEGER_LITERALpublic static final String OCTAL_INTEGER_LITERAL - See Also:
- Constant Field Values
 
 - 
BINARY_INTEGER_LITERALpublic static final String BINARY_INTEGER_LITERAL - See Also:
- Constant Field Values
 
 - 
DECIMAL_FLOATING_POINT_LITERALpublic static final String DECIMAL_FLOATING_POINT_LITERAL - See Also:
- Constant Field Values
 
 - 
HEXADECIMAL_FLOATING_POINT_LITERALpublic static final String HEXADECIMAL_FLOATING_POINT_LITERAL - See Also:
- Constant Field Values
 
 - 
IDENTpublic static final String IDENT - See Also:
- Constant Field Values
 
 - 
OPERATIONpublic static final String OPERATION - See Also:
- Constant Field Values
 
 - 
LEFT_PARENSpublic static final String LEFT_PARENS - See Also:
- Constant Field Values
 
 - 
RESERVED_WORDpublic static final String RESERVED_WORD - See Also:
- Constant Field Values
 
 - 
RESERVED_WORDSpublic static final String[] RESERVED_WORDS 
 
- 
 - 
Constructor Detail- 
GroovyFilterpublic GroovyFilter(DefaultStyledDocument doc) Creates a new instance of GroovyFilter
 
- 
 - 
Method Detail- 
installAutoTabActionpublic static void installAutoTabAction(JTextComponent tComp) 
 
- 
 
-