Package org.jdesktop.application
package org.jdesktop.application
-
ClassDescriptionAn encapsulation of the PropertyChangeSupport methods based on java.beans.PropertyChangeSupport.Marks a method that will be used to define a Swing
Action
object'sactionPerformed
method.The application'sActionManager
provides read-only cached access toActionMaps
that contain one entry for each method marked with the@Action
annotation in a class.The base class for Swing applications.Give the Application a chance to veto an attempt to exit/quit.TheAction
class used to implement the @Action annotation.AnActionMap
class where each entry corresponds to an @Action method from a single actionsClass (i.e.A singleton that manages shared objects, like actions, resources, and tasks, forApplications
.Access to per application, per user, local file storage.A base class for converting arbitrary types to and from Strings, as well as a registry of ResourceConverter implementations.The application'sResourceManager
provides read-only cached access to resources inResourceBundles
via theResourceMap
class.A read-only encapsulation of one or more ResourceBundles that adds automatic string conversion, support for field and Swing component property injection, string resource variable substitution, and chaining.Unchecked exception thrown byResourceMap.injectFields(java.lang.Object)
when an error occurs while attempting to set a field (a field that had been marked with @Resource).Unchecked exception thrown byResourceMap.getObject(java.lang.String, java.lang.Class)
when resource lookup fails, for example because string conversion fails.Unchecked exception thrown byResourceMap.injectComponent(java.awt.Component)
andResourceMap.injectComponents(java.awt.Component)
when a property value specified by a resource can not be set.Support for storing GUI state that persists between Application sessions.Defines thesessionState
property.AsessionState
property for JSplitPane.This Java Bean records thedividerLocation
andorientation
properties of aJSplitPane
.AsessionState
property for JTabbedPane.This Java Bean record theselectedIndex
andtabCount
properties of aJTabbedPane
.AsessionState
property for JTableThis Java Bean records thecolumnWidths
for all of the columns in a JTable.AsessionState
property for Window.This Java Bean defines theWindow
state preserved across sessions: the Window'sbounds
, and the bounds of the Window'sGraphicsConfiguration
, i.e.An application base class for simple GUIs with one primary JFrame.Task<T,V> A type ofSwingWorker
that represents an application background task.Specifies to what extent the GUI should be blocked a Task is executed by a TaskService.Specifies to what extent input to the Application's GUI should be blocked while this Task is being executed and provides a pair of methods,block
andunblock
that do the work of blocking the GUI.TaskEvent<T>An encapsulation of the value produced one of theTask
execution methods:doInBackground()
,process
,done
.TaskListener<T,V> Listener used for observingTask
execution.TaskListener.Adapter<T,V> Convenience class that stubs all of the TaskListener interface methods.This class is intended to serve as the model for GUI components, like status bars, that display the state of an application's background tasks.A View encapsulates a top-level Application GUI component, like a JFrame or an Applet, and its main GUI elements: a menu bar, tool bar, component, and a status bar.