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.layout
Class BaseXSyntax

    java.lang.Object
      org.basex.gui.layout.BaseXSyntax

Direct Known Subclasses:
  XMLSyntax

    public abstract class BaseXSyntax

extends java.lang.Object

This abstract class defines a framework for a simple syntax highlighting in text panels.

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

Field Summary
`static BaseXSyntax` | `SIMPLE` Simple Syntax.

Constructor Summary
`BaseXSyntax()`

Method Summary
`abstract java.awt.Color` | `getColor(BaseXTextTokens tokens)` Returns the color for the current token.
`abstract void` | `init()` Initializes the highlighter.

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

Field Detail

### SIMPLE

    public static final BaseXSyntax SIMPLE

  Simple Syntax.

Constructor Detail

### BaseXSyntax

    public BaseXSyntax()

Method Detail

### init

    public abstract void init()

  Initializes the highlighter.

### getColor

    public abstract java.awt.Color getColor(BaseXTextTokens tokens)

  Returns the color for the current token.

  Parameters:
    `tokens` - tokenizer
  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