| java.lang.Object ti.chimera.Plugin ti.chimera.plugin.AbstractModePlugin
All known Subclasses: ti.chimera.plugin.WindowModePlugin, ti.chimera.plugin.DesktopModePlugin,
AbstractModePlugin | abstract public class AbstractModePlugin extends Plugin (Code) | | This plugin provides an base implementation of the functionality of
the window manager mode that should be in common to all modes. It
provides an abstract base implementation of the
WindowMode
service for the subclass of this class to extend.
The mode is only half of the equasion as far as window management.
The other half is the plugin that implements the "window manager"
service, which is the "front end" that the rest of the system uses.
The devision is labor is that the this plugin responds to data written
into the registry.
author: Rob Clark version: 0.1 |
Inner Class :abstract protected class AbstractWindowMode extends WindowMode | |
Inner Class :protected interface DialogImplementation | |
Inner Class :protected class DialogUtility | |
Field Summary | |
final protected static boolean | JDK14 For defaults and behaviors that depend on whether we are running
in a JDK v1.4 or later environment, in which case it is set to
true . | final protected static boolean | MRJ | protected Component | mainWindow The main-window. | protected Registry | registry We use the registry a lot, so hang on to a copy for easy access... | protected boolean | userInterfaceVisible |
JDK14 | final protected static boolean JDK14(Code) | | For defaults and behaviors that depend on whether we are running
in a JDK v1.4 or later environment, in which case it is set to
true .
|
MRJ | final protected static boolean MRJ(Code) | | For defaults and behaviors that depend on whether we are running
in a mac environment or not; this is set to true if
executing on a mac
|
mainWindow | protected Component mainWindow(Code) | | The main-window. This is the window that contains the menu-bar, the
tool-bars, and the JDesktopPane containing all the dialogs
|
registry | protected Registry registry(Code) | | We use the registry a lot, so hang on to a copy for easy access...
|
userInterfaceVisible | protected boolean userInterfaceVisible(Code) | | Is the user interface visible?
|
AbstractModePlugin | public AbstractModePlugin(Main main, String name)(Code) | | Class Constructor.
Parameters: main - the main application Parameters: name - the plugin name |
fixBounds | protected void fixBounds()(Code) | | fix the bounds of all dialogs
|
fixMainWindowBounds | protected void fixMainWindowBounds()(Code) | | fix the bounds of all dialogs
|
getAppName | protected String getAppName()(Code) | | get the application name
|
setVisible | protected void setVisible(boolean b)(Code) | | Called when the visibility of the user interface changes. This should
be overriden as needed.
|
|
|