cz.vity.freerapid.core
Class MainApp

java.lang.Object
  extended by org.jdesktop.application.AbstractBean
      extended by org.jdesktop.application.Application
          extended by org.jdesktop.application.SingleFrameApplication
              extended by org.jdesktop.appframework.swingx.SingleXFrameApplication
                  extended by cz.vity.freerapid.core.MainApp

public class MainApp
extends SingleXFrameApplication

Hlavni trida aplikace

Author:
Vity

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jdesktop.application.Application
org.jdesktop.application.Application.ExitListener
 
Field Summary
(package private) static boolean debug
           
 
Constructor Summary
MainApp()
           
 
Method Summary
static org.jdesktop.application.ApplicationContext getAContext()
           
 ManagerDirector getManagerDirector()
          Vraci komponentu hlavniho panelu obsahujici dalsi komponenty
 TrayIconSupport getTrayIconSupport()
           
protected  void initialize(String[] args)
          

Overridden to force a JXFrame as main frame and inject SwingX specific session properties.

protected  void injectSessionProperties()
          Registers SwingX specific Properties for session storage.
static void main(String[] args)
          Hlavni spousteci metoda programu
protected  void startup()
           
 
Methods inherited from class org.jdesktop.appframework.swingx.SingleXFrameApplication
createXMainFrame, deleteSessionState, prepareDialog, prepareWindow, show, 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, exit, exit, getContext, getExitListeners, getInstance, getInstance, hide, launch, quit, ready, removeExitListener
 
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
 

Field Detail

debug

static boolean debug
Constructor Detail

MainApp

public MainApp()
Method Detail

initialize

protected void initialize(String[] args)
Description copied from class: SingleXFrameApplication

Overridden to force a JXFrame as main frame and inject SwingX specific session properties.

Overrides:
initialize in class SingleXFrameApplication

startup

protected void startup()
Overrides:
startup in class SingleXFrameApplication

injectSessionProperties

protected void injectSessionProperties()
Description copied from class: SingleXFrameApplication
Registers SwingX specific Properties for session storage.

Overrides:
injectSessionProperties in class SingleXFrameApplication

getManagerDirector

public ManagerDirector getManagerDirector()
Vraci komponentu hlavniho panelu obsahujici dalsi komponenty

Returns:
hlavni panel

main

public static void main(String[] args)
Hlavni spousteci metoda programu

Parameters:
args - vstupni parametry pro program

getAContext

public static org.jdesktop.application.ApplicationContext getAContext()

getTrayIconSupport

public TrayIconSupport getTrayIconSupport()