|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.fife.ui.app.AbstractPlugin org.fife.ui.app.GUIPlugin
public abstract class GUIPlugin
A plugin thats includes one or more dockable windows.
Plugin
,
AbstractPluggableGUIApplication
,
DockableWindow
Field Summary |
---|
Fields inherited from interface org.fife.ui.app.GUIApplicationConstants |
---|
OS_LINUX, OS_MAC_OSX, OS_OTHER, OS_WINDOWS |
Fields inherited from interface org.fife.ui.dockablewindows.DockableWindowConstants |
---|
BOTTOM, FLOATING, LEFT, RIGHT, TOP |
Constructor Summary | |
---|---|
GUIPlugin()
Constructor. |
Method Summary | |
---|---|
java.util.Iterator<DockableWindow> |
dockableWindowIterator()
Returns an iterator over all dockable windows in this plugin. |
DockableWindow |
getDockableWindow(java.lang.String id)
Returns a dockable window. |
protected void |
lookAndFeelChanged(javax.swing.LookAndFeel newLaf)
Overridden to update the LookAndFeel of any non-active
(i.e. not visible) dockable windows owned by this plugin. |
protected void |
putDockableWindow(java.lang.String id,
DockableWindow window)
Associates a dockable window with an identifier. |
Methods inherited from class org.fife.ui.app.AbstractPlugin |
---|
getOptionsDialogPanelParentPanelID, setOptionsDialogPanelParentPanelID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.fife.ui.app.Plugin |
---|
getOptionsDialogPanel, getPluginAuthor, getPluginIcon, getPluginName, getPluginVersion, install, savePreferences, uninstall |
Constructor Detail |
---|
public GUIPlugin()
Method Detail |
---|
public java.util.Iterator<DockableWindow> dockableWindowIterator()
getDockableWindow(String)
public DockableWindow getDockableWindow(java.lang.String id)
id
- The id for the dockable window.
null
if no dockable
window is associated with that identifier.putDockableWindow(String, DockableWindow)
,
dockableWindowIterator()
protected void lookAndFeelChanged(javax.swing.LookAndFeel newLaf)
LookAndFeel
of any non-active
(i.e. not visible) dockable windows owned by this plugin. Active
dockable windows are automatically handled by the main window's updating
of its UI.Subclasses can override if they have modal dialogs (for example) that are cached and should be updated, but should call into the super implementation.
lookAndFeelChanged
in class AbstractPlugin
newLaf
- The new LookAndFeel
.protected void putDockableWindow(java.lang.String id, DockableWindow window)
id
- The identifier.window
- The dockable window.getDockableWindow(String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |