|
Java プラットフォーム 1.2 |
|||||||||
前 次 | フレームあり フレームなし |
IntrospectionException を使用するパッケージ | |
java.beans | JavaBeans の開発に関連するクラスが含まれています。 |
java.beans における IntrospectionException の使用方法 |
IntrospectionException をスローする java.beans におけるメソッド | |
void |
PropertyDescriptor.setReadMethod(Method getter)
プロパティ値の読み込みに使うメソッドを設定します。 |
void |
PropertyDescriptor.setWriteMethod(Method setter)
プロパティ値の書き込みに使うメソッドを設定します。 |
void |
IndexedPropertyDescriptor.setIndexedReadMethod(Method getter)
添字付きプロパティ値の読み込みに使うメソッドを設定します。 |
void |
IndexedPropertyDescriptor.setIndexedWriteMethod(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 を内部検査し、指定の「停止」ポイントになるまで、プロパティ、公開されたメソッドを調べます。 |
IntrospectionException をスローする java.beans におけるコンストラクタ | |
PropertyDescriptor.PropertyDescriptor(String propertyName,
Class beanClass)
getFoo および setFoo アクセス用メソッドを使って、標準の Java 規則に従うプロパティの PropertyDescriptor を構築します。 |
|
PropertyDescriptor.PropertyDescriptor(String propertyName,
Class beanClass,
String getterName,
String setterName)
単純なプロパティ名、およびプロパティの読み込み/書き込み用のメソッド名を引数に取ります。 |
|
PropertyDescriptor.PropertyDescriptor(String propertyName,
Method getter,
Method setter)
単純なプロパティ名、およびプロパティの読み込み/書き込み用の Method オブジェクトを引数に取ります。 |
|
IndexedPropertyDescriptor.IndexedPropertyDescriptor(String propertyName,
Class beanClass)
添字付きアクセスおよび配列アクセスの両方について、getFoo と setFoo アクセス用メソッドを使って、標準 Java 規則に従うプロパティのための IndexedPropertyDescriptor を構築します。 |
|
IndexedPropertyDescriptor.IndexedPropertyDescriptor(String propertyName,
Class beanClass,
String getterName,
String setterName,
String indexedGetterName,
String indexedSetterName)
単純なプロパティ名、およびプロパティを読み書きするメソッド (添字付き/添字なしの両方) の名前を引数に取ります。 |
|
IndexedPropertyDescriptor.IndexedPropertyDescriptor(String propertyName,
Method getter,
Method setter,
Method indexedGetter,
Method indexedSetter)
単純なプロパティ名、およびプロパティを読み書きする Method オブジェクトを引数に取ります。 |
|
EventSetDescriptor.EventSetDescriptor(Class sourceClass,
String eventSetName,
Class listenerType,
String listenerMethodName)
このコンストラクタは、次のようなもっとも単純な設計パターンに基づくことを前提にして EventSetDescriptor を作成します。 |
|
EventSetDescriptor.EventSetDescriptor(Class sourceClass,
String eventSetName,
Class listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName)
文字列名を使って新しい EventSetDescriptor を作成します。 |
|
EventSetDescriptor.EventSetDescriptor(String eventSetName,
Class listenerType,
Method[] listenerMethods,
Method addListenerMethod,
Method removeListenerMethod)
java.lang.reflect.Method および java.lang.Class オブジェクトを使って新しい EventSetDescriptor を作成します。 |
|
EventSetDescriptor.EventSetDescriptor(String eventSetName,
Class listenerType,
MethodDescriptor[] listenerMethodDescriptors,
Method addListenerMethod,
Method removeListenerMethod)
java.lang.reflect.MethodDescriptor および java.lang.Class オブジェクトを使って新しい EventSetDescriptor を作成します。 |
|
Java プラットフォーム 1.2 |
|||||||||
前 次 | フレームあり フレームなし |