- getAction() - Method in class org.jdesktop.application.Task.InputBlocker
-
The ApplicationAction (@Action
) that caused
the task to be executed.
- getActionArgument(Class, String, ActionEvent) - Method in class org.jdesktop.application.ApplicationAction
-
Provides parameter values to @Action methods.
- getActionManager() - Method in class org.jdesktop.application.ApplicationContext
-
Return this application's ActionManager.
- getActionMap() - Method in class org.jdesktop.application.ActionManager
-
The ActionMap
chain for the entire Application
.
- getActionMap(Class, Object) - Method in class org.jdesktop.application.ActionManager
-
Returns the ApplicationActionMap
chain for the specified
actions class and target object.
- getActionMap() - Method in class org.jdesktop.application.ApplicationContext
-
Returns the shared ActionMap
chain for the entire Application
.
- getActionMap(Class, Object) - Method in class org.jdesktop.application.ApplicationContext
-
Returns the ApplicationActionMap
chain for the specified
actions class and target object.
- getActionMap(Object) - Method in class org.jdesktop.application.ApplicationContext
-
Defined as getActionMap(actionsObject.getClass(), actionsObject)
.
- getActionsClass() - Method in class org.jdesktop.application.ApplicationActionMap
-
Returns the base class for actions retrieval
- getActionsObject() - Method in class org.jdesktop.application.ApplicationActionMap
-
Returns the object with actions
- getApplication() - Method in class org.jdesktop.application.ApplicationContext
-
The Application
singleton, or null if launch
hasn't
been called yet.
- getApplication() - Method in class org.jdesktop.application.Task
-
- getApplication() - Method in class org.jdesktop.application.View
-
Returns the Application
that's responsible for showing/hiding this View.
- getApplicationBundleNames() - Method in class org.jdesktop.application.ResourceManager
-
The names of the ResourceBundles to be shared by the entire
application.
- getApplicationClass() - Method in class org.jdesktop.application.ApplicationContext
-
Returns the application's class or null if the application
hasn't been launched and this property hasn't been set.
- getAutoUpdateForegroundTask() - Method in class org.jdesktop.application.TaskMonitor
-
True if the foregroundTask
property should be automatically
reset to the oldest Task in the queue when it finishes running.
- getBoolean(String) - Method in class org.jdesktop.application.ResourceMap
-
A convenience method that's shorthand for calling:
getObject(key, Boolean.class).
- getBundleNames() - Method in class org.jdesktop.application.ResourceMap
-
Returns the names of the ResourceBundles that define the
resources contained by this ResourceMap.
- getByte(String) - Method in class org.jdesktop.application.ResourceMap
-
A convenience method that's shorthand for calling:
getObject(key, Byte.class).
- getClassBundleNames(Class) - Method in class org.jdesktop.application.ResourceManager
-
Map from a class to a list of the names of the
ResourceBundles
specific to the class.
- getClassLoader() - Method in class org.jdesktop.application.ResourceMap
-
Returns the ClassLoader used to load the ResourceBundles for this
ResourceMap.
- getClipboard() - Method in class org.jdesktop.application.ApplicationContext
-
Return a shared Clipboard
.
- getColor(String) - Method in class org.jdesktop.application.ResourceMap
-
A convenience method that's shorthand for calling:
getObject(key, Color.class).
- getComponent() - Method in exception org.jdesktop.application.ResourceMap.PropertyInjectionException
-
Returns the component whose property could not be set
- getComponent() - Method in class org.jdesktop.application.View
-
- getContext() - Method in class org.jdesktop.application.ActionManager
-
- getContext() - Method in class org.jdesktop.application.Application
-
The ApplicationContext for this Application.
- getContext() - Method in class org.jdesktop.application.ApplicationActionMap
-
Returns the ApplicationContext
- getContext() - Method in class org.jdesktop.application.LocalStorage
-
- getContext() - Method in class org.jdesktop.application.ResourceManager
-
- getContext() - Method in class org.jdesktop.application.SessionStorage
-
- getContext() - Method in class org.jdesktop.application.Task
-
- getContext() - Method in class org.jdesktop.application.View
-
Gets the ApplicationContext
for the Application
that's responsible for showing/hiding this View.
- getDescription() - Method in class org.jdesktop.application.Task
-
Return the value of the description
property.
- getDirectory() - Method in class org.jdesktop.application.LocalStorage
-
Returns the directory where the local storage is located
- getDouble(String) - Method in class org.jdesktop.application.ResourceMap
-
A convenience method that's shorthand for calling:
getObject(key, Double.class).
- getExecutionDuration(TimeUnit) - Method in class org.jdesktop.application.Task
-
Returns the length of time this Task has run.
- getExitListeners() - Method in class org.jdesktop.application.Application
-
All of the ExitListeners
added so far.
- getField() - Method in exception org.jdesktop.application.ResourceMap.InjectFieldException
-
Return the Field whose value couldn't be set.
- getFloat(String) - Method in class org.jdesktop.application.ResourceMap
-
A convenience method that's shorthand for calling:
getObject(key, Float.class).
- getFocusOwner() - Method in class org.jdesktop.application.ApplicationContext
-
Returns the application's focus owner.
- getFont(String) - Method in class org.jdesktop.application.ResourceMap
-
A convenience method that's shorthand for calling:
getObject(key, Font.class).
- getForegroundTask() - Method in class org.jdesktop.application.TaskMonitor
-
Indicates the Task
whose status the ApplicationContext's GUI wants
to be displayed, typically in the main window's status bar.
- getFrame() - Method in class org.jdesktop.application.FrameView
-
Return the JFrame used to show this View
- getIcon(String) - Method in class org.jdesktop.application.ResourceMap
-
A convenience method that's shorthand for calling:
getObject(key, Icon.class).
- getImageIcon(String) - Method in class org.jdesktop.application.ResourceMap
-
A convenience method that's shorthand for calling:
getObject(key, ImageIcon.class).
- getInputBlocker() - Method in class org.jdesktop.application.Task
-
Return this task's InputBlocker.
- getInstance(Class<T>) - Static method in class org.jdesktop.application.Application
-
The Application
singleton.
- getInstance() - Static method in class org.jdesktop.application.Application
-
The Application
singleton.
- getInteger(String) - Method in class org.jdesktop.application.ResourceMap
-
A convenience method that's shorthand for calling:
getObject(key, Integer.class).
- getKey() - Method in exception org.jdesktop.application.ResourceMap.InjectFieldException
-
Returns the type of the name of resource for which lookup failed.
- getKey() - Method in exception org.jdesktop.application.ResourceMap.LookupException
-
Returns the type of the name of resource for which lookup failed.
- getKey() - Method in exception org.jdesktop.application.ResourceMap.PropertyInjectionException
-
Returns the the name of resource whose value was to be used to set the property
- getKeyCode(String) - Method in class org.jdesktop.application.ResourceMap
-
A convenience method that's shorthand for calling:
getKeyStroke(key).getKeyCode().
- getKeyStroke(String) - Method in class org.jdesktop.application.ResourceMap
-
A convenience method that's shorthand for calling:
getObject(key, KeyStroke.class).
- getLocalStorage() - Method in class org.jdesktop.application.ApplicationContext
-
- getLong(String) - Method in class org.jdesktop.application.ResourceMap
-
A convenience method that's shorthand for calling:
getObject(key, Long.class).
- getMainFrame() - Method in class org.jdesktop.application.SingleFrameApplication
-
Return the JFrame used to show this application.
- getMainView() - Method in class org.jdesktop.application.SingleFrameApplication
-
Gets the main view of the application
- getMenuBar() - Method in class org.jdesktop.application.View
-
Returns the main
JMenuBar
for this View.
- getMessage() - Method in class org.jdesktop.application.Task
-
Return the value of the message
property.
- getMessageDuration(TimeUnit) - Method in class org.jdesktop.application.Task
-
Returns the length of time that has elapsed since the message
property was last set.
- getName() - Method in class org.jdesktop.application.ApplicationAction
-
The name of this Action.
- getName() - Method in class org.jdesktop.application.TaskService
-
Gets the name of this task service
- getObject(String, Class) - Method in class org.jdesktop.application.ResourceMap
-
Returns the value of the resource named key, or null
if no resource with that name exists.
- getParent() - Method in class org.jdesktop.application.ResourceMap
-
Returns the parent ResourceMap, or null.
- getPlatform() - Method in class org.jdesktop.application.ResourceManager
-
The value of the special Application ResourceMap resource
named "platform".
- getPlatform() - Method in class org.jdesktop.application.ResourceMap
-
- getProperty(Class) - Method in class org.jdesktop.application.SessionStorage
-
Returns the
PropertySupport
object that was
registered
for the specified class
or a superclass.
- getProperty(Component) - Method in class org.jdesktop.application.SessionStorage
-
If a sessionState PropertySupport
object exists for the
specified Component return it, otherwise return null.
- getPropertyChangeListeners() - Method in class org.jdesktop.application.AbstractBean
-
An array of all of the PropertyChangeListeners
added so far.
- getPropertyName() - Method in exception org.jdesktop.application.ResourceMap.PropertyInjectionException
-
Returns the the name of property that could not be set
- getProxy() - Method in class org.jdesktop.application.ApplicationAction
-
Return the proxy for this action or null.
- getProxyActions() - Method in class org.jdesktop.application.ApplicationActionMap
-
All of the @ProxyActions
recursively defined by this
ApplicationActionMap
and its parent ancestors.
- getProxySource() - Method in class org.jdesktop.application.ApplicationAction
-
Return the value that becomes the ActionEvent source before
the ActionEvent is passed along to the proxy Action.
- getResource(String) - Method in class org.jdesktop.application.ResourceMap
-
By default this method is used by getObject
to look up
resource values in the internal representation of the ResourceBundles
named when this ResourceMap was constructed.
- getResourceKeySet() - Method in class org.jdesktop.application.ResourceMap
-
By default this method is used by keySet
to
get the names of the resources defined in this ResourceMap.
- getResourceManager() - Method in class org.jdesktop.application.ApplicationContext
-
The application's
ResourceManager
provides
read-only cached access to resources in ResourceBundles via the
ResourceMap
class.
- getResourceMap() - Method in class org.jdesktop.application.ApplicationAction
-
The resourceMap for this Action.
- getResourceMap(Class) - Method in class org.jdesktop.application.ApplicationContext
-
Returns a
chain
of two or
more ResourceMaps.
- getResourceMap(Class, Class) - Method in class org.jdesktop.application.ApplicationContext
-
Returns a
chain
of two or more
ResourceMaps.
- getResourceMap() - Method in class org.jdesktop.application.ApplicationContext
-
Returns the
chain
of ResourceMaps
that's shared by the entire application, beginning with the one
defined for the Application class, i.e.
- getResourceMap(Class, Class) - Method in class org.jdesktop.application.ResourceManager
-
Returns a
chain
of
ResourceMaps
that encapsulate the
ResourceBundles
for each class
from
startClass
to (including)
stopClass
.
- getResourceMap(Class) - Method in class org.jdesktop.application.ResourceManager
-
Return the ResourcedMap chain for the specified class.
- getResourceMap() - Method in class org.jdesktop.application.ResourceManager
-
Returns the chain of ResourceMaps that's shared by the entire application,
beginning with the resources defined for the application's class, i.e.
- getResourceMap() - Method in class org.jdesktop.application.Task
-
Returns the
ResourceMap
used by the constructor to
initialize the
title
,
message
, etc properties,
and by the
message
method to look up format
strings.
- getResourceMap() - Method in class org.jdesktop.application.View
-
Gets ResourceMap
for this View.
- getResourcesDir() - Method in class org.jdesktop.application.ResourceMap
-
Returns the resources directory that contains all of the ResourceBundles
in this ResourceMap.
- getRootPane() - Method in class org.jdesktop.application.FrameView
-
- getRootPane() - Method in class org.jdesktop.application.View
-
Gets the JRootPane
for this View.
- getScope() - Method in class org.jdesktop.application.Task.InputBlocker
-
Defines the extent to which the GUI is blocked while
the task is being executed.
- getSessionStorage() - Method in class org.jdesktop.application.ApplicationContext
-
- getShort(String) - Method in class org.jdesktop.application.ResourceMap
-
A convenience method that's shorthand for calling:
getObject(key, Short.class).
- getStatusBar() - Method in class org.jdesktop.application.View
-
Returns the Status bar for this View.
- getStorageLimit() - Method in class org.jdesktop.application.LocalStorage
-
Gets the limit of the local storage
- getString(String, Object...) - Method in class org.jdesktop.application.ResourceMap
-
If no arguments are specified, return the String value
of the resource named key.
- getTarget() - Method in exception org.jdesktop.application.ResourceMap.InjectFieldException
-
Return the Object whose Field we were attempting to set
- getTarget() - Method in class org.jdesktop.application.Task.InputBlocker
-
Specifies the GUI element that will be blocked while
the task is being executed.
- getTask() - Method in class org.jdesktop.application.Task.InputBlocker
-
The block
method will block input while this Task
is being executed by a TaskService.
- getTaskListeners() - Method in class org.jdesktop.application.Task
-
Returns a copy of this Task's TaskListeners
.
- getTaskMonitor() - Method in class org.jdesktop.application.ApplicationContext
-
Returns a shared TaskMonitor object.
- getTasks() - Method in class org.jdesktop.application.TaskMonitor
-
All of the Application Tasks whose state
is not DONE
.
- getTasks() - Method in class org.jdesktop.application.TaskService
-
Returns the list of tasks which are executing by this service
- getTaskService(String) - Method in class org.jdesktop.application.ApplicationContext
-
Look up a task service by name.
- getTaskService() - Method in class org.jdesktop.application.ApplicationContext
-
Returns the default TaskService, i.e.
- getTaskService() - Method in class org.jdesktop.application.Task
-
Returns the TaskService that this Task has been submitted to,
or null.
- getTaskServices() - Method in class org.jdesktop.application.ApplicationContext
-
Returns a read-only view of the complete list of TaskServices.
- getTitle() - Method in class org.jdesktop.application.Task
-
Return the value of the title
property.
- getToolBar() - Method in class org.jdesktop.application.View
-
Gets the first tool bar for this View
- getToolBars() - Method in class org.jdesktop.application.View
-
Returns the list of tool bars for this View
- getType() - Method in exception org.jdesktop.application.ResourceMap.LookupException
-
Returns the type of the resource for which lookup failed.
- getUserCanCancel() - Method in class org.jdesktop.application.Task
-
Returns the value of the userCanCancel
property.
- getValue() - Method in class org.jdesktop.application.TaskEvent
-
Returns the value this event represents.
- save(Object, String) - Method in class org.jdesktop.application.LocalStorage
-
Saves the bean
to the local storage
- save(Component, String) - Method in class org.jdesktop.application.SessionStorage
-
- SessionStorage - Class in org.jdesktop.application
-
Support for storing GUI state that persists between Application sessions.
- SessionStorage(ApplicationContext) - Constructor for class org.jdesktop.application.SessionStorage
-
Constructs a SessionStorage object.
- setActionManager(ActionManager) - Method in class org.jdesktop.application.ApplicationContext
-
Change this application's ActionManager
.
- setApplicationBundleNames(List<String>) - Method in class org.jdesktop.application.ResourceManager
-
Specify the names of the ResourceBundles to be shared by the entire
application.
- setApplicationClass(Class) - Method in class org.jdesktop.application.ApplicationContext
-
- setAutoUpdateForegroundTask(boolean) - Method in class org.jdesktop.application.TaskMonitor
-
True if the foregroundTask
property should be automatically
reset to the oldest Task in the queue when it finishes running.
- setComponent(JComponent) - Method in class org.jdesktop.application.View
-
Sets the single main Component for this View.
- setDescription(String) - Method in class org.jdesktop.application.Task
-
Set the description
property.
- setDirectory(File) - Method in class org.jdesktop.application.LocalStorage
-
Sets the location of the local storage
- setEnabled(boolean) - Method in class org.jdesktop.application.ApplicationAction
-
If the proxy action is null and enabledProperty
was
specified, then set the value of the enabled property by
invoking the corresponding set
method on our
ApplicationActionMap's actionsObject
.
- setForegroundTask(Task) - Method in class org.jdesktop.application.TaskMonitor
-
The TaskMonitor's PropertyChangeListeners are fired each time
any property of the the foregroundTask
changes.
- setFrame(JFrame) - Method in class org.jdesktop.application.FrameView
-
Sets the JFrame use to show this View
- setInputBlocker(Task.InputBlocker) - Method in class org.jdesktop.application.Task
-
Set this task's InputBlocker.
- setLocalStorage(LocalStorage) - Method in class org.jdesktop.application.ApplicationContext
-
- setMainFrame(JFrame) - Method in class org.jdesktop.application.SingleFrameApplication
-
Sets the JFrame use to show this application.
- setMenuBar(JMenuBar) - Method in class org.jdesktop.application.View
-
Sets the menu bar for this View.
- setMessage(String) - Method in class org.jdesktop.application.Task
-
Set the message
property.
- setPlatform(PlatformType) - Method in class org.jdesktop.application.ResourceManager
-
Defines the value of the special Application ResourceMap resource
named "platform".
- setPlatform(PlatformType) - Method in class org.jdesktop.application.ResourceMap
-
- setProgress(int, int, int) - Method in class org.jdesktop.application.Task
-
A convenience method that sets the progress
property to the following
ratio normalized to 0 ..
- setProgress(float) - Method in class org.jdesktop.application.Task
-
A convenience method that sets the progress
property to
percentage * 100
.
- setProgress(float, float, float) - Method in class org.jdesktop.application.Task
-
A convenience method that sets the progress
property to the following
ratio normalized to 0 ..
- setProxy(Action) - Method in class org.jdesktop.application.ApplicationAction
-
Set the proxy for this action.
- setProxySource(Object) - Method in class org.jdesktop.application.ApplicationAction
-
Set the value that becomes the ActionEvent source before
the ActionEvent is passed along to the proxy Action.
- setResourceManager(ResourceManager) - Method in class org.jdesktop.application.ApplicationContext
-
Change this application's ResourceManager
.
- setSelected(boolean) - Method in class org.jdesktop.application.ApplicationAction
-
If the proxy action is null and selectedProperty
was
specified, then set the value of the selected property by
invoking the corresponding set
method on our
ApplicationActionMap's actionsObject
.
- setSessionStorage(SessionStorage) - Method in class org.jdesktop.application.ApplicationContext
-
- setStatusBar(JComponent) - Method in class org.jdesktop.application.View
-
Sets the status bar for this View.
- setStorageLimit(long) - Method in class org.jdesktop.application.LocalStorage
-
Sets the limit of the lical storage
- setTitle(String) - Method in class org.jdesktop.application.Task
-
Set the title
property.
- setToolBar(JToolBar) - Method in class org.jdesktop.application.View
-
Sets the only tool bar for this View.
- setToolBars(List<JToolBar>) - Method in class org.jdesktop.application.View
-
Sets the tool bars for this View
- setUserCanCancel(boolean) - Method in class org.jdesktop.application.Task
-
Sets the userCanCancel
property.
- show(View) - Method in class org.jdesktop.application.Application
-
Shows the application View
- show(JComponent) - Method in class org.jdesktop.application.SingleFrameApplication
-
- show(JDialog) - Method in class org.jdesktop.application.SingleFrameApplication
-
Initialize and show the JDialog.
- show(JFrame) - Method in class org.jdesktop.application.SingleFrameApplication
-
Initialize and show the secondary JFrame.
- show(View) - Method in class org.jdesktop.application.SingleFrameApplication
-
- shutdown() - Method in class org.jdesktop.application.Application
-
Called when the application
exits
.
- shutdown() - Method in class org.jdesktop.application.SingleFrameApplication
-
Save session state for the component hierarchy rooted by
the mainFrame.
- shutdown() - Method in class org.jdesktop.application.TaskService
-
Initiates an orderly shutdown in which previously submitted
tasks are executed, but no new tasks will be accepted.
- shutdownNow() - Method in class org.jdesktop.application.TaskService
-
Attempts to stop all actively executing tasks, halts the
processing of waiting tasks, and returns a list of the tasks that were
awaiting execution.
- SingleFrameApplication - Class in org.jdesktop.application
-
An application base class for simple GUIs with one primary JFrame.
- SingleFrameApplication() - Constructor for class org.jdesktop.application.SingleFrameApplication
-
- startup() - Method in class org.jdesktop.application.Application
-
Responsible for starting the application; for creating and showing
the initial GUI.
- succeeded(T) - Method in class org.jdesktop.application.Task
-
Called when this Task has successfully completed, i.e.
- succeeded(TaskEvent<T>) - Method in class org.jdesktop.application.TaskListener.Adapter
-
- succeeded(TaskEvent<T>) - Method in interface org.jdesktop.application.TaskListener
-
Called after the Task's
succeeded
completion method is called.
- supportsType(Class) - Method in class org.jdesktop.application.ResourceConverter
-
Checks whether testType
can be converted with this converter.