ch.elca.el4j.services.gui.swing
Class DockingApplication
java.lang.Object
org.jdesktop.application.AbstractBean
org.jdesktop.application.Application
org.jdesktop.application.SingleFrameApplication
ch.elca.el4j.services.gui.swing.GUIApplication
ch.elca.el4j.services.gui.swing.DockingApplication
- All Implemented Interfaces:
- ActionsContextAware
public abstract class DockingApplication
- extends GUIApplication
Parent class for Docking applications.
- Author:
- Stefan Wismer (SWI)
- File-location:
- DockingApplication
- Last check-in date:
- 2009-10-21 11:14:09 +0200 (Mi, 21. Okt 2009) by swismer for revision 3956
Nested classes/interfaces inherited from class org.jdesktop.application.Application |
org.jdesktop.application.Application.ExitListener |
Field Summary |
protected org.noos.xing.mydoggy.ToolWindowManager |
toolWindowManager
The tool window manager. |
Methods inherited from class ch.elca.el4j.services.gui.swing.GUIApplication |
getAction, getActionsContext, getConfig, getInstance, getSpringContext, getString, launch, setConfig, setSpringContext, show, showMain, showMain, showMain, shutdown |
Methods inherited from class org.jdesktop.application.SingleFrameApplication |
configureWindow, getMainFrame, getMainView, setMainFrame, show, show, show |
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 |
toolWindowManager
protected org.noos.xing.mydoggy.ToolWindowManager toolWindowManager
- The tool window manager.
DockingApplication
public DockingApplication()
getToolWindowManager
public org.noos.xing.mydoggy.ToolWindowManager getToolWindowManager()
- Returns:
- the current
ToolWindowManager
.
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(ApplicationFrame frame)
- Show a frame.
- Overrides:
show
in class GUIApplication
- Parameters:
frame
- the frame to show
show
public void show(String beanName,
String toolWindowId,
org.noos.xing.mydoggy.ToolWindowAnchor anchor)
throws NoSuchBeanDefinitionException
- Parameters:
beanName
- the Spring bean nametoolWindowId
- the id of the toolWindow to add a new tabanchor
- the anchor of the docked window
- Throws:
NoSuchBeanDefinitionException
show
public void show(JComponent component,
String toolWindowId,
org.noos.xing.mydoggy.ToolWindowAnchor anchor)
- Parameters:
component
- the component to showtoolWindowId
- the id of the toolWindow to add a new tabanchor
- the anchor of the docked window
showContent
public void showContent(ContentApplicationFrame frame)
- Show a frame as content.
- Parameters:
frame
- the frame to show as content
showToolWindow
public void showToolWindow(ToolWindowTabApplicationFrame frame)
- Show a frame as toolbox.
- Parameters:
frame
- the frame to show as toolbox
Copyright © 2005-2011 ELCA. All Rights Reserved.