All Packages This Package Previous Next
Class sqlj.runtime.profile.util.CustomizerPropertyInfo
java.lang.Object
|
+----java.beans.SimpleBeanInfo
|
+----sqlj.runtime.profile.util.CustomizerPropertyInfo
- public abstract class CustomizerPropertyInfo
- extends SimpleBeanInfo
This class is an abstract helper class that provides a framework for
describing the properties of customizer beans. It is expected (but not
required) that a customizer class called "Foo" that supports some
number of properties will also include a "FooBeanInfo" class that
subclasses CustomizerPropertyInfo.
-
m_props
-
-
CustomizerPropertyInfo(Class, String[][])
- Creates a new customizer property info class using the passed
customizer class and property array.
-
getPropertyDescriptors()
-
m_props
protected PropertyDescriptor m_props[]
CustomizerPropertyInfo
public CustomizerPropertyInfo(Class customizer,
String props[][])
- Creates a new customizer property info class using the passed
customizer class and property array. The props array passed is a two
dimensional array of strings that describe the properties supported by
the customizer in question.
For each property supported, a two-element array of strings exists
with the first element being the name of the property, and the second
being a short description of the property. For example:
{
{ "verbose", "displays info about the customization process" },
{ "uninstall", "removes any previous customizations" }
}
Note: if the creation of property descriptors causes an
introspection exception, the property descriptors will default
to the super class implementation.
- Parameters:
- customizer - the class of the customizer which supports the
options
- props - a two dimensional array of strings describing the
properties supported.
getPropertyDescriptors
public PropertyDescriptor[] getPropertyDescriptors()
- Returns:
- the property descriptors for this class
- Overrides:
- getPropertyDescriptors in class SimpleBeanInfo
All Packages This Package Previous Next