|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tbee.swing.framework.Application
public class Application
TODO: icon sets
| Nested Class Summary | |
|---|---|
static interface |
Application.ScreenClosedListener
|
| Field Summary | |
|---|---|
static java.lang.String |
APPLICATIONCONTEXT_PROPERTY_ID
|
static java.lang.String |
AUTOQUIT_PROPERTY_ID
|
nl.knowledgeplaza.util.ListenerHandler<Application.ScreenClosedListener,Screen> |
screenClosedListeners
|
| Constructor Summary | |
|---|---|
Application()
|
|
| Method Summary | |
|---|---|
protected void |
bootstrap(ApplicationContext applicationContext)
|
Screen |
close(Screen screen)
close a screen |
Screen |
close(Screen screen,
boolean force)
|
protected void |
configureGUI()
configure the gui |
protected void |
construct()
construct the non-gui stuff |
protected void |
constructGUI()
construct the gui |
protected void |
destruct()
|
protected void |
destructGUI()
|
void |
fireScreenClosed(Screen screen)
ScreenClosedListener |
static Application |
getApplication()
|
ApplicationContext |
getApplicationContext()
ApplicationContext: |
boolean |
getAutoQuit()
AutoQuit: quit the application when all screens are closed |
static void |
main(java.lang.String[] args)
|
protected Screen |
newEmptyScreen()
create an empty screen: a special utility method for quickly creating a screen in an application without an external screen class |
Screen |
open(Screen screen)
|
Screen |
open(Screen screen,
boolean visibleImmediately)
|
void |
quit()
|
void |
quit(int status)
|
void |
setApplicationContext(ApplicationContext value)
|
void |
setAutoQuit(boolean value)
|
static Application |
startup(java.lang.String classname,
ApplicationContext applicationContext)
Start the application class within the context |
Application |
withApplicationContext(ApplicationContext value)
|
Application |
withAutoQuit(boolean value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String APPLICATIONCONTEXT_PROPERTY_ID
public static final java.lang.String AUTOQUIT_PROPERTY_ID
public final nl.knowledgeplaza.util.ListenerHandler<Application.ScreenClosedListener,Screen> screenClosedListeners
| Constructor Detail |
|---|
public Application()
| Method Detail |
|---|
public static Application getApplication()
public ApplicationContext getApplicationContext()
public void setApplicationContext(ApplicationContext value)
public Application withApplicationContext(ApplicationContext value)
public boolean getAutoQuit()
public void setAutoQuit(boolean value)
public Application withAutoQuit(boolean value)
public static Application startup(java.lang.String classname,
ApplicationContext applicationContext)
classname - application - contextprotected void bootstrap(ApplicationContext applicationContext)
applicationContext - public void quit(int status)
applicationContext - public void quit()
protected void construct()
protected void destruct()
protected void configureGUI()
protected void constructGUI()
protected void destructGUI()
public Screen open(Screen screen)
public Screen open(Screen screen,
boolean visibleImmediately)
protected Screen newEmptyScreen()
public Screen close(Screen screen)
public Screen close(Screen screen,
boolean force)
public void fireScreenClosed(Screen screen)
public static void main(java.lang.String[] args)
args -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||