SRJRCFrames
v0.1.296

de.schwarzrot.ui
Class DockDesktop

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

public class DockDesktop
extends AbstractDesktop


Nested Class Summary
protected  class DockDesktop.WindowListener
           
 
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
DockDesktop(String appName)
           
 
Method Summary
 void createMainFrame(Application<?> app)
          creates the rootlevel window
protected  void createMenu(JMenuBar menuBar)
           
 void doSwitch(Application<?> app)
          switch to another loaded application
 void init(List<Application<?>> apps)
          first stage of initialization
protected  void restoreAppStatus()
           
protected  void restorePerspective()
           
protected  void saveAppStatus()
           
protected  void savePerspective()
           
protected  JComponent setupPerspective(JFrame frame)
           
 void start()
          second stage of application setup and start of the game
 
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, getMainWindow, 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

DockDesktop

public DockDesktop(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

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

createMenu

protected void createMenu(JMenuBar menuBar)

restoreAppStatus

protected void restoreAppStatus()

restorePerspective

protected void restorePerspective()

saveAppStatus

protected void saveAppStatus()

savePerspective

protected void savePerspective()

setupPerspective

protected JComponent setupPerspective(JFrame frame)

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.