ch.elca.el4j.gui.swing
Class DockingApplication
java.lang.Object
org.jdesktop.application.AbstractBean
org.jdesktop.application.Application
org.jdesktop.application.SingleFrameApplication
ch.elca.el4j.gui.swing.GUIApplication
ch.elca.el4j.gui.swing.DockingApplication
public abstract class DockingApplication
- extends GUIApplication
Parent class for new Docking applications.
- Author:
- Stefan Wismer (SWI)
| Nested classes/interfaces inherited from class org.jdesktop.application.Application |
org.jdesktop.application.Application.ExitListener |
|
Field Summary |
protected org.noos.xing.mydoggy.ToolWindowManager |
m_toolWindowManager
The tool window manager. |
|
Method Summary |
protected org.noos.xing.mydoggy.Content |
addContent(JFrame content)
|
protected org.noos.xing.mydoggy.ToolWindow |
createToolWindow(JFrame content,
org.noos.xing.mydoggy.ToolWindowAnchor anchor)
|
protected org.noos.xing.mydoggy.ToolWindowManager |
getToolWindowManager()
Creates the tool window manager if necessary. |
void |
show(JComponent component)
Show a nested component. |
void |
show(JComponent component,
org.noos.xing.mydoggy.ToolWindowAnchor anchor)
|
void |
show(String beanName,
org.noos.xing.mydoggy.ToolWindowAnchor anchor)
|
| Methods inherited from class ch.elca.el4j.gui.swing.GUIApplication |
addActionMappingInstance, createMenu, createPopup, getAction, getAction, getConfig, getInstance, getSpringContext, getString, launch, removeActionMappingInstance, setConfig, setSpringContext, show, showMain, showMain, showMain |
| Methods inherited from class org.jdesktop.application.SingleFrameApplication |
configureWindow, getMainFrame, getMainView, setMainFrame, show, show, show, shutdown |
| Methods inherited from class org.jdesktop.application.Application |
addExitListener, create, end, exit, exit, getContext, getExitListeners, getInstance, hide, initialize, launch, quit, ready, removeExitListener, setInstance, startup, waitForReady |
| Methods inherited from class org.jdesktop.application.AbstractBean |
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_toolWindowManager
protected org.noos.xing.mydoggy.ToolWindowManager m_toolWindowManager
- The tool window manager.
DockingApplication
public DockingApplication()
getToolWindowManager
protected org.noos.xing.mydoggy.ToolWindowManager getToolWindowManager()
- Creates the tool window manager if necessary.
show
public void show(String beanName,
org.noos.xing.mydoggy.ToolWindowAnchor anchor)
throws NoSuchBeanDefinitionException
- Parameters:
beanName - the Spring bean nameanchor - the anchor of the docked window
- Throws:
NoSuchBeanDefinitionException
show
public void show(JComponent component)
- Show a nested component.
- Overrides:
show in class GUIApplication
- Parameters:
component - the component to show
show
public void show(JComponent component,
org.noos.xing.mydoggy.ToolWindowAnchor anchor)
- Parameters:
component - the component to showanchor - the anchor of the docked window
createToolWindow
protected org.noos.xing.mydoggy.ToolWindow createToolWindow(JFrame content,
org.noos.xing.mydoggy.ToolWindowAnchor anchor)
- Parameters:
content - the content of the tool window to be createdanchor - the anchor of the docked window
- Returns:
- the created tool window
addContent
protected org.noos.xing.mydoggy.Content addContent(JFrame content)
- Parameters:
content - the content of the content window to be created
- Returns:
- the created content window
Copyright © 2005-2008 ELCA. All Rights Reserved.