|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.binding.beans.Model
com.jgoodies.uif.application.Application
com.jgoodies.uif.application.AbstractUIFApplication
com.jgoodies.uifextras.convenience.DefaultUIFApplication
public abstract class DefaultUIFApplication
This class is used during the startup process and extends
the more generic superclass behavior of the
AbstractUIFApplication
.
Splash
,
HelpBroker
,
Serialized FormConstructor Summary | |
---|---|
DefaultUIFApplication()
|
Method Summary | |
---|---|
protected void |
addMessageHandler()
|
protected void |
checkSetup()
Checks whether a setup is necessary. |
protected void |
configureHelp()
Configures the application wide help. |
protected void |
configureLogging()
Configure logging to write a console.log file. |
protected void |
configureLogging2()
Configures the logging. |
protected void |
configureSetupManager()
Configures the SetupManager . |
protected void |
configureSplash()
Configures the splash component: reads the splash image, then opens an ImageSplash. |
protected void |
configureUI()
Configures all UI related properties: look&feel, system properties, etc. |
protected abstract com.jgoodies.uif.AbstractFrame |
createMainFrame()
Creates and returns the main frame. |
protected String |
getDefaultLogFilePattern()
Returns the default log file pattern. |
protected String |
getDefaultLogFilePrefix()
Computes and returns a pattern for the log file directory. |
protected abstract void |
initializeActions()
Initializes the application's actions. |
protected void |
launchApplication()
Brings up the application, it therefore initializes the main frame, checks the setup process, initializes all actions, then builds the main frame, and finally opens it. |
Methods inherited from class com.jgoodies.uif.application.AbstractUIFApplication |
---|
addLogFileHandler, configureLoggingFromProperties, disposeFramesAndWindows, ensureParentDirectoryExists, exitSystem, getApplicationDataDirectory, getAppResourceMap, load, lookupApplicationDataBaseDirectory, lookupApplicationDataDirectory, shutdown, startup |
Methods inherited from class com.jgoodies.uif.application.Application |
---|
addExitListener, clearActionMap, end, exit, exit, exitAllowed, fireApplicationExiting, getAction, getActionMap, getApplicationExitOnWindowClosingHandler, getResourceMap, launch, removeExitListener |
Methods inherited from class com.jgoodies.binding.beans.Model |
---|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultUIFApplication()
Method Detail |
---|
protected void configureLogging()
configureLogging
in class com.jgoodies.uif.application.AbstractUIFApplication
protected void configureLogging2()
This will become the default logging behavior in the
next major UIF version.. For now it resides as an
optional default behavior and must be invoked manually from
the #configureLogging
method.
This default implementation reads the logging configuration from
a file resources/logging.<LOGGING TYPE>.properties.
The <LOGGING TYPE> is read from the system property
logging.type, and is default by default. Hence,
the default logging configuration file is
resources/logging.default.properties.
If for example you set the logging type to debug,
the logging configuration file will be
resources/logging.debug.properties.
Also adds a FileHandler that logs to
<applicationDataDirectory>/console%u.log
.
Subclasses may override this implementation.
AbstractUIFApplication.getApplicationDataDirectory()
protected String getDefaultLogFilePattern()
getDefaultLogFilePrefix()
protected String getDefaultLogFilePrefix()
AbstractUIFApplication.getApplicationDataDirectory()
protected void configureSplash()
configureSplash
in class com.jgoodies.uif.application.AbstractUIFApplication
protected void addMessageHandler()
protected void configureHelp()
configureHelp
in class com.jgoodies.uif.application.AbstractUIFApplication
protected void launchApplication()
launchApplication
in class com.jgoodies.uif.application.AbstractUIFApplication
protected abstract com.jgoodies.uif.AbstractFrame createMainFrame()
protected abstract void initializeActions()
protected void configureUI()
LookUtils
of the JGoodies L&F library.
Also the menu bar is moved to the screen in Aqua look&feel.Subclasses that override this method are encouraged to invoke this super behavior.
configureUI
in class com.jgoodies.uif.application.AbstractUIFApplication
protected void checkSetup()
protected void configureSetupManager()
SetupManager
. The default does nothing.
Subclasses can, for example modify the welcome panel.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |