Groovy 2.2.1

groovy.ui.text
[Java] Class GroovyFilter

java.lang.Object
  javax.swing.text.DocumentFilter
      groovy.ui.text.StructuredSyntaxDocumentFilter
          groovy.ui.text.GroovyFilter

public class GroovyFilter
extends StructuredSyntaxDocumentFilter

Authors:
Evan "Hippy" Slatis


Field Summary
static String BINARY_INTEGER_LITERAL

static String COMMENT

static String DECIMAL_FLOATING_POINT_LITERAL

static String DECIMAL_INTEGER_LITERAL

static String DIGIT

static String HEXADECIMAL_FLOATING_POINT_LITERAL

static String HEX_INTEGER_LITERAL

static String IDENT

static String LEFT_PARENS

static String OCTAL_INTEGER_LITERAL

static String OPERATION

static String QUOTES

static String RESERVED_WORD

static String[] RESERVED_WORDS

static String SINGLE_QUOTES

static String SLASHY_QUOTES

static String SLASH_SLASH_COMMENT

static String SLASH_STAR_COMMENT

 
Fields inherited from class StructuredSyntaxDocumentFilter
TAB_REPLACEMENT, lexer, mlTextRunSet, styledDocument
 
Constructor Summary
GroovyFilter(DefaultStyledDocument doc)

Creates a new instance of GroovyFilter

 
Method Summary
static void installAutoTabAction(JTextComponent tComp)

 
Methods inherited from class StructuredSyntaxDocumentFilter
createLexerNode, getRootNode, insertString, parseDocument, remove, replace
 
Methods inherited from class DocumentFilter
insertString, remove, replace, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

BINARY_INTEGER_LITERAL

public static final String BINARY_INTEGER_LITERAL


COMMENT

public static final String COMMENT


DECIMAL_FLOATING_POINT_LITERAL

public static final String DECIMAL_FLOATING_POINT_LITERAL


DECIMAL_INTEGER_LITERAL

public static final String DECIMAL_INTEGER_LITERAL


DIGIT

public static final String DIGIT


HEXADECIMAL_FLOATING_POINT_LITERAL

public static final String HEXADECIMAL_FLOATING_POINT_LITERAL


HEX_INTEGER_LITERAL

public static final String HEX_INTEGER_LITERAL


IDENT

public static final String IDENT


LEFT_PARENS

public static final String LEFT_PARENS


OCTAL_INTEGER_LITERAL

public static final String OCTAL_INTEGER_LITERAL


OPERATION

public static final String OPERATION


QUOTES

public static final String QUOTES


RESERVED_WORD

public static final String RESERVED_WORD


RESERVED_WORDS

public static final String[] RESERVED_WORDS


SINGLE_QUOTES

public static final String SINGLE_QUOTES


SLASHY_QUOTES

public static final String SLASHY_QUOTES


SLASH_SLASH_COMMENT

public static final String SLASH_SLASH_COMMENT


SLASH_STAR_COMMENT

public static final String SLASH_STAR_COMMENT


 
Constructor Detail

GroovyFilter

public GroovyFilter(DefaultStyledDocument doc)
Creates a new instance of GroovyFilter


 
Method Detail

installAutoTabAction

public static void installAutoTabAction(JTextComponent tComp)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.