A B C D F G H I J L M N O P R S T U W

A

addConversionListener(ConversionListener) - Method in class org.jbeans.BaseBeanProperty
Adds a conversion listener to the list of listeners for this property.
addConversionListener(ConversionListener) - Method in class org.jbeans.SynchronizedNestedBeanProperty
This method is the same as the addConversionListener() method in the BaseBeanProperty class, except that it is thread safe.
addConversionListener(ConversionListener) - Method in class org.jbeans.SynchronizedBeanProperty
This method is the same as the addConversionListener() method in the BaseBeanProperty class, except that it is thread safe.
addConversionListener(ConversionListener) - Method in class org.jbeans.SynchronizedDynamicNestedBeanProperty
This method is the same as the addConversionListener() method in the BaseBeanProperty class, except that it is thread safe.
addConversionListener(ConversionListener) - Method in class org.jbeans.SynchronizedIndexedBeanProperty
This method is the same as the addConversionListener() method in the BaseBeanProperty class, except that it is thread safe.
addProperty(String) - Method in class org.jbeans.JavaBean
Adds the given property to this JavaBean object.
addPropertyListener(PropertyListener) - Method in class org.jbeans.BaseBeanProperty
Adds a property listener to the list of listeners for this property.
addPropertyListener(PropertyListener) - Method in class org.jbeans.SynchronizedNestedBeanProperty
This method is the same as the addPropertyListener() method in the BaseBeanProperty class, except that it is thread safe.
addPropertyListener(PropertyListener) - Method in class org.jbeans.SynchronizedBeanProperty
This method is the same as the addPropertyListener() method in the BaseBeanProperty class, except that it is thread safe.
addPropertyListener(PropertyListener) - Method in class org.jbeans.SynchronizedDynamicNestedBeanProperty
This method is the same as the addPropertyListener() method in the BaseBeanProperty class, except that it is thread safe.
addPropertyListener(PropertyListener) - Method in class org.jbeans.SynchronizedIndexedBeanProperty
This method is the same as the addPropertyListener() method in the BaseBeanProperty class, except that it is thread safe.

B

BAD_CONVERT - Static variable in class org.jbeans.BaseBeanProperty
Used to denote a conversion event has failed to take place when sub-classes are firing events
BaseBeanProperty - class org.jbeans.BaseBeanProperty.
This class is the base class for the BeanProperty and the NestedBeanProperty classes.
BaseBeanProperty() - Constructor for class org.jbeans.BaseBeanProperty
Empty default constructor which can be called by sub-classes that are not going to use the propertyName and beanClass or need to delay the initialization of those members until later.
BaseBeanProperty(String, Class) - Constructor for class org.jbeans.BaseBeanProperty
Constuctor with initial properties.
BaseBeanProperty(String, String) - Constructor for class org.jbeans.BaseBeanProperty
Constuctor with initial properties.
BaseEvent - class org.jbeans.BaseEvent.
This class is the base event that all events will extends from.
BaseEvent(BaseBeanProperty, Object, Object, Object) - Constructor for class org.jbeans.BaseEvent
Creates a new base event using the values given
BaseTypeConverter - class org.jbeans.BaseTypeConverter.
This class is the base type converter for all the type converters it is also the type converter that handles strings and arrays of strings.
BaseTypeConverter() - Constructor for class org.jbeans.BaseTypeConverter
 
beanClass - Variable in class org.jbeans.BaseBeanProperty
Holds the Class that the property is contain in
beanClass - Variable in class org.jbeans.JavaBean
 
BeanException - exception org.jbeans.BeanException.
This class is the basic exception that gets thrown from the beans pacakge
BeanException() - Constructor for class org.jbeans.BeanException
Creates a new BeanException without detail message.
BeanException(ReflectionException) - Constructor for class org.jbeans.BeanException
This is a convience constructor that will create a new BeanException that is identical to the given ReflectionException, basically like a forced downcast constructor or a super-class copy constructor.
BeanException(String) - Constructor for class org.jbeans.BeanException
Constructs a BeanException with the specified detail message.
BeanException(String, Exception) - Constructor for class org.jbeans.BeanException
Constructs a BeanException with the specified error message and also the specified root cause exception.
BeanException(String, Exception, Throwable) - Constructor for class org.jbeans.BeanException
Constructs a BeanException with the specified error message, root cause exception and target exception.
BeanProperty - class org.jbeans.BeanProperty.
This class is used to describe, and manipulate JavaBean properties.
BeanProperty() - Constructor for class org.jbeans.BeanProperty
Default constructor that can be used by sub-classes that want to delay the initialization of the propertyName and beanClass or that do not use these members.
BeanProperty(String, Class) - Constructor for class org.jbeans.BeanProperty
Constructs a new bean property using the property name and the bean class given.
BeanProperty(String, String) - Constructor for class org.jbeans.BeanProperty
Constructs a new bean property using the property name and the fully qualified name of the bean class given.
BooleanTypeConverter - class org.jbeans.converters.BooleanTypeConverter.
This class is the type covnerter for booleans.
BooleanTypeConverter() - Constructor for class org.jbeans.converters.BooleanTypeConverter
 

C

callGetter(BeanProperty, Object) - Static method in class org.jbeans.JavaBeanTools
Another convience method that calls a java bean getter and returns the value.
callGetter(String, Object) - Static method in class org.jbeans.JavaBeanTools
Another convience method for calling a getter on a java bean.
callIndexedGetter(BeanProperty, Object, int) - Static method in class org.jbeans.JavaBeanTools
Another convience method that calls an indexed java bean getter and returns the value.
callIndexedSetter(BeanProperty, Object, int, Object) - Static method in class org.jbeans.JavaBeanTools
Another convience method for calling a setter on a java bean.
callSetter(BeanProperty, Object, Object) - Static method in class org.jbeans.JavaBeanTools
Another convience method for calling a setter on a java bean.
callSetter(String, Object, Object) - Static method in class org.jbeans.JavaBeanTools
Another convience method for calling a setter on a java bean.
capitalize(String) - Static method in class org.jbeans.JavaBeanTools
Capitalizes the first letter of the given String.
CharacterTypeConverter - class org.jbeans.converters.CharacterTypeConverter.
This class is the main character converter.
CharacterTypeConverter() - Constructor for class org.jbeans.converters.CharacterTypeConverter
Creates new Character TypeConverter
checkBeanProperty(String, Class) - Method in class org.jbeans.JavaBean
Checks if the given bean property is a valid bean property for this JavaBean or a child JavaBean.
children - Variable in class org.jbeans.JavaBean
 
cleanString(String) - Static method in class org.jbeans.util.StringTools
Returns the value of the string or if the string is null, it returns an empty String
ConversionEvent - class org.jbeans.ConversionEvent.
This class is the event that is generated when a bean property is being set AND the value is being automatically converted.
ConversionEvent(BaseBeanProperty, Object, Object, Object) - Constructor for class org.jbeans.ConversionEvent
Creates a new conversion event using the values given
ConversionListener - interface org.jbeans.ConversionListener.
This interface is the event listener interface for conversion events.
ConversionListenerAdapter - class org.jbeans.ConversionListenerAdapter.
This class is a blank implementation of the ConversionListener interface It is abstract and implements every method of the listener with an empty implementation
ConversionListenerAdapter() - Constructor for class org.jbeans.ConversionListenerAdapter
 
conversionListeners - Variable in class org.jbeans.BaseBeanProperty
This holds the list of conversion listeners for the bean property
convert(Object, Class) - Method in class org.jbeans.BaseTypeConverter
If the convertTo class is an array, this method calls convertToArray passing it the value and the convertTo component type (by calling the getComponentType method of java.lang.Class).
convert(Object, Class) - Method in interface org.jbeans.TypeConverter
Converts the given object to the given type.
convertArray(Object[], Class) - Method in class org.jbeans.BaseTypeConverter
If the convertTo type parameter is an array, this method calls the convertArrayToArray method with the parameters passed to this method.
convertArray(Object[], Class) - Method in interface org.jbeans.TypeConverter
Converts the given array to an object.
convertArrayToArray(Object[], Class) - Method in class org.jbeans.BaseTypeConverter
If the convertTo type is an array, this method uses the component type for the convertTo type.
convertArrayToArray(Object[], Class) - Method in interface org.jbeans.TypeConverter
Converts the array to an array of the given type.
convertParameter(Object, Object) - Method in class org.jbeans.BaseBeanProperty
Converts the given value parameter (parameter) to a type that is accepted by the set method of this property.
convertString(String, Class) - Method in class org.jbeans.BaseTypeConverter
This method is usually the only method that needs to be overridden in sub-classes This is where a String value is converted to the correct type.
convertString(String, Class) - Method in interface org.jbeans.TypeConverter
Converts the given String to the given type.
convertString(String, Class) - Method in class org.jbeans.converters.CharacterTypeConverter
Converts the string to the given type.
convertString(String, Class) - Method in class org.jbeans.converters.NumberTypeConverter
Converts the string to the given type.
convertString(String, Class) - Method in class org.jbeans.converters.BooleanTypeConverter
Converts the given string to a boolean.
convertStringToArray(String, String, Class) - Method in class org.jbeans.BaseTypeConverter
If the delimiter parameter is not empty or null it is used.
convertStringToArray(String, String, Class) - Method in interface org.jbeans.TypeConverter
Converts the String to an array of objects of the given type (normally by using a StringTokenizer and converting each token to the correct type).
convertToArray(Object, Class) - Method in class org.jbeans.BaseTypeConverter
If the value is an instanceof an array, then this method calls the convertArrayToArray method by casting the value to an Object array and passing the convertTo type.
convertToArray(Object, Class) - Method in interface org.jbeans.TypeConverter
Converts the given object to an array of objects of the given type.
convertToWrapper(Class) - Static method in class org.jbeans.ReflectionTools
Converts the type given to the correct wrapper class for that type.

D

DynamicNestedBeanProperty - class org.jbeans.DynamicNestedBeanProperty.
This class is used to store information about and handle getting and setting of both nested and local properties.
DynamicNestedBeanProperty() - Constructor for class org.jbeans.DynamicNestedBeanProperty
Default constructor that can be used by sub-classes that want to delay the initialization of the propertyName and beanClass or that do not use these members.
DynamicNestedBeanProperty(String, Class) - Constructor for class org.jbeans.DynamicNestedBeanProperty
Constructs a new NestedBeanProperty that can be used to describe nested or local properties, depending on the value of the property string (see the class comment for more information).
DynamicNestedBeanProperty(String, Class, boolean) - Constructor for class org.jbeans.DynamicNestedBeanProperty
Constructs a new NestedBeanProperty that can be used to describe nested or local properties, depending on the value of the property string (see the class comment for more information).
DynamicNestedBeanProperty(String, String) - Constructor for class org.jbeans.DynamicNestedBeanProperty
Constructs a new NestedBeanProperty that can be used to describe nested or local properties, depending on the value of the property string (see the class comment for more information).
DynamicNestedBeanProperty(String, String, boolean) - Constructor for class org.jbeans.DynamicNestedBeanProperty
Constructs a new NestedBeanProperty that can be used to describe nested or local properties, depending on the value of the property string (see the class comment for more information).

F

findClass(String, String) - Static method in class org.jbeans.ReflectionTools
Convience method that returns class given the package name and className
findIndex(String) - Static method in class org.jbeans.JavaBeanTools
Given the property name string, the index and property name are extracted and returned in a new IndexHelper.
findIndex(String, JavaBeanTools.IndexHelper) - Static method in class org.jbeans.JavaBeanTools
Given the property name string, the index and property name are extracted and returned in the given IndexHelper.
findIndexedReadMethod(String, Class) - Static method in class org.jbeans.JavaBeanTools
Finds a get method in the class given for the given property.
findIndexedWriteMethod(String, Class, Class) - Static method in class org.jbeans.JavaBeanTools
Finds a set indexed method for the given property and parameter type
findReadMethod(String, Class) - Static method in class org.jbeans.JavaBeanTools
Finds either a get method or is method in the class given for the given property name.
findWriteMethod(String, Class, Class) - Static method in class org.jbeans.JavaBeanTools
Finds a set method for the given property and parameter type
fireConversionEvent(int, Object, Object, Object) - Method in class org.jbeans.BaseBeanProperty
Fires off a conversion event using the type constants of this class and the parameters given.
firePropertyEvent(int, Object, Object, Object, int) - Method in class org.jbeans.BaseBeanProperty
Fires off a property event using the type constants of this class and the parameters given.

G

GET - Static variable in class org.jbeans.BaseBeanProperty
Used to denote a get event when sub-classes are firing events
GET_STRING - Static variable in class org.jbeans.JavaBeanTools
The string that starts standard Java bean retrieval methods get
getBean() - Method in class org.jbeans.BaseEvent
Returns the bean object whose property the event occurred for
getBeanClass() - Method in class org.jbeans.BaseBeanProperty
Returns the class of the bean that this property is contained in
getBeanClass() - Method in class org.jbeans.BeanProperty
Returns the bean class that the property is defined in
getBeanClass() - Method in class org.jbeans.JavaBean
Gets the bean class that this JavaBean is for
getBeanProperty(String) - Method in class org.jbeans.JavaBean
Returns the bean property described by the propertyName String parameter.
getChildJavaBean(String) - Method in class org.jbeans.JavaBean
Returns the child JavaBean described by the propertyName String parameter.
getConversionListeners() - Method in class org.jbeans.BaseBeanProperty
Returns an iterator for the list of conversion listeners.
getConversionListeners() - Method in class org.jbeans.SynchronizedNestedBeanProperty
Synchronized get conversion listeners method.
getConversionListeners() - Method in class org.jbeans.SynchronizedBeanProperty
Synchronized get conversion listeners method.
getConversionListeners() - Method in class org.jbeans.SynchronizedDynamicNestedBeanProperty
Synchronized get conversion listeners method.
getConversionListeners() - Method in class org.jbeans.SynchronizedIndexedBeanProperty
Synchronized get conversion listeners method.
getFullName() - Method in class org.jbeans.BaseBeanProperty
Gets the full name of the property.
getFullName() - Method in class org.jbeans.BaseEvent
Returns the full name of the property the event occurred for
getIndex() - Method in class org.jbeans.PropertyEvent
Returns the index of the property the event occurred for.
getIndexedBeanProperty(String) - Method in class org.jbeans.JavaBean
Returns the indexed bean property described by the propertyName String parameter.
getMethod(Class, String, Class[]) - Static method in class org.jbeans.ReflectionTools
Returns the given class' method with the name method and the parameters params.
getMethod(Object, String, Class[]) - Static method in class org.jbeans.ReflectionTools
Returns the given objects method with the name method and the parameters params.
getMethods(Object) - Static method in class org.jbeans.ReflectionTools
Gets all the methods for an object and handles all the nasty exceptions that Java reflection can throw.
getNewValue() - Method in class org.jbeans.BaseEvent
Returns the new value.
getOldValue() - Method in class org.jbeans.BaseEvent
Returns the old value.
getPropertyListeners() - Method in class org.jbeans.BaseBeanProperty
Returns an iterator for the list of property listeners.
getPropertyListeners() - Method in class org.jbeans.SynchronizedNestedBeanProperty
Synchronized get property listeners method.
getPropertyListeners() - Method in class org.jbeans.SynchronizedBeanProperty
Synchronized get property listeners method.
getPropertyListeners() - Method in class org.jbeans.SynchronizedDynamicNestedBeanProperty
Synchronized get property listeners method.
getPropertyListeners() - Method in class org.jbeans.SynchronizedIndexedBeanProperty
Synchronized get property listeners method.
getPropertyName() - Method in class org.jbeans.BaseBeanProperty
Gets the name of the property.
getPropertyName() - Method in class org.jbeans.BaseEvent
Retrieves the name of the property the event occurred for
getPropertyName(Method) - Static method in class org.jbeans.JavaBeanTools
Using the given Method, it returns the name of the java bean property.
Examples:
getPropertyType() - Method in class org.jbeans.BaseBeanProperty
Gets the type of the property.
getPropertyType() - Method in class org.jbeans.BaseEvent
Returns the type of the property the event occurred for
getPropertyValue(Object) - Method in class org.jbeans.BaseBeanProperty
Gets the the property value.
getPropertyValue(Object) - Method in class org.jbeans.BeanProperty
Returns the value of the Java bean property for the given bean instance.
getPropertyValue(Object) - Method in class org.jbeans.DynamicNestedBeanProperty
Returns the value of the local or nested property described by this instance.
getPropertyValue(Object) - Method in class org.jbeans.NestedBeanProperty
Returns the value of the local or nested property described by this instance.
getPropertyValue(Object) - Method in class org.jbeans.IndexedBeanProperty
This method is not implemented and will throw an exception
getPropertyValue(Object, int) - Method in class org.jbeans.IndexedBeanProperty
Returns the value of the indexed JavaBean property at the given index
getPropertyValue(Object, int[]) - Method in class org.jbeans.DynamicNestedBeanProperty
Returns the value of the local or nested property described by this instance.
getPropertyValue(Object, List) - Method in class org.jbeans.DynamicNestedBeanProperty
Returns the value of the local or nested property described by this instance.
getPropertyValue(String, Object) - Method in class org.jbeans.JavaBean
Retrieves the local or nested bean property using the property name, the bean object (which will be used to retrieve and/or store child objects).
getPropertyValue(String, Object, int[]) - Method in class org.jbeans.JavaBean
Retrieves the local or nested bean property using the property name, the bean object (which will be used to retrieve and/or store child objects) and the list of indices which will be used for any indexed properties.
getPropertyValue(String, Object, List) - Method in class org.jbeans.JavaBean
Retrieves the local or nested bean property using the property name, the bean object (which will be used to retrieve and/or store child objects) and the list of indices which will be used for any indexed properties.
getReadMethod() - Method in class org.jbeans.BeanProperty
Returns the read method of the bean property
getRootCause() - Method in class org.jbeans.ReflectionException
Returns the root cause exception which is any exception that can be thrown while doing reflective operations.
getRootProperty() - Method in class org.jbeans.DynamicNestedBeanProperty
Returns the base property of nested properties or the property of local properties.
getTarget() - Method in class org.jbeans.ReflectionException
Returns the target exception which is any exception that was thrown when a method was invoked using reflection.
getTypeConverter(Class) - Static method in class org.jbeans.TypeConverterManager
Returns the type converter for the given type.
getWriteMethod() - Method in class org.jbeans.BeanProperty
Returns the write method name of the bean property

H

HANDLE_STRING - Static variable in class org.jbeans.JavaBeanTools
The string that starts non-standard Java bean handle methods handle
handleFailedConversion(ConversionEvent) - Method in class org.jbeans.ConversionListenerAdapter
This handle method is called when the property value being set has been converted and the conversion failed
handleFailedConversion(ConversionEvent) - Method in interface org.jbeans.ConversionListener
This handle method is called when the property value being set has been converted and the conversion failed
handleGet(PropertyEvent) - Method in class org.jbeans.PropertyListenerAdapter
This handle method is called when the property value is being retrieved by calling the getter for the property
handleGet(PropertyEvent) - Method in interface org.jbeans.PropertyListener
This handle method is called when the property value is being retrieved by calling the getter for the property
handlePostConversion(ConversionEvent) - Method in class org.jbeans.ConversionListenerAdapter
This handle method is called when the property value being set has just been successfully auto-converted
handlePostConversion(ConversionEvent) - Method in interface org.jbeans.ConversionListener
This handle method is called when the property value being set has just been successfully auto-converted
handlePreConversion(ConversionEvent) - Method in class org.jbeans.ConversionListenerAdapter
This handle method is called when the property value being set is going to be auto-converted but has not been converted yet.
handlePreConversion(ConversionEvent) - Method in interface org.jbeans.ConversionListener
This handle method is called when the property value being set is going to be auto-converted but has not been converted yet.
handleSet(PropertyEvent) - Method in class org.jbeans.PropertyListenerAdapter
This handle method is called when the property value is being changed by calling the setter for the property
handleSet(PropertyEvent) - Method in interface org.jbeans.PropertyListener
This handle method is called when the property value is being changed by calling the setter for the property
hasConversionListeners() - Method in class org.jbeans.BaseBeanProperty
Returns true if there are any conversion listeners for this property.
hasConversionListeners() - Method in class org.jbeans.SynchronizedNestedBeanProperty
This method is the same as the hasConversionListeners() method in the BaseBeanProperty class, except that it is thread safe.
hasConversionListeners() - Method in class org.jbeans.SynchronizedBeanProperty
This method is the same as the hasConversionListeners() method in the BaseBeanProperty class, except that it is thread safe.
hasConversionListeners() - Method in class org.jbeans.SynchronizedDynamicNestedBeanProperty
This method is the same as the hasConversionListeners() method in the BaseBeanProperty class, except that it is thread safe.
hasConversionListeners() - Method in class org.jbeans.SynchronizedIndexedBeanProperty
This method is the same as the hasConversionListeners() method in the BaseBeanProperty class, except that it is thread safe.
hasPropertyListeners() - Method in class org.jbeans.BaseBeanProperty
Returns true if there are any property listeners for this property.
hasPropertyListeners() - Method in class org.jbeans.SynchronizedNestedBeanProperty
This method is the same as the hasPropertyListeners() method in the BaseBeanProperty class, except that it is thread safe.
hasPropertyListeners() - Method in class org.jbeans.SynchronizedBeanProperty
This method is the same as the hasPropertyListeners() method in the BaseBeanProperty class, except that it is thread safe.
hasPropertyListeners() - Method in class org.jbeans.SynchronizedDynamicNestedBeanProperty
This method is the same as the hasPropertyListeners() method in the BaseBeanProperty class, except that it is thread safe.
hasPropertyListeners() - Method in class org.jbeans.SynchronizedIndexedBeanProperty
This method is the same as the hasPropertyListeners() method in the BaseBeanProperty class, except that it is thread safe.

I

index - Variable in class org.jbeans.JavaBeanTools.IndexHelper
This stores the single index when this class is used to break a property name apart from an index
IndexedBeanProperty - class org.jbeans.IndexedBeanProperty.
This class is used to access an indexed JavaBean property.
IndexedBeanProperty() - Constructor for class org.jbeans.IndexedBeanProperty
Default constructor that can be used by sub-classes that want to delay the initialization of the propertyName and beanClass or that do not use these members.
IndexedBeanProperty(String, Class) - Constructor for class org.jbeans.IndexedBeanProperty
Constructs a new indexed bean property using the property name and bean class given.
IndexedBeanProperty(String, String) - Constructor for class org.jbeans.IndexedBeanProperty
Constructs a new indexed bean property using the property name and fully qualified name of the bean class given.
indexOfDot - Variable in class org.jbeans.JavaBeanTools.NameHelper
This stores the index of the .
indices - Variable in class org.jbeans.JavaBeanTools.IndexHelper
This stores the List of indices when this class is used to break a property name apart one or more indice(s).
initialize() - Method in class org.jbeans.BaseBeanProperty
Sub-classes should put all the initialization logic in this method NOT in constructors.
initialize() - Method in class org.jbeans.BeanProperty
Initializes the bean property by finding the read and write methods and setting up the propertyType for this BeanProperty.
initialize() - Method in class org.jbeans.DynamicNestedBeanProperty
Initializes all the members of this class by parsing out the propertyName String and creating the necessary BeanProperty class and everything else that might be needed.
initialize() - Method in class org.jbeans.NestedBeanProperty
Initializes all the members of this class by parsing out the propertyName String and creating the necessary BeanProperty class and everything else that might be needed
initialize() - Method in class org.jbeans.IndexedBeanProperty
Initializes the bean property by finding the read and write methods and setting up the propertyType for this BeanProperty.
instantiate() - Method in class org.jbeans.BaseBeanProperty
Creates an instance of the class that this BeanProperty's property is contained in.
instantiate() - Method in class org.jbeans.JavaBean
Returns a new instance of the Java bean class that this JavaBean instance was cosntructed for.
instantiate(Class) - Static method in class org.jbeans.ReflectionTools
Yep, another convience method that instantiates an object from a class and this is just like all the others and wraps the exceptions into one nice exception
instantiate(String) - Static method in class org.jbeans.ReflectionTools
A convience method so that a class can be instantiated by name stored in a string without all the exceptions having to be caught.
invokeMethod(Method, Object, Object[]) - Static method in class org.jbeans.ReflectionTools
Another convience method because invoking a reflected method is a really pain in the butt.
IS_STRING - Static variable in class org.jbeans.JavaBeanTools
The string that starts standard Java bean boolean retrieval methods is
isBeanPropertyIndexed(String) - Method in class org.jbeans.JavaBean
Returns whether or not the property described by the propertyName String parameter is an indexed bean property or not.
isEmpty(String) - Static method in class org.jbeans.util.StringTools
Returns true if the string pass in is null or empty
isSimpleReturnType(Method) - Static method in class org.jbeans.ReflectionTools
This method makes a really big blanket statement by stating that all simple types (wrapper classe and string) are in java.lang package.
isStrict() - Method in class org.jbeans.JavaBean
Retrieves the value of the strict property
isStrict() - Method in class org.jbeans.DynamicNestedBeanProperty
Gets the strictness property of this instance
isTrimmedEmpty(String) - Static method in class org.jbeans.util.StringTools
Returns true if the string pass in is null or empty or trimmed and empty
isValidBoolean(String) - Static method in class org.jbeans.util.StringTools
Returns true if the string is a valid boolean expression according to the valueOf method on java.lang.Boolean, false otherwise
isValidGetter(Method) - Static method in class org.jbeans.JavaBeanTools
Check if the method is a proper java bean getter-property method.
isValidGetter(Method, boolean) - Static method in class org.jbeans.JavaBeanTools
Does the same check as isValidGetter() is checkName is true, but does not check the name if checkName is false.
isValidIndexedGetter(Method) - Static method in class org.jbeans.JavaBeanTools
Check if the method is a proper java bean indexed getter method.
isValidIndexedGetter(Method, boolean) - Static method in class org.jbeans.JavaBeanTools
Does the same check as isValidIndexedGetter() if checkName is true, but does not check the name if checkName is false.
isValidIndexedSetter(Method) - Static method in class org.jbeans.JavaBeanTools
Check if the method is a proper java bean indexed setter method.
isValidIndexedSetter(Method, boolean) - Static method in class org.jbeans.JavaBeanTools
Does the same check as isValidIndexedSetter() if checkName is true, but does not check the name if checkName is false.
isValidSetter(Method) - Static method in class org.jbeans.JavaBeanTools
Check if the method is a proper java bean setter-property method.
isValidSetter(Method, boolean) - Static method in class org.jbeans.JavaBeanTools
Does the same check as isValidSetter() is checkName is true, but does not check the name if checkName is false.

J

JavaBean - class org.jbeans.JavaBean.
This class can be used to facilitate getting and setting of JavaBean properties.
JavaBean(Class) - Constructor for class org.jbeans.JavaBean
Creates new JavaBean using the given bean class object and with strict set to false.
JavaBean(Class, boolean) - Constructor for class org.jbeans.JavaBean
Creates new JavaBean using the given bean class object and the given strict value.
JavaBean(String) - Constructor for class org.jbeans.JavaBean
Creates new JavaBean using the given fully qualified name of the bean class object and with strict set to false.
JavaBean(String, boolean) - Constructor for class org.jbeans.JavaBean
Creates new JavaBean using the given fully qualified name of the bean class object and the given strict value.
JavaBeanTools - class org.jbeans.JavaBeanTools.
This class is a library of tools that can be used when working with JavaBeans.
JavaBeanTools.IndexHelper - class org.jbeans.JavaBeanTools.IndexHelper.
This class is a small helper class that is used in the beans pacakge for assisting with indexing operations.
JavaBeanTools.IndexHelper() - Constructor for class org.jbeans.JavaBeanTools.IndexHelper
Constructs a new empty index helper
JavaBeanTools.IndexHelper(String, int) - Constructor for class org.jbeans.JavaBeanTools.IndexHelper
Constructs a new index helper with the given property name and index
JavaBeanTools.IndexHelper(String, List) - Constructor for class org.jbeans.JavaBeanTools.IndexHelper
Constructs a new index helper with the given property name and index list
JavaBeanTools.NameHelper - class org.jbeans.JavaBeanTools.NameHelper.
This class is a small helper class that is used in the beans pacakge for assisting with property names
JavaBeanTools.NameHelper() - Constructor for class org.jbeans.JavaBeanTools.NameHelper
 

L

localPropertyName - Variable in class org.jbeans.JavaBeanTools.NameHelper
This stores the local property name after a nested property name has been broken up into pieces

M

makeGetter(String) - Static method in class org.jbeans.JavaBeanTools
Using the propertyName, returns the Java Bean standard getter method name.
makeHandle(String) - Static method in class org.jbeans.JavaBeanTools
Using the propertyName, returns the non-standard Java Bean handle method name.
makeIs(String) - Static method in class org.jbeans.JavaBeanTools
Using the propertyName, returns the Java Bean standard boolean getter method name.
makeSetter(String) - Static method in class org.jbeans.JavaBeanTools
Using the propertyName, returns the Java Bean standard setter method name.

N

NestedBeanProperty - class org.jbeans.NestedBeanProperty.
This class is used to store information about and handle getting and setting of both nested and local properties.
NestedBeanProperty() - Constructor for class org.jbeans.NestedBeanProperty
Default constructor that can be used by sub-classes that want to delay the initialization of the propertyName and beanClass or that do not use these members.
NestedBeanProperty(String, Class) - Constructor for class org.jbeans.NestedBeanProperty
Constructs a new NestedBeanProperty that can be used to describe nested or local properties, depending on the value of the property string (see the class comment for more information).
NestedBeanProperty(String, Class, boolean) - Constructor for class org.jbeans.NestedBeanProperty
Constructs a new NestedBeanProperty that can be used to describe nested or local properties, depending on the value of the property string (see the class comment for more information).
NestedBeanProperty(String, String) - Constructor for class org.jbeans.NestedBeanProperty
Constructs a new NestedBeanProperty that can be used to describe nested or local properties, depending on the value of the property string (see the class comment for more information).
NestedBeanProperty(String, String, boolean) - Constructor for class org.jbeans.NestedBeanProperty
Constructs a new NestedBeanProperty that can be used to describe nested or local properties, depending on the value of the property string (see the class comment for more information).
nestedPropertyName - Variable in class org.jbeans.JavaBeanTools.NameHelper
This stores the remainder of a nested property name after a nested it has been broken.
NumberTypeConverter - class org.jbeans.converters.NumberTypeConverter.
This class is the main number converter.
NumberTypeConverter() - Constructor for class org.jbeans.converters.NumberTypeConverter
Creates new NumberTypeConverter

O

org.jbeans - package org.jbeans
 
org.jbeans.converters - package org.jbeans.converters
 
org.jbeans.util - package org.jbeans.util
 

P

POST_CONVERT - Static variable in class org.jbeans.BaseBeanProperty
Used to denote a conversion event has just taken place when sub-classes are firing events
PRE_CONVERT - Static variable in class org.jbeans.BaseBeanProperty
Used to denote a conversion event is about to take place when sub-classes are firing events
properties - Variable in class org.jbeans.JavaBean
 
PropertyEvent - class org.jbeans.PropertyEvent.
This class is the event that is generated when a bean property is retrieved or set.
PropertyEvent(BaseBeanProperty, Object, Object, Object) - Constructor for class org.jbeans.PropertyEvent
Creates a new property event using the values given
PropertyEvent(BaseBeanProperty, Object, Object, Object, int) - Constructor for class org.jbeans.PropertyEvent
Creates a new property event using the values given, for indexed properties
PropertyListener - interface org.jbeans.PropertyListener.
This interface is an event listener for property events.
PropertyListenerAdapter - class org.jbeans.PropertyListenerAdapter.
This class is a blank implementation of the PropertyListener interface It is abstract and implements every method of the listener with an empty implementation
PropertyListenerAdapter() - Constructor for class org.jbeans.PropertyListenerAdapter
 
propertyListeners - Variable in class org.jbeans.BaseBeanProperty
This holds the list of property listeners for the bean property
propertyName - Variable in class org.jbeans.BaseBeanProperty
Holds the name of the property that this bean property describes
propertyName - Variable in class org.jbeans.JavaBeanTools.IndexHelper
This stores the property name that is broken apart from a single index or List of indices
propertyType - Variable in class org.jbeans.BaseBeanProperty
Holds the Class type of the property that this bean property describes

R

read - Variable in class org.jbeans.BeanProperty
 
ReflectionException - exception org.jbeans.ReflectionException.
This class is a generic reflection exception that is to be used to wrap up any exceptions that are thrown from the java.lang.Class methods and java.lang.reflect.Method methods.
ReflectionException() - Constructor for class org.jbeans.ReflectionException
Constructs a new empty reflection exception
ReflectionException(String) - Constructor for class org.jbeans.ReflectionException
Constructs a new reflection exception with the given error message
ReflectionException(String, Exception) - Constructor for class org.jbeans.ReflectionException
Constructs a new reflection exception with the given error message and given root cause exception.
ReflectionException(String, Exception, Throwable) - Constructor for class org.jbeans.ReflectionException
Constructs a new reflection exception with the given error message and given root cause exception.
ReflectionTools - class org.jbeans.ReflectionTools.
This class is a toolkit to help in reflection.
ReflectionTools() - Constructor for class org.jbeans.ReflectionTools
 
registerTypeConverter(Class, TypeConverter) - Static method in class org.jbeans.TypeConverterManager
Registers the given converter with the given type
removeConversionListener(ConversionListener) - Method in class org.jbeans.BaseBeanProperty
Removes the given conversion listener from the list of conversion listeners.
removeConversionListener(ConversionListener) - Method in class org.jbeans.SynchronizedNestedBeanProperty
This method is the same as the removeConversionListener() method in the BaseBeanProperty class, except that it is thread safe.
removeConversionListener(ConversionListener) - Method in class org.jbeans.SynchronizedBeanProperty
This method is the same as the removeConversionListener() method in the BaseBeanProperty class, except that it is thread safe.
removeConversionListener(ConversionListener) - Method in class org.jbeans.SynchronizedDynamicNestedBeanProperty
This method is the same as the removeConversionListener() method in the BaseBeanProperty class, except that it is thread safe.
removeConversionListener(ConversionListener) - Method in class org.jbeans.SynchronizedIndexedBeanProperty
This method is the same as the removeConversionListener() method in the BaseBeanProperty class, except that it is thread safe.
removeIndices(String) - Static method in class org.jbeans.JavaBeanTools
This method takes the given property string and removes all the indices from it and stores them in an List.
removePropertyListener(PropertyListener) - Method in class org.jbeans.BaseBeanProperty
Removes the given property listener from the list of property listeners.
removePropertyListener(PropertyListener) - Method in class org.jbeans.SynchronizedNestedBeanProperty
This method is the same as the removePropertyListener() method in the BaseBeanProperty class, except that it is thread safe.
removePropertyListener(PropertyListener) - Method in class org.jbeans.SynchronizedBeanProperty
This method is the same as the removePropertyListener() method in the BaseBeanProperty class, except that it is thread safe.
removePropertyListener(PropertyListener) - Method in class org.jbeans.SynchronizedDynamicNestedBeanProperty
This method is the same as the removePropertyListener() method in the BaseBeanProperty class, except that it is thread safe.
removePropertyListener(PropertyListener) - Method in class org.jbeans.SynchronizedIndexedBeanProperty
This method is the same as the removePropertyListener() method in the BaseBeanProperty class, except that it is thread safe.

S

SET - Static variable in class org.jbeans.BaseBeanProperty
Used to denote a set event when sub-classes are firing events
SET_STRING - Static variable in class org.jbeans.JavaBeanTools
The string that starts standard Java bean update methods set
setPropertyValue(Object, int[], Object, boolean) - Method in class org.jbeans.DynamicNestedBeanProperty
Sets the local or nested property value described by this instance.
setPropertyValue(Object, int, Object) - Method in class org.jbeans.IndexedBeanProperty
Sets the value of the indexed JavaBean property at the given index with the given value.
setPropertyValue(Object, int, Object, boolean) - Method in class org.jbeans.IndexedBeanProperty
Sets the value of the indexed JavaBean property at the given index with the given value
setPropertyValue(Object, List, Object, boolean) - Method in class org.jbeans.DynamicNestedBeanProperty
Sets the local or nested property value described by this instance.
setPropertyValue(Object, Object) - Method in class org.jbeans.BaseBeanProperty
Sets the value of the bean property to the given value.
setPropertyValue(Object, Object, boolean) - Method in class org.jbeans.BaseBeanProperty
Sets the the property value.
setPropertyValue(Object, Object, boolean) - Method in class org.jbeans.BeanProperty
Sets the value of the Java bean property to the given value
setPropertyValue(Object, Object, boolean) - Method in class org.jbeans.DynamicNestedBeanProperty
Sets the local or nested property value described by this instance.
setPropertyValue(Object, Object, boolean) - Method in class org.jbeans.NestedBeanProperty
Sets the local or nested property value described by this instance.
setPropertyValue(Object, Object, boolean) - Method in class org.jbeans.IndexedBeanProperty
This method is not implemented and will throw an exception
setPropertyValue(String, Object, int[], Object, boolean) - Method in class org.jbeans.JavaBean
Sets the local or nested property using the property name, the bean object (which will be used to retrieve and/or store the child objects if this is a nested property), the array of indices for any indexed properties, the value with which to set the property, the convert flag to determine whether or not to convert the value to the appropriate type before setting.
setPropertyValue(String, Object, List, Object, boolean) - Method in class org.jbeans.JavaBean
Sets the local or nested property using the property name, the bean object (which will be used to retrieve and/or store the child objects if this is a nested property), the list of indices for any indexed properties, the value with which to set the property, the convert flag to determine whether or not to convert the value to the appropriate type before setting.
setPropertyValue(String, Object, Object) - Method in class org.jbeans.JavaBean
Sets the local or nested property to the given value on the given bean instance.
setPropertyValue(String, Object, Object, boolean) - Method in class org.jbeans.JavaBean
Sets the local or nested property using the property name, the bean object (which will be used to retrieve and/or store the child objects if this is a nested property), the value with which to set the property, the convert flag to determine whether or not to convert the value to the appropriate type before setting.
setStrict(boolean) - Method in class org.jbeans.JavaBean
Sets the value of the strict property for this JavaBean only.
setStrict(boolean) - Method in class org.jbeans.DynamicNestedBeanProperty
Sets the strictness property for this instance
setStrict(boolean) - Method in class org.jbeans.SynchronizedJavaBean
Sets the value of the strict property for this JavaBean only, in a thread safe manner.
splitName(String) - Static method in class org.jbeans.JavaBeanTools
Using the given nested property name, this returns the local property name and the remainder of the nested property name, if any.
strict - Variable in class org.jbeans.JavaBean
 
StringTools - class org.jbeans.util.StringTools.
This class is a toolkit designed to help with string opertaions in other classes.
SynchronizedBeanProperty - class org.jbeans.SynchronizedBeanProperty.
This class is identical to its parent except that it is thread safe.
SynchronizedBeanProperty() - Constructor for class org.jbeans.SynchronizedBeanProperty
Constructs a new instance of the thread safe BeanProperty
SynchronizedBeanProperty(String, Class) - Constructor for class org.jbeans.SynchronizedBeanProperty
Constructs a new instance of the thread safe BeanProperty
SynchronizedDynamicNestedBeanProperty - class org.jbeans.SynchronizedDynamicNestedBeanProperty.
This class is identical to its parent except that it is thread safe.
SynchronizedDynamicNestedBeanProperty() - Constructor for class org.jbeans.SynchronizedDynamicNestedBeanProperty
Constructs a new instance of the thread safe NestedBeanProperty
SynchronizedDynamicNestedBeanProperty(String, Class) - Constructor for class org.jbeans.SynchronizedDynamicNestedBeanProperty
Constructs a new instance of the thread safe NestedBeanProperty
SynchronizedDynamicNestedBeanProperty(String, Class, boolean) - Constructor for class org.jbeans.SynchronizedDynamicNestedBeanProperty
Constructs a new instance of the thread safe NestedBeanProperty
SynchronizedIndexedBeanProperty - class org.jbeans.SynchronizedIndexedBeanProperty.
This class is identical to its parent except that it is thread safe.
SynchronizedIndexedBeanProperty() - Constructor for class org.jbeans.SynchronizedIndexedBeanProperty
Constructs a new instance of the thread safe IndexedBeanProperty
SynchronizedIndexedBeanProperty(String, Class) - Constructor for class org.jbeans.SynchronizedIndexedBeanProperty
Constructs a new instance of the thread safe IndexedBeanProperty
SynchronizedJavaBean - class org.jbeans.SynchronizedJavaBean.
This class is identical to its parent class JavaBean except that this class is synchronized.
SynchronizedJavaBean(Class) - Constructor for class org.jbeans.SynchronizedJavaBean
Creates new thread safe JavaBean
SynchronizedJavaBean(Class, boolean) - Constructor for class org.jbeans.SynchronizedJavaBean
Creates new thread safe JavaBean
SynchronizedNestedBeanProperty - class org.jbeans.SynchronizedNestedBeanProperty.
This class is identical to its parent except that it is thread safe.
SynchronizedNestedBeanProperty() - Constructor for class org.jbeans.SynchronizedNestedBeanProperty
Constructs a new instance of the thread safe NestedBeanProperty
SynchronizedNestedBeanProperty(String, Class) - Constructor for class org.jbeans.SynchronizedNestedBeanProperty
Constructs a new instance of the thread safe NestedBeanProperty
SynchronizedNestedBeanProperty(String, Class, boolean) - Constructor for class org.jbeans.SynchronizedNestedBeanProperty
Constructs a new instance of the thread safe NestedBeanProperty

T

toFullString() - Method in class org.jbeans.ReflectionException
Returns the full string of the exception as described by Throwable.toString() and also appends
TypeConversionException - exception org.jbeans.TypeConversionException.
This is the basic exception that gets thrown from the TypeConverter conversion methods.
TypeConversionException() - Constructor for class org.jbeans.TypeConversionException
Creates new TypeConversionException
TypeConversionException(String) - Constructor for class org.jbeans.TypeConversionException
Creates a new TypeConversionException with the given error message
TypeConversionException(String, Exception) - Constructor for class org.jbeans.TypeConversionException
Creates a new TypeConversionException with the given error message and root cause exception
TypeConverter - interface org.jbeans.TypeConverter.
TypeConverters are used to convert objects from one type to another, convert strings to objects and to convert from objects and strings to arrays of objects.
TypeConverterManager - class org.jbeans.TypeConverterManager.
This class is the manager for all the TypeConverters.

U

unregisterTypeConverter(Class) - Static method in class org.jbeans.TypeConverterManager
Unregisters the given converter with the given type

W

write - Variable in class org.jbeans.BeanProperty
 

A B C D F G H I J L M N O P R S T U W