|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.application.AbstractBean
org.jdesktop.application.Application
org.jdesktop.application.SingleFrameApplication
ch.elca.el4j.gui.swing.GUIApplication
ch.elca.el4j.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.gui.swing.GUIApplication |
|---|
m_config, m_instancesWithActionMappings, m_springContext |
| Constructor Summary | |
|---|---|
AbstractMDIApplication()
|
|
| Method Summary | |
|---|---|
protected abstract JDesktopPane |
getDesktopPane()
|
void |
show(JComponent component)
Show a nested component. |
void |
show(JInternalFrame frame,
int index)
Adds an internal frame to the MDI application In particular: keeps track of the frame, adds listeners to frame events and ensures properties of the frame are stored persistently. |
void |
showInternalFrame(JComponent frame)
Adds an internal frame to the MDI application. |
| 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 |
| Constructor Detail |
|---|
public AbstractMDIApplication()
| Method Detail |
|---|
protected abstract JDesktopPane getDesktopPane()
public void showInternalFrame(JComponent frame)
frame - the frame to addshow(JInternalFrame,int)public void show(JComponent component)
GUIApplication
show in class GUIApplicationcomponent - the panel to show as MDI child window
public void show(JInternalFrame frame,
int index)
frame - the internal frame to addindex - the position at which to insert the
component, or -1 to append the component to the end
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||