|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.utep.cs.jet.gui.Preference
edu.utep.cs.jet.gui.editor.Preference
public abstract class Preference
A utility class to store various user options for the editor.
| Field Summary |
|---|
| Fields inherited from class edu.utep.cs.jet.gui.Preference |
|---|
userPrefs |
| Constructor Summary | |
|---|---|
Preference()
|
|
| Method Summary | |
|---|---|
static void |
copyEditorStylesTo(SyntaxStyle[] styles)
Copies the editor's style to the argument. |
static Color |
getEditorBackground()
Returns the editor's background color. |
static Font |
getEditorFont()
Returns the font to be used by the editor. |
static String |
getEditorFontName()
Returns the font to be used by the editor. |
static int |
getEditorFontSize()
Returns the editor's font size. |
static Color |
getEditorForeground()
Returns the editor's foreground color. |
static int |
getEditorTabSize()
Returns the number of test attempts. |
static void |
setEditorBackground(Color color)
Returns the editor's background color. |
static void |
setEditorFontName(String att)
Sets the font to be used by the editor. |
static void |
setEditorFontSize(String att)
Sets the editor's font size. |
static void |
setEditorForeground(Color color)
Returns the editor's foreground color. |
static void |
setEditorStyles(SyntaxStyle[] styles)
Returns the editor's style. |
static void |
setEditorTabSize(String att)
Sets the maximum size of the object pool. |
| Methods inherited from class edu.utep.cs.jet.gui.Preference |
|---|
getBackground, getBanner, getClasspath, getJava, getJavaCompiler, getRawClasspath, getRoot, getTheme, parseInt, parseNonNegativeInt, parsePositiveInt, setBackground, setBanner, setJava, setJavaCompiler, setRawClasspath, setRoot, setTheme |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Preference()
| Method Detail |
|---|
public static int getEditorTabSize()
public static void setEditorTabSize(String att)
public static Font getEditorFont()
public static String getEditorFontName()
public static void setEditorFontName(String att)
public static int getEditorFontSize()
public static void setEditorFontSize(String att)
public static void setEditorForeground(Color color)
public static void setEditorBackground(Color color)
public static Color getEditorBackground()
public static Color getEditorForeground()
public static void setEditorStyles(SyntaxStyle[] styles)
public static void copyEditorStylesTo(SyntaxStyle[] styles)
|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||