📄 class.html
字号:
<TD><CODE><B><A HREF="../../../java/beans/EventSetDescriptor.html#EventSetDescriptor(java.lang.Class, java.lang.String, java.lang.Class, java.lang.String)">EventSetDescriptor</A></B>(<A HREF="../../../java/lang/Class.html">Class</A> sourceClass, <A HREF="../../../java/lang/String.html">String</A> eventSetName, <A HREF="../../../java/lang/Class.html">Class</A> listenerType, <A HREF="../../../java/lang/String.html">String</A> listenerMethodName)</CODE><BR> This constructor creates an EventSetDescriptor assuming that you are following the most simple standard design pattern where a named event "fred" is (1) delivered as a call on the single method of interface FredListener, (2) has a single argument of type FredEvent, and (3) where the FredListener may be registered with a call on an addFredListener method of the source component and removed with a call on a removeFredListener method.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/beans/EventSetDescriptor.html#EventSetDescriptor(java.lang.Class, java.lang.String, java.lang.Class, java.lang.String[], java.lang.String, java.lang.String)">EventSetDescriptor</A></B>(<A HREF="../../../java/lang/Class.html">Class</A> sourceClass, <A HREF="../../../java/lang/String.html">String</A> eventSetName, <A HREF="../../../java/lang/Class.html">Class</A> listenerType, <A HREF="../../../java/lang/String.html">String</A>[] listenerMethodNames, <A HREF="../../../java/lang/String.html">String</A> addListenerMethodName, <A HREF="../../../java/lang/String.html">String</A> removeListenerMethodName)</CODE><BR> This constructor creates an EventSetDescriptor from scratch using string names.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/beans/EventSetDescriptor.html#EventSetDescriptor(java.lang.String, java.lang.Class, java.lang.reflect.Method[], java.lang.reflect.Method, java.lang.reflect.Method)">EventSetDescriptor</A></B>(<A HREF="../../../java/lang/String.html">String</A> eventSetName, <A HREF="../../../java/lang/Class.html">Class</A> listenerType, <A HREF="../../../java/lang/reflect/Method.html">Method</A>[] listenerMethods, <A HREF="../../../java/lang/reflect/Method.html">Method</A> addListenerMethod, <A HREF="../../../java/lang/reflect/Method.html">Method</A> removeListenerMethod)</CODE><BR> This constructor creates an EventSetDescriptor from scratch using java.lang.reflect.Method and java.lang.Class objects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/beans/EventSetDescriptor.html#EventSetDescriptor(java.lang.String, java.lang.Class, java.beans.MethodDescriptor[], java.lang.reflect.Method, java.lang.reflect.Method)">EventSetDescriptor</A></B>(<A HREF="../../../java/lang/String.html">String</A> eventSetName, <A HREF="../../../java/lang/Class.html">Class</A> listenerType, <A HREF="../../../java/beans/MethodDescriptor.html">MethodDescriptor</A>[] listenerMethodDescriptors, <A HREF="../../../java/lang/reflect/Method.html">Method</A> addListenerMethod, <A HREF="../../../java/lang/reflect/Method.html">Method</A> removeListenerMethod)</CODE><BR> This constructor creates an EventSetDescriptor from scratch using java.lang.reflect.MethodDescriptor and java.lang.Class objects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/beans/BeanDescriptor.html#BeanDescriptor(java.lang.Class)">BeanDescriptor</A></B>(<A HREF="../../../java/lang/Class.html">Class</A> beanClass)</CODE><BR> Create a BeanDescriptor for a bean that doesn't have a customizer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/beans/BeanDescriptor.html#BeanDescriptor(java.lang.Class, java.lang.Class)">BeanDescriptor</A></B>(<A HREF="../../../java/lang/Class.html">Class</A> beanClass, <A HREF="../../../java/lang/Class.html">Class</A> customizerClass)</CODE><BR> Create a BeanDescriptor for a bean that has a customizer.</TD></TR></TABLE> <P><A NAME="java.beans.beancontext"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../java/lang/Class.html">Class</A> in <A HREF="../../../java/beans/beancontext/package-summary.html">java.beans.beancontext</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Fields in <A HREF="../../../java/beans/beancontext/package-summary.html">java.beans.beancontext</A> declared as <A HREF="../../../java/lang/Class.html">Class</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../java/lang/Class.html">Class</A></CODE></FONT></TD><TD><CODE><B>BeanContextServiceAvailableEvent.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServiceAvailableEvent.html#serviceClass">serviceClass</A></B></CODE><BR> A <code>Class</code> reference to the newly available service</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../java/lang/Class.html">Class</A></CODE></FONT></TD><TD><CODE><B>BeanContextServiceRevokedEvent.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServiceRevokedEvent.html#serviceClass">serviceClass</A></B></CODE><BR> A <code>Class</code> reference to the service that is being revoked.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../java/beans/beancontext/package-summary.html">java.beans.beancontext</A> that return <A HREF="../../../java/lang/Class.html">Class</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/lang/Class.html">Class</A></CODE></FONT></TD><TD><CODE><B>BeanContextServiceAvailableEvent.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServiceAvailableEvent.html#getServiceClass()">getServiceClass</A></B>()</CODE><BR> Gets the service class that is the subject of this notification.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/lang/Class.html">Class</A></CODE></FONT></TD><TD><CODE><B>BeanContextServiceRevokedEvent.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServiceRevokedEvent.html#getServiceClass()">getServiceClass</A></B>()</CODE><BR> Gets the service class that is the subject of this notification</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../java/beans/beancontext/package-summary.html">java.beans.beancontext</A> with parameters of type <A HREF="../../../java/lang/Class.html">Class</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>BeanContextServiceRevokedEvent.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServiceRevokedEvent.html#isServiceClass(java.lang.Class)">isServiceClass</A></B>(<A HREF="../../../java/lang/Class.html">Class</A> service)</CODE><BR> Checks this event to determine whether or not the service being revoked is of a particular class.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static boolean</CODE></FONT></TD><TD><CODE><B>BeanContextSupport.</B><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#classEquals(java.lang.Class, java.lang.Class)">classEquals</A></B>(<A HREF="../../../java/lang/Class.html">Class</A> first, <A HREF="../../../java/lang/Class.html">Class</A> second)</CODE><BR> Tests to see if two class objects, or their names are equal.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../java/beans/beancontext/BeanContextServicesSupport.BCSSServiceProvider.html">BeanContextServicesSupport.BCSSServiceProvider</A></CODE></FONT></TD><TD><CODE><B>BeanContextServicesSupport.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServicesSupport.html#createBCSSServiceProvider(java.lang.Class, java.beans.beancontext.BeanContextServiceProvider)">createBCSSServiceProvider</A></B>(<A HREF="../../../java/lang/Class.html">Class</A> sc, <A HREF="../../../java/beans/beancontext/BeanContextServiceProvider.html">BeanContextServiceProvider</A> bcsp)</CODE><BR> subclasses can override this method to create new subclasses of BCSSServiceProvider without having to overrride addService() in order to instantiate.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>BeanContextServicesSupport.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServicesSupport.html#addService(java.lang.Class, java.beans.beancontext.BeanContextServiceProvider)">addService</A></B>(<A HREF="../../../java/lang/Class.html">Class</A> serviceClass, <A HREF="../../../java/beans/beancontext/BeanContextServiceProvider.html">BeanContextServiceProvider</A> bcsp)</CODE><BR> add a service</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B>BeanContextServicesSupport.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServicesSupport.html#addService(java.lang.Class, java.beans.beancontext.BeanContextServiceProvider, boolean)">addService</A></B>(<A HREF="../../../java/lang/Class.html">Class</A> serviceClass, <A HREF="../../../java/beans/beancontext/BeanContextServiceProvider.html">BeanContextServiceProvider</A> bcsp, boolean fireEvent)</CODE><BR> add a service</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>BeanContextServicesSupport.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServicesSupport.html#revokeService(java.lang.Class, java.beans.beancontext.BeanContextServiceProvider, boolean)">revokeService</A></B>(<A HREF="../../../java/lang/Class.html">Class</A> serviceClass, <A HREF="../../../java/beans/beancontext/BeanContextServiceProvider.html">BeanContextServiceProvider</A> bcsp, boolean revokeCurrentServicesNow)</CODE><BR> remove a service</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>BeanContextServicesSupport.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServicesSupport.html#hasService(java.lang.Class)">hasService</A></B>(<A HREF="../../../java/lang/Class.html">Class</A> serviceClass)</CODE><BR> has a service, which may be delegated</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/lang/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B>BeanContextServicesSupport.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServicesSupport.html#getService(java.beans.beancontext.BeanContextChild, java.lang.Object, java.lang.Class, java.lang.Object, java.beans.beancontext.BeanContextServiceRevokedListener)">getService</A></B>(<A HREF="../../../java/beans/beancontext/BeanContextChild.html">BeanContextChild</A> child, <A HREF="../../../java/lang/Object.html">Object</A> requestor, <A HREF="../../../java/lang/Class.html">Class</A> serviceClass, <A HREF="../../../java/lang/Object.html">Object</A> serviceSelector, <A HREF="../../../java/beans/beancontext/BeanContextServiceRevokedListener.html">BeanContextServiceRevokedListener</A> bcsrl)</CODE><BR> obtain a service which may be delegated</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/util/Iterator.html">Iterator</A></CODE></FONT></TD><TD><CODE><B>BeanContextServicesSupport.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServicesSupport.html#getCurrentServiceSelectors(java.lang.Class)">getCurrentServiceSelectors</A></B>(<A HREF="../../../java/lang/Class.html">Class</A> serviceClass)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B>BeanContextServicesSupport.</B><B><A HREF="../../../java/beans/beancontext/BeanContextServicesSupport.html#fireServiceAdded(java.lang.Class)">fireServiceAdded</A></B>(<A HREF="../../../java/lang/Class.html">Class</A> serviceClass)</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -