站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class java.beans.IntrospectionException - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Class
java.beans.IntrospectionException

Packages that use IntrospectionException
java.beans Contains classes related to Java Beans development. 
 

Uses of IntrospectionException in java.beans
 

Methods in java.beans that throw IntrospectionException
 void PropertyDescriptor.setReadMethod(Method getter)
          Sets the method that should be used to read the property value.
 void PropertyDescriptor.setWriteMethod(Method setter)
          Sets the method that should be used to write the property value.
 void IndexedPropertyDescriptor.setIndexedReadMethod(Method getter)
          Sets the method that should be used to read an indexed property value.
 void IndexedPropertyDescriptor.setIndexedWriteMethod(Method setter)
          Sets the method that should be used to write an indexed property value.
static BeanInfo Introspector.getBeanInfo(Class beanClass)
          Introspect on a Java bean and learn about all its properties, exposed methods, and events.
static BeanInfo Introspector.getBeanInfo(Class beanClass, int flags)
          Introspect on a Java bean and learn about all its properties, exposed methods, and events, subnject to some comtrol flags.
static BeanInfo Introspector.getBeanInfo(Class beanClass, Class stopClass)
          Introspect on a Java bean and learn all about its properties, exposed methods, below a given "stop" point.
 

Constructors in java.beans that throw IntrospectionException
PropertyDescriptor.PropertyDescriptor(String propertyName, Class beanClass)
          Constructs a PropertyDescriptor for a property that follows the standard Java convention by having getFoo and setFoo accessor methods.
PropertyDescriptor.PropertyDescriptor(String propertyName, Class beanClass, String getterName, String setterName)
          This constructor takes the name of a simple property, and method names for reading and writing the property.
PropertyDescriptor.PropertyDescriptor(String propertyName, Method getter, Method setter)
          This constructor takes the name of a simple property, and Method objects for reading and writing the property.
IndexedPropertyDescriptor.IndexedPropertyDescriptor(String propertyName, Class beanClass)
          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.
IndexedPropertyDescriptor.IndexedPropertyDescriptor(String propertyName, Class beanClass, String getterName, String setterName, String indexedGetterName, String indexedSetterName)
          This constructor takes the name of a simple property, and method names for reading and writing the property, both indexed and non-indexed.
IndexedPropertyDescriptor.IndexedPropertyDescriptor(String propertyName, Method getter, Method setter, Method indexedGetter, Method indexedSetter)
          This constructor takes the name of a simple property, and Method objects for reading and writing the property.
EventSetDescriptor.EventSetDescriptor(Class sourceClass, String eventSetName, Class listenerType, String listenerMethodName)
          This constructor creates an EventSetDescriptor assuming that you are following the most simple standard design pattern where a named event "fred" is (1) delivered as a call on the single method of interface FredListener, (2) has a single argument of type FredEvent, and (3) where the FredListener may be registered with a call on an addFredListener method of the source component and removed with a call on a removeFredListener method.
EventSetDescriptor.EventSetDescriptor(Class sourceClass, String eventSetName, Class listenerType, String[] listenerMethodNames, String addListenerMethodName, String removeListenerMethodName)
          This constructor creates an EventSetDescriptor from scratch using string names.
EventSetDescriptor.EventSetDescriptor(String eventSetName, Class listenerType, Method[] listenerMethods, Method addListenerMethod, Method removeListenerMethod)
          This constructor creates an EventSetDescriptor from scratch using java.lang.reflect.Method and java.lang.Class objects.
EventSetDescriptor.EventSetDescriptor(String eventSetName, Class listenerType, MethodDescriptor[] listenerMethodDescriptors, Method addListenerMethod, Method removeListenerMethod)
          This constructor creates an EventSetDescriptor from scratch using java.lang.reflect.MethodDescriptor and java.lang.Class objects.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.