Package | Description |
---|---|
org.jdesktop.application |
Modifier and Type | Class and Description |
---|---|
class |
SingleFrameApplication
An application base class for simple GUIs with one primary JFrame.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Application> |
Application.getInstance(Class<T> applicationClass)
The
Application singleton. |
static <T extends Application> |
Application.launch(Class<T> applicationClass,
String[] args)
Creates an instance of the specified
Application
subclass, sets the ApplicationContext application property, and then calls the new Application's initialize and startup methods. |
Modifier and Type | Method and Description |
---|---|
Application |
Task.getApplication() |
Application |
View.getApplication()
Returns the
Application that's responsible for showing/hiding this View. |
Application |
ApplicationContext.getApplication()
The
Application singleton, or null if launch hasn't
been called yet. |
static Application |
Application.getInstance()
The
Application singleton. |
Constructor and Description |
---|
FrameView(Application application) |
Task(Application application)
Construct a
Task with an empty ("" ) resource name
prefix, whose ResourceMap is the value of
ApplicationContext.getInstance().getResourceMap(this.getClass(),
Task.class) . |
Task(Application application,
ResourceMap resourceMap,
String resourcePrefix)
Deprecated.
|
Task(Application application,
String resourcePrefix)
Deprecated.
|
View(Application application)
Construct an empty View object for the specified Application.
|
Copyright © 2009–2014. All rights reserved.