⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<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>&nbsp;sourceClass,                   <A HREF="../../../java/lang/String.html">String</A>&nbsp;eventSetName,                   <A HREF="../../../java/lang/Class.html">Class</A>&nbsp;listenerType,                   <A HREF="../../../java/lang/String.html">String</A>&nbsp;listenerMethodName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;sourceClass,                   <A HREF="../../../java/lang/String.html">String</A>&nbsp;eventSetName,                   <A HREF="../../../java/lang/Class.html">Class</A>&nbsp;listenerType,                   <A HREF="../../../java/lang/String.html">String</A>[]&nbsp;listenerMethodNames,                   <A HREF="../../../java/lang/String.html">String</A>&nbsp;addListenerMethodName,                   <A HREF="../../../java/lang/String.html">String</A>&nbsp;removeListenerMethodName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;eventSetName,                   <A HREF="../../../java/lang/Class.html">Class</A>&nbsp;listenerType,                   <A HREF="../../../java/lang/reflect/Method.html">Method</A>[]&nbsp;listenerMethods,                   <A HREF="../../../java/lang/reflect/Method.html">Method</A>&nbsp;addListenerMethod,                   <A HREF="../../../java/lang/reflect/Method.html">Method</A>&nbsp;removeListenerMethod)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;eventSetName,                   <A HREF="../../../java/lang/Class.html">Class</A>&nbsp;listenerType,                   <A HREF="../../../java/beans/MethodDescriptor.html">MethodDescriptor</A>[]&nbsp;listenerMethodDescriptors,                   <A HREF="../../../java/lang/reflect/Method.html">Method</A>&nbsp;addListenerMethod,                   <A HREF="../../../java/lang/reflect/Method.html">Method</A>&nbsp;removeListenerMethod)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;beanClass)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;beanClass,               <A HREF="../../../java/lang/Class.html">Class</A>&nbsp;customizerClass)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a BeanDescriptor for a bean that has a customizer.</TD></TR></TABLE>&nbsp;<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>&nbsp;<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 &nbsp;<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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 &nbsp;<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <code>Class</code> reference to the service that is being revoked.</TD></TR></TABLE>&nbsp;<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>&nbsp;<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the service class that is the subject of this notification</TD></TR></TABLE>&nbsp;<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>&nbsp;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>&nbsp;service)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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>&nbsp;first,            <A HREF="../../../java/lang/Class.html">Class</A>&nbsp;second)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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 &nbsp;<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>&nbsp;sc,                          <A HREF="../../../java/beans/beancontext/BeanContextServiceProvider.html">BeanContextServiceProvider</A>&nbsp;bcsp)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;serviceClass,           <A HREF="../../../java/beans/beancontext/BeanContextServiceProvider.html">BeanContextServiceProvider</A>&nbsp;bcsp)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;add a service</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;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>&nbsp;serviceClass,           <A HREF="../../../java/beans/beancontext/BeanContextServiceProvider.html">BeanContextServiceProvider</A>&nbsp;bcsp,           boolean&nbsp;fireEvent)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;add a service</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;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>&nbsp;serviceClass,              <A HREF="../../../java/beans/beancontext/BeanContextServiceProvider.html">BeanContextServiceProvider</A>&nbsp;bcsp,              boolean&nbsp;revokeCurrentServicesNow)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;remove a service</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;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>&nbsp;serviceClass)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;child,           <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;requestor,           <A HREF="../../../java/lang/Class.html">Class</A>&nbsp;serviceClass,           <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;serviceSelector,           <A HREF="../../../java/beans/beancontext/BeanContextServiceRevokedListener.html">BeanContextServiceRevokedListener</A>&nbsp;bcsrl)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;serviceClass)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;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>&nbsp;serviceClass)</CODE>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -