Class DefReader

java.lang.Object
  extended by DefReader

public class DefReader
extends java.lang.Object

Reads out the color-properties in moe.defs, the tabsize-property and the syntax-hilighting-property in bluej.defs resp. bluej.properties.

Version:
07.08.2007
Author:
Marc Seidemann

Field Summary
static java.lang.String DIR
          The Path of BlueJ\Home - Directory.
static java.lang.String USERDIR
          The Path of bluej.properties .
 
Constructor Summary
DefReader()
          Default Konstruktor
 
Method Summary
static java.awt.Color getCommentColor()
          Returns the color for comments
static java.awt.Color getJavadocColor()
          Returns the color for javadoc
static java.awt.Color getKeyword1Color()
          Returns the color for keyword1
static java.awt.Color getKeyword2Color()
          Returns the color for keyword2
static java.awt.Color getKeyword3Color()
          Returns the color for keyword3
static java.awt.Color getPrimitiveColor()
          Returns the color for the primitive types
static java.awt.Color getStringColor()
          Returns the color for strings and chars
static boolean getSyntaxEnabled()
          Returns if syntax-highlighting is enabled
static int getTabSize()
          Returns the tabsize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIR

public static java.lang.String DIR
The Path of BlueJ\Home - Directory. Is set by SyntaxSourcePrinterExtension


USERDIR

public static java.lang.String USERDIR
The Path of bluej.properties . Is also set by SyntaxSourcePrinterExtension

Constructor Detail

DefReader

DefReader()
Default Konstruktor

Method Detail

getCommentColor

public static java.awt.Color getCommentColor()
Returns the color for comments

Returns:
The Color for comments

getJavadocColor

public static java.awt.Color getJavadocColor()
Returns the color for javadoc

Returns:
The Color for javacoc

getKeyword1Color

public static java.awt.Color getKeyword1Color()
Returns the color for keyword1

Returns:
The Color for keyword1

getKeyword2Color

public static java.awt.Color getKeyword2Color()
Returns the color for keyword2

Returns:
The Color for keyword2

getKeyword3Color

public static java.awt.Color getKeyword3Color()
Returns the color for keyword3

Returns:
The Color for keyword3

getPrimitiveColor

public static java.awt.Color getPrimitiveColor()
Returns the color for the primitive types

Returns:
The Color for the primitive types

getStringColor

public static java.awt.Color getStringColor()
Returns the color for strings and chars

Returns:
The Color for strings and chars

getSyntaxEnabled

public static boolean getSyntaxEnabled()
Returns if syntax-highlighting is enabled

Returns:
True if syntax-highlighting is enabled and false otherwise

getTabSize

public static int getTabSize()
Returns the tabsize

Returns:
The tabsize