|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.AbstractMDIApplication
public abstract class AbstractMDIApplication
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) }
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 |
---|
public AbstractMDIApplication()
Method Detail |
---|
protected abstract JDesktopPane getDesktopPane()
public void show(JComponent component)
GUIApplication
show
in class GUIApplication
component
- the panel to show as MDI child windowpublic void show(ApplicationFrame frame)
show
in class GUIApplication
frame
- the frame to show
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |