SRJRCFrames
v0.1.296

de.schwarzrot.ui
Class SWIDesktop

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

public class SWIDesktop
extends AbstractDesktop

a desktop implementation of SWI mode (single window interface). All toplevel applications share the same client area.

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
SWIDesktop(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 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

SWIDesktop

public SWIDesktop(String appName)
Method Detail

createMainFrame

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

Parameters:
app - - application

doSwitch

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

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

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.