Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.basex.gui.view.query
Class QuerySyntax

    java.lang.Object
      org.basex.gui.layout.BaseXSyntax
          org.basex.gui.view.query.QuerySyntax

    public final class QuerySyntax

extends BaseXSyntax

This abstract class defines syntax highlighting of text panels.

Author:
  Workgroup DBIS, University of Konstanz 2005-09, ISC License, Christian Gruen

Field Summary
`static java.util.HashSet<java.lang.String>` | `funs` Error color.
`static java.util.HashSet<java.lang.String>` | `keys` Error color.

Fields inherited from class org.basex.gui.layout.BaseXSyntax
`SIMPLE`

Constructor Summary
`QuerySyntax()`

Method Summary
`java.awt.Color` | `getColor(java.lang.String word)` Returns the color for the current token.
`void` | `init()` Initializes the highlighter.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### keys

    public static java.util.HashSet<java.lang.String> keys

  Error color.

### funs

    public static java.util.HashSet<java.lang.String> funs

  Error color.

Constructor Detail

### QuerySyntax

    public QuerySyntax()

Method Detail

### init

    public void init()

  Description copied from class: `BaseXSyntax`
  Initializes the highlighter.

  Specified by:
    `init` in class `BaseXSyntax`

### getColor

    public java.awt.Color getColor(java.lang.String word)

  Description copied from class: `BaseXSyntax`
  Returns the color for the current token.

  Specified by:
    `getColor` in class `BaseXSyntax`
  Parameters:
    `word` - current token
  Returns:
    color

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD