クラス
java.beans.MethodDescriptorの使用
パッケージ | 説明 |
---|---|
java.beans |
beansの開発に関連するクラスが含まれます -- JavaBeansアーキテクチャに基づくコンポーネント。
|
-
java.beansでのMethodDescriptorの使用
MethodDescriptorを返すjava.beansのメソッド 修飾子と型 メソッド 説明 MethodDescriptor[]
EventSetDescriptor. getListenerMethodDescriptors()
ターゲット・リスナー・インタフェースのMethodDescriptor
を取得します。MethodDescriptor[]
BeanInfo. getMethodDescriptors()
このBeanによってサポートされる外部から見えるメソッドを定義する、メソッド記述子を返します。MethodDescriptor[]
SimpleBeanInfo. getMethodDescriptors()
メソッドに関する情報を拒否します。型MethodDescriptorのパラメータを持つjava.beansのコンストラクタ コンストラクタ 説明 EventSetDescriptor(String eventSetName, Class<?> listenerType, MethodDescriptor[] listenerMethodDescriptors, Method addListenerMethod, Method removeListenerMethod)
java.lang.reflect.MethodDescriptor
およびjava.lang.Class
オブジェクトを使って、ゼロからEventSetDescriptor
を作成します。