|
||||||||||
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. a class that contains one or more
@Actions).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. just before the task
begins running.
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.
propertyChange
method on all of the PropertyChangeListeners
added so far, on the event
dispatching thread.
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. the value of the
applicationClass
property.
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.
sessionState
property, typically
a Java bean or a Collection the defines the Component
state
that should be preserved across Application sessions.
SplitPaneState
object
for JSplitPane c
.
TabbedPaneState
object
for JTabbedPane c
.
TableState
object
for JTable c
or null, if none of the JTable's
columns are resizable
.
WindowState
object
for Window c
.
SessionStorage
object.
block
method will block input while this Task
is being executed by a TaskService.
TaskListeners
.
state
is not DONE
.
return getTaskService("default")
.
title
property.
userCanCancel
property.
Window
bounds from the client 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.
process
method is called.
sessionState
property.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
.
Window
bounds to client property.
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 .. 100.
progress
property to
percentage * 100
.
progress
property to the following
ratio normalized to 0 .. 100.
ResourceManager
.
selectedProperty
was
specified, then set the value of the selected property by
invoking the corresponding set
method on our
ApplicationActionMap's actionsObject
.
c's
sessionState
from the specified
object.
JSplitPane's
dividerLocation
property if its orientation
has not changed.
JTabbedPane's
selectedIndex
property if the number of tabs
has not changed.
TableColumn
, if
the number of columns haven't changed.
Window's
bounds if the dimensions of its
screen (GraphicsConfiguration
) haven't changed, the
number of screens hasn't changed, and the
isLocationByPlatform
property, which indicates that native Window manager should
pick the Window's location, is false.
SessionStorage
object.
title
property.
userCanCancel
property.
View
main frame
.
exits
.
sessionState
property for JSplitPane.dividerLocation
and orientation
properties of a JSplitPane
.get
method returns a value.
succeeded
completion method is called.
testType
can be converted with this converter.
sessionState
property for JTabbedPane.selectedIndex
and tabCount
properties of a JTabbedPane
.sessionState
property for JTable
This class defines how the session state for JTables
is saved
and
and restored
in
terms of a property called sessionState
.columnWidths
for all
of the columns in a JTable.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.ExecutorService
TaskService
TaskService
with default executor.
block
method did.
sessionState
property for Window.Window
state preserved across
sessions: the Window's bounds
, and the bounds of the
Window's GraphicsConfiguration
, i.e. the bounds of the
screen that the Window appears on.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |