org.fife.rtext.plugins.console
Class ConsolePrefs

java.lang.Object
  extended byorg.fife.ui.app.Prefs
      extended byorg.fife.rtext.plugins.console.ConsolePrefs

public class ConsolePrefs
extends Prefs

Preferences for the Console plugin.

Version:
1.0
Author:
Robert Futrell

Field Summary
 java.awt.Color exceptionFG
          The color used for exceptions in consoles.
 java.awt.Color promptFG
          The color used for prompts in consoles.
 java.awt.Color stderrFG
          The color used for stderr in consoles.
 java.awt.Color stdoutFG
          The color used for stdout in consoles.
 int windowPosition
          The location of the dockable console output window.
 javax.swing.KeyStroke windowVisibilityAccelerator
          Key stroke that toggles the console window's visibility.
 boolean windowVisible
          Whether the GUI plugin window is active (visible).
 
Constructor Summary
ConsolePrefs()
           
 
Method Summary
 void load(java.io.InputStream in)
          Overridden to validate the task identifiers value.
 void setDefaults()
          Sets all fields in this class to their default values.
 
Methods inherited from class org.fife.ui.app.Prefs
load, save, save
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

windowVisible

public boolean windowVisible
Whether the GUI plugin window is active (visible).


windowPosition

public int windowPosition
The location of the dockable console output window.


windowVisibilityAccelerator

public javax.swing.KeyStroke windowVisibilityAccelerator
Key stroke that toggles the console window's visibility.


stdoutFG

public java.awt.Color stdoutFG
The color used for stdout in consoles.


stderrFG

public java.awt.Color stderrFG
The color used for stderr in consoles.


exceptionFG

public java.awt.Color exceptionFG
The color used for exceptions in consoles.


promptFG

public java.awt.Color promptFG
The color used for prompts in consoles.

Constructor Detail

ConsolePrefs

public ConsolePrefs()
Method Detail

load

public void load(java.io.InputStream in)
          throws java.io.IOException
Overridden to validate the task identifiers value.

Overrides:
load in class Prefs
Parameters:
in - The input stream. It is the caller's responsibility to close this stream.
Throws:
java.io.IOException - If an IO error occurs.
See Also:
Prefs.load(File)

setDefaults

public void setDefaults()
Sets all fields in this class to their default values.

Specified by:
setDefaults in class Prefs