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

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.AbstractMDIApplication
All Implemented Interfaces:
ActionsContextAware
Direct Known Subclasses:
MDIApplication

public abstract class AbstractMDIApplication
extends GUIApplication

Parent class for new MDI applications using an XML GUI description. Programmatically written GUI should use MDIApplication. Additional features: * allows adding internal frames (for the Documents of MDI) to the application Internal frames can (optionally) minimize themselves { @link JInternalFrame#setIconifiable(boolean) }

Author:
Stefan Wismer (SWI), Philipp Oser (POS)
File-location:
AbstractMDIApplication
Last check-in date:
2009-08-04 13:59:45 +0200 (Di, 04. Aug 2009) by swismer for revision 3873

Nested Class Summary
protected  class AbstractMDIApplication.ListenerToEvent
          Helper that listens to events of the internal frames.
 
Nested classes/interfaces inherited from class org.jdesktop.application.Application
org.jdesktop.application.Application.ExitListener
 
Field Summary
 
Fields inherited from class ch.elca.el4j.services.gui.swing.GUIApplication
actionsContext, config, springContext
 
Constructor Summary
AbstractMDIApplication()
           
 
Method Summary
protected abstract  JDesktopPane getDesktopPane()
           
 void show(ApplicationFrame frame)
          Show a frame.
 void show(JComponent component)
          Show a nested component.
 
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
 

Constructor Detail

AbstractMDIApplication

public AbstractMDIApplication()
Method Detail

getDesktopPane

protected abstract JDesktopPane getDesktopPane()
Returns:
the desktop pane of this MDIApplication

show

public void show(JComponent component)
Description copied from class: GUIApplication
Show a nested component.

Overrides:
show in class GUIApplication
Parameters:
component - the panel to show as MDI child window

show

public void show(ApplicationFrame frame)
Show a frame.

Overrides:
show in class GUIApplication
Parameters:
frame - the frame to show


Copyright © 2005-2011 ELCA. All Rights Reserved.