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, MethodDescriptor[] listenerMethodDescriptors, Method addListenerMethod, Method removeListenerMethod) |
java.lang.reflect.MethodDescriptor およびjava.lang.Class オブジェクトを使って、ゼロから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を作成します。
|
IndexedPropertyDescriptor(String propertyName, Class<?> beanClass) |
このコンストラクタは、インデックス付きのアクセスと配列アクセスのどちらでも、アクセス用メソッドgetFooおよびsetFooを使って、標準Java規約に準拠したプロパティのIndexedPropertyDescriptorを構築します。
|
IndexedPropertyDescriptor(String propertyName, Class<?> beanClass, String readMethodName, String writeMethodName, String indexedReadMethodName, String indexedWriteMethodName) |
このコンストラクタは、単純なプロパティ名と、プロパティの読み込みおよび書込み用のメソッド名(インデックス付きメソッドと非インデックス付きメソッドの両方)を引数に取ります。
|
IndexedPropertyDescriptor(String propertyName, Method readMethod, Method writeMethod, Method indexedReadMethod, Method indexedWriteMethod) |
このコンストラクタは、単純なプロパティ名と、プロパティの読み込みおよび書込み用のMethodオブジェクトを引数に取ります。
|
PropertyDescriptor(String propertyName, Class<?> beanClass) |
アクセス用メソッドgetFooおよびsetFooを使って、標準のJava規約に準拠しているプロパティのPropertyDescriptorを構築します。
|
PropertyDescriptor(String propertyName, Class<?> beanClass, String readMethodName, String writeMethodName) |
このコンストラクタは、単純なプロパティ名と、プロパティの読み込みおよび書込み用のメソッド名を引数に取ります。
|
PropertyDescriptor(String propertyName, Method readMethod, Method writeMethod) |
このコンストラクタは、単純なプロパティ名と、プロパティの読み込みおよび書込み用のMethodオブジェクトを引数に取ります。
|