ch.elca.el4j.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.gui.swing.GUIApplication
                  extended by ch.elca.el4j.gui.swing.DockingApplication

public abstract class DockingApplication
extends GUIApplication

Parent class for new Docking applications.

Author:
Stefan Wismer (SWI)

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 m_toolWindowManager
          The tool window manager.
 
Fields inherited from class ch.elca.el4j.gui.swing.GUIApplication
m_config, m_instancesWithActionMappings, m_springContext
 
Constructor Summary
DockingApplication()
           
 
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
 

Field Detail

m_toolWindowManager

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

Constructor Detail

DockingApplication

public DockingApplication()
Method Detail

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 name
anchor - 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 show
anchor - 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 created
anchor - 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.