abstractpublic class AbstractConsoleController implements Serializable(Code)
Abstract class to handle hooking up a console document with its pane.
TODO: move interactions specific functionality to InteractionsController
version: $Id: AbstractConsoleController.java 4255 2007-08-28 19:17:37Z mgricken $
Inner Class :class CaretUpdateListener implements DocumentListener
Sets the font for the document, updating all existing text. This behavior is only necessary in Mac OS X, since
setFont() works fine on JTextPane on all other tested platforms. This glitch in the Mac JVM still exists as of
11-28-06 in beta Java 6.0 build 88.
Parameters: f - New font to use.
Sets the color for the document, updating all existing text. This behavior is only necessary in Mac OS X, since
changing the main font works on all other tested platforms.
Parameters: c - New color to use.
Sets the font and color for the document, updating all existing text. This behavior is only necessary in Mac OS
X, since setFont() and changing the main font works on all other tested platforms.
Parameters: f - New font to use. Parameters: c - New color to use.