<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class java.beans.IndexedPropertyDescriptor
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.beans.html">This Package</a>  <a href="java.beans.FeatureDescriptor.html#_top_">Previous</a>  <a href="java.beans.Introspector.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.beans.IndexedPropertyDescriptor
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----<a href="java.beans.FeatureDescriptor.html#_top_">java.beans.FeatureDescriptor</a>
           |
           +----<a href="java.beans.PropertyDescriptor.html#_top_">java.beans.PropertyDescriptor</a>
                   |
                   +----java.beans.IndexedPropertyDescriptor
</pre>
<hr>
<dl>
  <dt> public class <b>IndexedPropertyDescriptor</b>
  <dt> extends <a href="java.beans.PropertyDescriptor.html#_top_">PropertyDescriptor</a>
</dl>
An IndexedPropertyDescriptor describes a property that acts like an
 array and has an indexed read and/or indexed write method to access
 specific elements of the array.
 <p>
 An indexed property may also provide simple non-indexed read and write
 methods.  If these are present, they read and write arrays of the type
 returned by the indexed read method.
<p>
<hr>
<a name="index"></a>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#IndexedPropertyDescriptor(java.lang.String, java.lang.Class)"><b>IndexedPropertyDescriptor</b></a>(String, Class)
  <dd>  This constructor constructs an IndexedPropertyDescriptor for a property
 that follows the standard Java conventions by having getFoo and setFoo 
 accessor methods, for both indexed access and array access.
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#IndexedPropertyDescriptor(java.lang.String, java.lang.Class, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><b>IndexedPropertyDescriptor</b></a>(String, Class, String, String, String, String)
  <dd>  This constructor takes the name of a simple property, and method
 names for reading and writing the property, both indexed
 and non-indexed.
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#IndexedPropertyDescriptor(java.lang.String, java.lang.reflect.Method, java.lang.reflect.Method, java.lang.reflect.Method, java.lang.reflect.Method)"><b>IndexedPropertyDescriptor</b></a>(String, Method, Method, Method, Method)
  <dd>  This constructor takes the name of a simple property, and Method
 objects for reading and writing the property.
</dl>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getIndexedPropertyType()"><b>getIndexedPropertyType</b></a>()
  <dd>  
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getIndexedReadMethod()"><b>getIndexedReadMethod</b></a>()
  <dd>  
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getIndexedWriteMethod()"><b>getIndexedWriteMethod</b></a>()
  <dd>  
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="IndexedPropertyDescriptor"></a>
<a name="IndexedPropertyDescriptor(java.lang.String, java.lang.Class)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>IndexedPropertyDescriptor</b>
<pre>
 public IndexedPropertyDescriptor(<a href="java.lang.String.html#_top_">String</a> propertyName,
                                  <a href="java.lang.Class.html#_top_">Class</a> beanClass) throws <a href="java.beans.IntrospectionException.html#_top_">IntrospectionException</a>
</pre>
<dl>
  <dd> This constructor constructs an IndexedPropertyDescriptor for a property
 that follows the standard Java conventions by having getFoo and setFoo 
 accessor methods, for both indexed access and array access.
 <p>
 Thus if the argument name is "fred", it will assume that there
 is an indexed reader method "getFred", a non-indexed (array) reader
 method also called "getFred", an indexed writer method "setFred",
 and finally a non-indexed writer method "setFred".
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> propertyName - The programmatic name of the property.
    <dd> beanClass - The Class object for the target bean.
    <dt> <b>Throws:</b> <a href="java.beans.IntrospectionException.html#_top_">IntrospectionException</a>
    <dd> if an exception occurs during
              introspection.
  </dl></dd>
</dl>
<a name="IndexedPropertyDescriptor(java.lang.String, java.lang.Class, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>IndexedPropertyDescriptor</b>
<pre>
 public IndexedPropertyDescriptor(<a href="java.lang.String.html#_top_">String</a> propertyName,
                                  <a href="java.lang.Class.html#_top_">Class</a> beanClass,
                                  <a href="java.lang.String.html#_top_">String</a> getterName,
                                  <a href="java.lang.String.html#_top_">String</a> setterName,
                                  <a href="java.lang.String.html#_top_">String</a> indexedGetterName,
                                  <a href="java.lang.String.html#_top_">String</a> indexedSetterName) throws <a href="java.beans.IntrospectionException.html#_top_">IntrospectionException</a>
</pre>
<dl>
  <dd> This constructor takes the name of a simple property, and method
 names for reading and writing the property, both indexed
 and non-indexed.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> propertyName - The programmatic name of the property.
    <dd> beanClass - The Class object for the target bean.
    <dd> getterName - The name of the method used for reading the property
		 values as an array.  May be null if the property is write-only
		 or must be indexed.
    <dd> setterName - The name of the method used for writing the property
		 values as an array.  May be null if the property is read-only
		 or must be indexed.
    <dd> indexedGetterName - The name of the method used for reading
		an indexed property value.
		May be null if the property is write-only.
    <dd> indexedSetterName - The name of the method used for writing
		an indexed property value.  
		May be null if the property is read-only.
    <dt> <b>Throws:</b> <a href="java.beans.IntrospectionException.html#_top_">IntrospectionException</a>
    <dd> if an exception occurs during
              introspection.
  </dl></dd>
</dl>
<a name="IndexedPropertyDescriptor(java.lang.String, java.lang.reflect.Method, java.lang.reflect.Method, java.lang.reflect.Method, java.lang.reflect.Method)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>IndexedPropertyDescriptor</b>
<pre>
 public IndexedPropertyDescriptor(<a href="java.lang.String.html#_top_">String</a> propertyName,
                                  <a href="java.lang.reflect.Method.html#_top_">Method</a> getter,
                                  <a href="java.lang.reflect.Method.html#_top_">Method</a> setter,
                                  <a href="java.lang.reflect.Method.html#_top_">Method</a> indexedGetter,
                                  <a href="java.lang.reflect.Method.html#_top_">Method</a> indexedSetter) throws <a href="java.beans.IntrospectionException.html#_top_">IntrospectionException</a>
</pre>
<dl>
  <dd> This constructor takes the name of a simple property, and Method
 objects for reading and writing the property.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> propertyName - The programmatic name of the property.
    <dd> getter - The method used for reading the property values as an array.
		May be null if the property is write-only or must be indexed.
    <dd> setter - The method used for writing the property values as an array.
		May be null if the property is read-only or must be indexed.
    <dd> indexedGetter - The method used for reading an indexed property value.
		May be null if the property is write-only.
    <dd> indexedSetter - The method used for writing an indexed property value.
		May be null if the property is read-only.
    <dt> <b>Throws:</b> <a href="java.beans.IntrospectionException.html#_top_">IntrospectionException</a>
    <dd> if an exception occurs during
              introspection.
  </dl></dd>
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="getIndexedReadMethod()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getIndexedReadMethod"><b>getIndexedReadMethod</b></a>
<pre>
 public <a href="java.lang.reflect.Method.html#_top_">Method</a> getIndexedReadMethod()
</pre>
<dl>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> The method that should be used to read an indexed
 property value.
 May return null if the property isn't indexed or is write-only.
  </dl></dd>
</dl>
<a name="getIndexedWriteMethod()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getIndexedWriteMethod"><b>getIndexedWriteMethod</b></a>
<pre>
 public <a href="java.lang.reflect.Method.html#_top_">Method</a> getIndexedWriteMethod()
</pre>
<dl>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> The method that should be used to write an indexed
 property value.
 May return null if the property isn't indexed or is read-only.
  </dl></dd>
</dl>
<a name="getIndexedPropertyType()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getIndexedPropertyType"><b>getIndexedPropertyType</b></a>
<pre>
 public <a href="java.lang.Class.html#_top_">Class</a> getIndexedPropertyType()
</pre>
<dl>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> The Java Class for the indexed properties type.  Note that
 the Class may describe a primitive Java type such as "int".
 <p>
 This is the type that will be returned by the indexedReadMethod.
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.beans.html">This Package</a>  <a href="java.beans.FeatureDescriptor.html#_top_">Previous</a>  <a href="java.beans.Introspector.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
