ch.elca.el4j.services.gui.swing
Class DockingApplication

java.lang.Object
  extended by org.jdesktop.application.AbstractBean
      extended by org.jdesktop.application.Application
          extended by org.jdesktop.application.SingleFrameApplication
              extended by ch.elca.el4j.services.gui.swing.GUIApplication
                  extended by 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 Class Summary
 
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.
 
Fields inherited from class ch.elca.el4j.services.gui.swing.GUIApplication
actionsContext, config, springContext
 
Constructor Summary
DockingApplication()
           
 
Method Summary
 org.noos.xing.mydoggy.ToolWindowManager getToolWindowManager()
           
 void show(ApplicationFrame frame)
          Show a frame.
 void show(JComponent component)
          Show a nested component.
 void show(JComponent component, String toolWindowId, org.noos.xing.mydoggy.ToolWindowAnchor anchor)
           
 void show(String beanName, String toolWindowId, org.noos.xing.mydoggy.ToolWindowAnchor anchor)
           
 void showContent(ContentApplicationFrame frame)
          Show a frame as content.
 void showToolWindow(ToolWindowTabApplicationFrame frame)
          Show a frame as toolbox.
 
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
 

Field Detail

toolWindowManager

protected org.noos.xing.mydoggy.ToolWindowManager toolWindowManager
The tool window manager.

Constructor Detail

DockingApplication

public DockingApplication()
Method Detail

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 name
toolWindowId - the id of the toolWindow to add a new tab
anchor - 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 show
toolWindowId - the id of the toolWindow to add a new tab
anchor - 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.