SRJRCFrames
v0.1.296

de.schwarzrot.ui
Class MDIDesktop

java.lang.Object
  extended by de.schwarzrot.ui.support.AbstractDesktop
      extended by de.schwarzrot.ui.MDIDesktop
All Implemented Interfaces:
Desktop, RootWindowHandler, EventListener, InternalFrameListener, ApplicationEventPublisher

public class MDIDesktop
extends AbstractDesktop
implements InternalFrameListener

a desktop implementation, that uses MDI (multiple documents interface).

Author:
Reinhard Mantey

Field Summary
 
Fields inherited from class de.schwarzrot.ui.support.AbstractDesktop
taFactory
 
Fields inherited from interface de.schwarzrot.ui.Desktop
defaultStartupSize, ID_DESKTOP, ID_TITLE
 
Constructor Summary
MDIDesktop(String appName)
           
 
Method Summary
 void createMainFrame(Application<?> app)
          creates the rootlevel window
 void doSwitch(Application<?> app)
          switch to another loaded application
 Window getMainWindow()
           
 void init(List<Application<?>> apps)
          first stage of initialization
 void internalFrameActivated(InternalFrameEvent e)
           
 void internalFrameClosed(InternalFrameEvent e)
           
 void internalFrameClosing(InternalFrameEvent e)
           
 void internalFrameDeactivated(InternalFrameEvent e)
           
 void internalFrameDeiconified(InternalFrameEvent e)
           
 void internalFrameIconified(InternalFrameEvent e)
           
 void internalFrameOpened(InternalFrameEvent e)
           
 void start()
          second stage of application setup and start of the game
protected  void updateUI(Application<?> app)
           
 
Methods inherited from class de.schwarzrot.ui.support.AbstractDesktop
addApplication, createMenuBar, createMenuBar, createToolBar, createToolBar, decOpenedFramesCounter, doAbout, doCloseApp, doCloseApp, doConfig, doEditMappings, doExit, doHelp, getActionHandler, getArchiveInfo, getConfig, getConfigPage, getCurApp, getDefaultApp, getName, getOpenedFramesCounter, getProgressMonitor, getServicesPage, getVersionString, getXOffset, getYOffset, incOpenedFramesCounter, publishEvent, setActionHandler, setArchiveInfo, setConfig, setCurApp, setCurApp, setDefaultApp, setDefaultApp, setName, setProgressMonitor, setupFrom, setVersionBuild, setVersionMajor, setVersionMinor, validateUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MDIDesktop

public MDIDesktop(String appName)
Method Detail

createMainFrame

public void createMainFrame(Application<?> app)
Description copied from interface: Desktop
creates the rootlevel window

Specified by:
createMainFrame in interface Desktop
Parameters:
app - - application

doSwitch

public void doSwitch(Application<?> app)
Description copied from interface: Desktop
switch to another loaded application

Specified by:
doSwitch in interface Desktop
Parameters:
app - - the application to switch to

getMainWindow

public Window getMainWindow()
Specified by:
getMainWindow in interface RootWindowHandler
Overrides:
getMainWindow in class AbstractDesktop

init

public void init(List<Application<?>> apps)
Description copied from interface: Desktop
first stage of initialization

Specified by:
init in interface Desktop
Overrides:
init in class AbstractDesktop
Parameters:
apps - - list of loaded applications

internalFrameActivated

public void internalFrameActivated(InternalFrameEvent e)
Specified by:
internalFrameActivated in interface InternalFrameListener

internalFrameClosed

public void internalFrameClosed(InternalFrameEvent e)
Specified by:
internalFrameClosed in interface InternalFrameListener

internalFrameClosing

public void internalFrameClosing(InternalFrameEvent e)
Specified by:
internalFrameClosing in interface InternalFrameListener

internalFrameDeactivated

public void internalFrameDeactivated(InternalFrameEvent e)
Specified by:
internalFrameDeactivated in interface InternalFrameListener

internalFrameDeiconified

public void internalFrameDeiconified(InternalFrameEvent e)
Specified by:
internalFrameDeiconified in interface InternalFrameListener

internalFrameIconified

public void internalFrameIconified(InternalFrameEvent e)
Specified by:
internalFrameIconified in interface InternalFrameListener

internalFrameOpened

public void internalFrameOpened(InternalFrameEvent e)
Specified by:
internalFrameOpened in interface InternalFrameListener

start

public void start()
Description copied from interface: Desktop
second stage of application setup and start of the game

Specified by:
start in interface Desktop
Specified by:
start in class AbstractDesktop

updateUI

protected void updateUI(Application<?> app)

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
Submit a bug or request a feature

SRJRCFrames is published according to the GNU General Public License
Copyright 2005-2012 Reinhard Mantey - some rights reserved.