JavaTM 2
Platform
Std. Ed. v1.4.0

クラス
java.beans.IntrospectionException の使用

IntrospectionException を使用しているパッケージ
java.beans Bean (JavaBeansTM アーキテクチャに基づいたコンポーネント) の開発に関連するクラスが含まれています。 
 

java.beans での IntrospectionException の使用
 

IntrospectionException をスローする java.beans のメソッド
 void PropertyDescriptor.setReadMethod(Method getter)
          プロパティ値の読み込みに使用するメソッドを設定します。
 void PropertyDescriptor.setWriteMethod(Method setter)
          プロパティ値の書き込みに使用するメソッドを設定します。
static BeanInfo Introspector.getBeanInfo(Class beanClass)
          Java bean のイントロスペクションを行い、すべてのプロパティ、公開メソッド、イベントについて調べます。
static BeanInfo Introspector.getBeanInfo(Class beanClass, int flags)
          いくつかの制御フラグに従って、Java bean のイントロスペクションを行い、すべてのプロパティ、公開されたメソッド、イベントについて調べます。
static BeanInfo Introspector.getBeanInfo(Class beanClass, Class stopClass)
          Java bean のイントロスペクションを行い、指定の「停止」ポイントに達するまで、プロパティ、公開されたメソッドを調べます。
 void IndexedPropertyDescriptor.setIndexedReadMethod(Method getter)
          インデックス付きプロパティ値の読み取りに使用するメソッドを設定します。
 void IndexedPropertyDescriptor.setIndexedWriteMethod(Method setter)
          インデックス付きプロパティ値の書き込みに使用するメソッドを設定します。
 

IntrospectionException をスローする java.beans のコンストラクタ
PropertyDescriptor(String propertyName, Class beanClass)
          アクセス用メソッド getFoo および setFoo を使って、標準の Java 規約に準拠しているプロパティの PropertyDescriptor を構築します。
PropertyDescriptor(String propertyName, Class beanClass, String getterName, String setterName)
          このコンストラクタは、単純なプロパティ名と、プロパティの読み込みおよび書き込み用のメソッド名を引数に取ります。
PropertyDescriptor(String propertyName, Method getter, Method setter)
          このコンストラクタは、単純なプロパティ名と、プロパティの読み込みおよび書き込み用の Method オブジェクトを引数に取ります。
IndexedPropertyDescriptor(String propertyName, Class beanClass)
          このコンストラクタは、インデックス付きのアクセスと配列アクセスのどちらでも、アクセス用メソッド getFoo および setFoo を使って、標準 Java 規約に準拠したプロパティの IndexPropertyDescriptor を構築します。
IndexedPropertyDescriptor(String propertyName, Class beanClass, String getterName, String setterName, String indexedGetterName, String indexedSetterName)
          このコンストラクタは、単純なプロパティ名と、プロパティの読み取りおよび書き込み用のメソッド名 (インデックス付きメソッドと非インデックス付きメソッドの両方) を引数に取ります。
IndexedPropertyDescriptor(String propertyName, Method getter, Method setter, Method indexedGetter, Method indexedSetter)
          このコンストラクタは、単純なプロパティ名と、プロパティの読み込みおよび書き込み用の Method オブジェクトを引数に取ります。
EventSetDescriptor(Class sourceClass, String eventSetName, Class listenerType, String listenerMethodName)
          指定されたイベント fred が (1) FredListener インタフェースの単一のメソッド呼び出しとして配信される、(2) FredEvent 型の単一の引数をとる、(3) FredListener をソースコンポーネントの addFredListener メソッドの呼び出しで登録し removeFredListener メソッドの呼び出しで削除する、という最も単純な標準設計パターンに従うものとして、EventSetDescriptor を作成します。
EventSetDescriptor(Class sourceClass, String eventSetName, Class listenerType, String[] listenerMethodNames, String addListenerMethodName, String removeListenerMethodName)
          文字列名を使って、ゼロから EventSetDescriptor を作成します。
EventSetDescriptor(Class sourceClass, String eventSetName, Class listenerType, String[] listenerMethodNames, String addListenerMethodName, String removeListenerMethodName, String getListenerMethodName)
          このコンストラクタは、文字列名を使って、ゼロから EventSetDescriptor を作成します。
EventSetDescriptor(String eventSetName, Class listenerType, Method[] listenerMethods, Method addListenerMethod, Method removeListenerMethod)
          java.lang.reflect.Method オブジェクトと java.lang.Class オブジェクトを使って、ゼロから EventSetDescriptor を作成します。
EventSetDescriptor(String eventSetName, Class listenerType, Method[] listenerMethods, Method addListenerMethod, Method removeListenerMethod, Method getListenerMethod)
          このコンストラクタは、java.lang.reflect.Method オブジェクトと java.lang.Class オブジェクトを使って、ゼロから EventSetDescriptor を作成します。
EventSetDescriptor(String eventSetName, Class listenerType, MethodDescriptor[] listenerMethodDescriptors, Method addListenerMethod, Method removeListenerMethod)
          java.lang.reflect.MethodDescriptor オブジェクトと java.lang.Class オブジェクトを使って、ゼロから EventSetDescriptor を作成します。
 


JavaTM 2
Platform
Std. Ed. v1.4.0

バグの報告と機能のリクエスト
これ以外の API リファレンスおよび開発者用ドキュメントについては、 Java 2 SDK SE 開発者用ドキュメントを参照してください。 開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、 およびコード実例が含まれています。

Java、Java 2D、および JDBC は米国ならびにその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.