A B C F G I K O P R S T W

A

and(Class<?>) - Method in class com.dteoh.treasuremap.ResourceMaps
Adds the given class's resource bundle as part of the resource map to build.

B

build() - Method in class com.dteoh.treasuremap.ResourceMaps
Creates a ResourceMap using the currently configured builder.

C

com.dteoh.treasuremap - package com.dteoh.treasuremap
 
containsKey(String) - Method in class org.jdesktop.application.ResourceMap
Returns true if this resourceMap or its parent (recursively) contains the specified key.
containsResourceKey(String) - Method in class org.jdesktop.application.ResourceMap
By default this method is used by getObject to see if a resource is defined by this ResourceMap.

F

forType(Class) - Static method in class org.jdesktop.application.ResourceConverter
 

G

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).
getClassLoader() - Method in class org.jdesktop.application.ResourceMap
Returns the ClassLoader used to load the ResourceBundles for this ResourceMap.
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
getDimension(String) - Method in class org.jdesktop.application.ResourceMap
A convenience method that's shorthand for calling: getObject(key, Dimension.class) Dimension resources are defined as strings containing two numbers recognized by Double.valueOf(String), where the pair of numbers are separated by a comma.
getDouble(String) - Method in class org.jdesktop.application.ResourceMap
A convenience method that's shorthand for calling: getObject(key, Double.class).
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).
getFont(String) - Method in class org.jdesktop.application.ResourceMap
A convenience method that's shorthand for calling: getObject(key, Font.class).
getIcon(String) - Method in class org.jdesktop.application.ResourceMap
A convenience method that's shorthand for calling: getObject(key, Icon.class).
getImage(String) - Method in class org.jdesktop.application.ResourceMap
A convenience method that's shorthand for calling: getObject(key, Image.class)
getImageIcon(String) - Method in class org.jdesktop.application.ResourceMap
A convenience method that's shorthand for calling: getObject(key, ImageIcon.class).
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).
getLong(String) - Method in class org.jdesktop.application.ResourceMap
A convenience method that's shorthand for calling: getObject(key, Long.class).
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.
getPropertyName() - Method in exception org.jdesktop.application.ResourceMap.PropertyInjectionException
Returns the the name of property that could not be set
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.
getResourcesDir() - Method in class org.jdesktop.application.ResourceMap
Returns the resources directory that contains all of the ResourceBundles in this ResourceMap.
getShort(String) - Method in class org.jdesktop.application.ResourceMap
A convenience method that's shorthand for calling: getObject(key, Short.class).
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
getType() - Method in exception org.jdesktop.application.ResourceMap.LookupException
Returns the type of the resource for which lookup failed.

I

injectComponent(Component) - Method in class org.jdesktop.application.ResourceMap
Set each property in target to the value of the resource named componentName.propertyName, where componentName is the value of the target component's name property, i.e.
injectComponents(Component) - Method in class org.jdesktop.application.ResourceMap
Applies ResourceMap.injectComponent(java.awt.Component) to each Component in the hierarchy with root root.
injectFields(Object) - Method in class org.jdesktop.application.ResourceMap
Set each field with a @Resource annotation in the target object, to the value of a resource whose name is the simple name of the target class followed by "." followed by the name of the field.

K

keySet() - Method in class org.jdesktop.application.ResourceMap
Return a unmodifiable Set that contains all of the keys in this ResourceMap and (recursively) its parent ResourceMaps.

O

org.jdesktop.application - package org.jdesktop.application
 

P

parseString(String, ResourceMap) - Method in class org.jdesktop.application.ResourceConverter
 
putResource(String, Object) - Method in class org.jdesktop.application.ResourceMap
By default this method is used by getObject to cache values that have been retrieved, evaluated (as in ${key} expressions), and string converted.

R

register(ResourceConverter) - Static method in class org.jdesktop.application.ResourceConverter
 
Resource - Annotation Type in org.jdesktop.application
 
ResourceConverter - Class in org.jdesktop.application
A base class for converting arbitrary types to and from Strings, as well as a registry of ResourceConverter implementations.
ResourceConverter(Class) - Constructor for class org.jdesktop.application.ResourceConverter
 
ResourceConverter.ResourceConverterException - Exception in org.jdesktop.application
 
ResourceConverter.ResourceConverterException(String, String, Throwable) - Constructor for exception org.jdesktop.application.ResourceConverter.ResourceConverterException
 
ResourceConverter.ResourceConverterException(String, String) - Constructor for exception org.jdesktop.application.ResourceConverter.ResourceConverterException
 
ResourceMap - Class in org.jdesktop.application
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.
ResourceMap(ResourceMap, ClassLoader, List<String>) - Constructor for class org.jdesktop.application.ResourceMap
Creates a ResourceMap that contains all of the resources defined in the named ResourceBundles as well as (recursively) the parent ResourceMap.
ResourceMap(ResourceMap, ClassLoader, String...) - Constructor for class org.jdesktop.application.ResourceMap
Just a convenience version of the constructor for the common case where there's only one bundle name.
ResourceMap.InjectFieldException - Exception in org.jdesktop.application
Unchecked exception thrown by ResourceMap.injectFields(java.lang.Object) when an error occurs while attempting to set a field (a field that had been marked with @Resource).
ResourceMap.InjectFieldException(String, Field, Object, String) - Constructor for exception org.jdesktop.application.ResourceMap.InjectFieldException
Constructs an instance of this class with some useful information about the failure.
ResourceMap.LookupException - Exception in org.jdesktop.application
Unchecked exception thrown by ResourceMap.getObject(java.lang.String, java.lang.Class) when resource lookup fails, for example because string conversion fails.
ResourceMap.LookupException(String, String, Class) - Constructor for exception org.jdesktop.application.ResourceMap.LookupException
Constructs an instance of this class with some useful information about the failure.
ResourceMap.PropertyInjectionException - Exception in org.jdesktop.application
Unchecked exception thrown by ResourceMap.injectComponent(java.awt.Component) and ResourceMap.injectComponents(java.awt.Component) when a property value specified by a resource can not be set.
ResourceMap.PropertyInjectionException(String, String, Component, String) - Constructor for exception org.jdesktop.application.ResourceMap.PropertyInjectionException
Constructs an instance of this class with some useful information about the failure.
ResourceMaps - Class in com.dteoh.treasuremap
Builder for creating ResourceMaps.
ResourceMaps(Class<?>) - Constructor for class com.dteoh.treasuremap.ResourceMaps
Creates a new resource map builder.
ResourceMaps(Class<?>, Locale) - Constructor for class com.dteoh.treasuremap.ResourceMaps
Creates a new resource map builder with the given locale.

S

supportsType(Class) - Method in class org.jdesktop.application.ResourceConverter
 

T

toString() - Method in exception org.jdesktop.application.ResourceConverter.ResourceConverterException
 
toString(Object) - Method in class org.jdesktop.application.ResourceConverter
 
type - Variable in class org.jdesktop.application.ResourceConverter
 

W

withParent(ResourceMap) - Method in class com.dteoh.treasuremap.ResourceMaps
Uses the given resource map as a parent resource map.

A B C F G I K O P R S T W

Copyright © 2010. All Rights Reserved.