Package | Description |
---|---|
examples | |
org.jdesktop.application |
Modifier and Type | Class | Description |
---|---|---|
class |
ActionExample1 |
@Action basics. |
class |
ActionExample2 |
Initializing
@Action properties from resources. |
class |
ActionExample3 |
The
enabledProperty @Action annotation parameter. |
class |
ActionExample4 |
An
@Action that executes a background Task . |
class |
ActionMapExample |
This is a very simple example of a reusable
@Actions class. |
class |
ApplicationExample1 |
A "Hello World" application.
|
class |
ApplicationExample2 |
A "Hello World" application with a standard resource bundle.
|
class |
BlockingExample1 |
A demo of the
@Action block options for background
task. |
class |
DocumentExample |
This is a very simple example of a SingleFrameApplication that
loads and saves a single text document.
|
class |
ExitExample1 |
Demonstrate the use of an ExitListener.
|
class |
LocalStorageExample1 |
A simple demonstration of the
LocalStorage class: loads and saves
a LinkedHashMap (a HashMap whose entries have a stable order). |
class |
PeriodicTaskExample |
Demonstrates creating a Task that runs periodically.
|
class |
SelectedPropertyExample |
A simple demonstration of the
@Action(selectedProperty)
annotation parameter. |
class |
SessionStorageExample1 |
An example that demonstrates the default support for saving and
restoring GUI session state.
|
class |
SingleFrameExample1 |
A trivial (Hello World) example of SingleFrameApplication.
|
class |
SingleFrameExample2 |
|
class |
SingleFrameExample3 |
A SingleFrameApplication example with an exitListener.
|
class |
SingleFrameExample4 |
A simple demo of the @Action annotation.
|
class |
SingleFrameExample5 |
A demo of the Task class.
|
class |
SingleFrameExample6 |
A demo that shows the use of SingleFrameApplication secondary windows.
|
Modifier and Type | Method | Description |
---|---|---|
protected Application |
ActionMapExample.BaseScenePanel.getApplication() |
Constructor | Description |
---|---|
BaseScenePanel(Application application) |
|
DerivedScenePanelA(Application application) |
|
DerivedScenePanelB(Application application) |
|
LoadImageTask(Application app,
java.net.URL url) |
|
StatusBar(Application app,
TaskMonitor taskMonitor) |
Constructs a panel that displays messages/progress/state
properties of the
taskMonitor's foreground task. |
Modifier and Type | Class | Description |
---|---|---|
class |
SingleFrameApplication |
An application base class for simple GUIs with one primary JFrame.
|
Modifier and Type | Method | Description |
---|---|---|
static <T extends Application> |
Application.getInstance(java.lang.Class<T> applicationClass) |
The
Application singleton. |
static <T extends Application> |
Application.launch(java.lang.Class<T> applicationClass,
java.lang.String[] args) |
Creates an instance of the specified
Application
subclass, sets the ApplicationContext
application property, and then calls the new
Application's startup method. |
Modifier and Type | Method | Description |
---|---|---|
Application |
ApplicationContext.getApplication() |
The
Application singleton, or null if launch hasn't
been called yet. |
Application |
Task.getApplication() |
|
Application |
View.getApplication() |
The
Application that's responsible for showing/hiding this View. |
static Application |
Application.getInstance() |
The
Application singleton, or a placeholder if
launch hasn't been called yet. |
Constructor | 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,
java.lang.String resourcePrefix) |
Deprecated.
|
Task(Application application,
ResourceMap resourceMap,
java.lang.String resourcePrefix) |
Deprecated.
|
View(Application application) |
Construct an empty View object for the specified Application.
|