|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Action
object's actionPerformed
method.ActionManager
provides read-only cached
access to ActionMaps
that contain one entry for each method
marked with the @Action
annotation in a class.ExitListener
to the list.
TaskListener
to this Task.
launch
.
Action
class used to implement the
@Action annotation.ActionMap
class where each entry
corresponds to an @Action method from a single
actionsClass (i.e.ApplicationActionMap
object.
Applications
.scope
and target
properties.
SwingWorker.cancel(boolean)
.
cancelled
method
is called.
getObject
to see
if a resource is defined by this ResourceMap.
ResourceManager.getResourceMap(java.lang.Class, java.lang.Class)
to construct ResourceMaps
.
name
parameter.
doInBackground
method is called, i.e.
exit
to terminate the application.
exit(null)
This version of exit() is convenient if the decision to exit the
application wasn't triggered by an event.
ExecutionExecption
is thrown by get
.
failed
completion
method is called.
finally
clause) after one
of the completion methods, succeeded
, failed
,
cancelled
, or interrupted
, runs.
finished
method is called.
ResourceConverter
for the specified type
@Action
) that caused
the task to be executed.
ActionMap
chain for the entire Application
.
ApplicationActionMap
chain for the specified
actions class and target object.
ActionMap
chain for the entire Application
.
ApplicationActionMap
chain for the specified
actions class and target object.
getActionMap(actionsObject.getClass(), actionsObject)
.
Application
singleton, or null if launch
hasn't
been called yet.
Application
that's responsible for showing/hiding this View.
foregroundTask
property should be automatically
reset to the oldest Task in the queue when it finishes running.
ResourceBundles
specific to the class.
Clipboard
.
JComponent
for this View.
ApplicationContext
ApplicationContext
which was used during creation of this
SessionStorage
object.
ApplicationContext
for the Application
that's responsible for showing/hiding this View.
description
property.
ExitListeners
added so far.
Task
whose status the ApplicationContext's GUI wants
to be displayed, typically in the main window's status bar.
Application
singleton.
Application
singleton.
LocalStorage
object.
JMenuBar
for this View.
message
property.
message
property was last set.
PropertySupport
object that was
registered
for the specified class
or a superclass.
sessionState PropertySupport
object exists for the
specified Component return it, otherwise return null.
PropertyChangeListeners
added so far.
@ProxyActions
recursively defined by this
ApplicationActionMap
and its parent ancestors.
getObject
to look up
resource values in the internal representation of the ResourceBundles
named when this ResourceMap was constructed.
keySet
to
get the names of the resources defined in this ResourceMap.
ResourceManager
provides
read-only cached access to resources in ResourceBundles via the
ResourceMap
class.
chain
of two or
more ResourceMaps.
chain
of two or more
ResourceMaps.
chain
of ResourceMaps
that's shared by the entire application, beginning with the one
defined for the Application class, i.e.
chain
of ResourceMaps
that encapsulate the ResourceBundles
for each class
from startClass
to (including) stopClass
.
ResourceMap
used by the constructor to
initialize the title
, message
, etc properties,
and by the message
method to look up format
strings.
ResourceMap
for this View.
JRootPane
for this View.
SessionStorage
object.
block
method will block input while this Task
is being executed by a TaskService.
TaskListeners
.
state
is not DONE
.
title
property.
userCanCancel
property.
View
startup
.
ResourceMap.injectComponent(java.awt.Component)
to each Component in the
hierarchy with root root.
interrupted
method is called.
enabledProperty
was
specified, then return the value of the enabled property's
is/get method applied to our ApplicationActionMap's
actionsObject
.
getState() == StateValue.PENDING
.
progress
property has
been set.
selectedProperty
was
specified, then return the value of the selected property's
is/get method applied to our ApplicationActionMap's actionsObject
.
getState() == StateValue.STARTED
.
Set
that contains all of the keys in
this ResourceMap and (recursively) its parent ResourceMaps.
Application
subclass, sets the ApplicationContext
application
property, and then calls the new Application's
initialize
and startup
methods.
String.format
and the specified arguments.
name
parameter.
name
parameter.
name
parameter.
process
method is called.
PropertySupport
for the specified class.
getObject
to cache
values that have been retrieved, evaluated (as in ${key}
expressions), and string converted.
@Action selectedProperty
in sync when
the value of key
is Action.SELECTED_KEY
.
Action
for quitting an application,
quit
just exits the application by calling exit(e)
.
system event queue
.
ResourceConverter
ExitListener
from the list.
TaskListener
from this Task.
ResourceManager
provides
read-only cached access to resources in ResourceBundles
via the
ResourceMap
class.ResourceManager
.
ResourceBundle
s as well as
(recursively) the parent ResourceMap.
ResourceMap.injectFields(java.lang.Object)
when
an error occurs while attempting to set a field (a field that
had been marked with @Resource).ResourceMap.getObject(java.lang.String, java.lang.Class)
when resource lookup
fails, for example because string conversion fails.ResourceMap.injectComponent(java.awt.Component)
and
ResourceMap.injectComponents(java.awt.Component)
when a property value specified by
a resource can not be set.LocalStorage.load(fileName)
.
bean
to the local storage
LocalStorage.save(fileName)
.
ActionManager
.
Application.launch()
to
record the application's class.
foregroundTask
property should be automatically
reset to the oldest Task in the queue when it finishes running.
description
property.
enabledProperty
was
specified, then set the value of the enabled property by
invoking the corresponding set
method on our
ApplicationActionMap's actionsObject
.
foregroundTask
changes.
LocalStorage
object.
message
property.
progress
property to the following
ratio normalized to 0 ..
progress
property to
percentage * 100
.
progress
property to the following
ratio normalized to 0 ..
ResourceManager
.
selectedProperty
was
specified, then set the value of the selected property by
invoking the corresponding set
method on our
ApplicationActionMap's actionsObject
.
SessionStorage
object.
title
property.
userCanCancel
property.
View
main frame
.
exits
.
succeeded
completion method is called.
testType
can be converted with this converter.
SwingWorker
that represents an application
background task.Task
with an empty (""
) resource name
prefix, whose ResourceMap is the value of
ApplicationContext.getInstance().getResourceMap(this.getClass(),
Task.class)
.
block
and unblock
that
do the work of blocking the GUI.Task
execution
methods: doInBackground()
, process
, done
.TaskEvent
.
Task
execution.TaskService
TaskService
with default executor.
block
method did.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |