クラス
java.beans.MethodDescriptorの使用
-
MethodDescriptorを使用しているパッケージ パッケージ 説明 java.beans Bean (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
を作成します。
-