📄 simplebeaninfo.html
字号:
<!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getBeanDescriptor()"><!-- --></A><H3>getBeanDescriptor</H3><PRE>public <A HREF="../../java/beans/BeanDescriptor.html">BeanDescriptor</A> <B>getBeanDescriptor</B>()</PRE><DL><DD>Deny knowledge about the class and customizer of the bean. You can override this if you wish to provide explicit info.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../java/beans/BeanInfo.html#getBeanDescriptor()">getBeanDescriptor</A></CODE> in interface <CODE><A HREF="../../java/beans/BeanInfo.html">BeanInfo</A></CODE></DL></DD><DD>Following copied from interface: <CODE>java.beans.BeanInfo</CODE></DD><DD><DL><DT><B>Returns:</B><DD>A BeanDescriptor providing overall information about the bean, such as its displayName, its customizer, etc. May return null if the information should be obtained by automatic analysis.</DL></DD></DL><HR><A NAME="getPropertyDescriptors()"><!-- --></A><H3>getPropertyDescriptors</H3><PRE>public <A HREF="../../java/beans/PropertyDescriptor.html">PropertyDescriptor</A>[] <B>getPropertyDescriptors</B>()</PRE><DL><DD>Deny knowledge of properties. You can override this if you wish to provide explicit property info.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../java/beans/BeanInfo.html#getPropertyDescriptors()">getPropertyDescriptors</A></CODE> in interface <CODE><A HREF="../../java/beans/BeanInfo.html">BeanInfo</A></CODE></DL></DD><DD>Following copied from interface: <CODE>java.beans.BeanInfo</CODE></DD><DD><DL><DT><B>Returns:</B><DD>An array of PropertyDescriptors describing the editable properties supported by this bean. May return null if the information should be obtained by automatic analysis. <p> If a property is indexed, then its entry in the result array will belong to the IndexedPropertyDescriptor subclass of PropertyDescriptor. A client of getPropertyDescriptors can use "instanceof" to check if a given PropertyDescriptor is an IndexedPropertyDescriptor.</DL></DD></DL><HR><A NAME="getDefaultPropertyIndex()"><!-- --></A><H3>getDefaultPropertyIndex</H3><PRE>public int <B>getDefaultPropertyIndex</B>()</PRE><DL><DD>Deny knowledge of a default property. You can override this if you wish to define a default property for the bean.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../java/beans/BeanInfo.html#getDefaultPropertyIndex()">getDefaultPropertyIndex</A></CODE> in interface <CODE><A HREF="../../java/beans/BeanInfo.html">BeanInfo</A></CODE></DL></DD><DD>Following copied from interface: <CODE>java.beans.BeanInfo</CODE></DD><DD><DL><DT><B>Returns:</B><DD>Index of default property in the PropertyDescriptor array returned by getPropertyDescriptors. <P> Returns -1 if there is no default property.</DL></DD></DL><HR><A NAME="getEventSetDescriptors()"><!-- --></A><H3>getEventSetDescriptors</H3><PRE>public <A HREF="../../java/beans/EventSetDescriptor.html">EventSetDescriptor</A>[] <B>getEventSetDescriptors</B>()</PRE><DL><DD>Deny knowledge of event sets. You can override this if you wish to provide explicit event set info.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../java/beans/BeanInfo.html#getEventSetDescriptors()">getEventSetDescriptors</A></CODE> in interface <CODE><A HREF="../../java/beans/BeanInfo.html">BeanInfo</A></CODE></DL></DD><DD>Following copied from interface: <CODE>java.beans.BeanInfo</CODE></DD><DD><DL><DT><B>Returns:</B><DD>An array of EventSetDescriptors describing the kinds of events fired by this bean. May return null if the information should be obtained by automatic analysis.</DL></DD></DL><HR><A NAME="getDefaultEventIndex()"><!-- --></A><H3>getDefaultEventIndex</H3><PRE>public int <B>getDefaultEventIndex</B>()</PRE><DL><DD>Deny knowledge of a default event. You can override this if you wish to define a default event for the bean.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../java/beans/BeanInfo.html#getDefaultEventIndex()">getDefaultEventIndex</A></CODE> in interface <CODE><A HREF="../../java/beans/BeanInfo.html">BeanInfo</A></CODE></DL></DD><DD>Following copied from interface: <CODE>java.beans.BeanInfo</CODE></DD><DD><DL><DT><B>Returns:</B><DD>Index of default event in the EventSetDescriptor array returned by getEventSetDescriptors. <P> Returns -1 if there is no default event.</DL></DD></DL><HR><A NAME="getMethodDescriptors()"><!-- --></A><H3>getMethodDescriptors</H3><PRE>public <A HREF="../../java/beans/MethodDescriptor.html">MethodDescriptor</A>[] <B>getMethodDescriptors</B>()</PRE><DL><DD>Deny knowledge of methods. You can override this if you wish to provide explicit method info.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../java/beans/BeanInfo.html#getMethodDescriptors()">getMethodDescriptors</A></CODE> in interface <CODE><A HREF="../../java/beans/BeanInfo.html">BeanInfo</A></CODE></DL></DD><DD>Following copied from interface: <CODE>java.beans.BeanInfo</CODE></DD><DD><DL><DT><B>Returns:</B><DD>An array of MethodDescriptors describing the externally visible methods supported by this bean. May return null if the information should be obtained by automatic analysis.</DL></DD></DL><HR><A NAME="getAdditionalBeanInfo()"><!-- --></A><H3>getAdditionalBeanInfo</H3><PRE>public <A HREF="../../java/beans/BeanInfo.html">BeanInfo</A>[] <B>getAdditionalBeanInfo</B>()</PRE><DL><DD>Claim there are no other relevant BeanInfo objects. You may override this if you want to (for example) return a BeanInfo for a base class.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../java/beans/BeanInfo.html#getAdditionalBeanInfo()">getAdditionalBeanInfo</A></CODE> in interface <CODE><A HREF="../../java/beans/BeanInfo.html">BeanInfo</A></CODE></DL></DD><DD>Following copied from interface: <CODE>java.beans.BeanInfo</CODE></DD><DD><DL><DT><B>Returns:</B><DD>an array of BeanInfo objects. May return null.</DL></DD></DL><HR><A NAME="getIcon(int)"><!-- --></A><H3>getIcon</H3><PRE>public <A HREF="../../java/awt/Image.html">Image</A> <B>getIcon</B>(int iconKind)</PRE><DL><DD>Claim there are no icons available. You can override this if you want to provide icons for your bean.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../java/beans/BeanInfo.html#getIcon(int)">getIcon</A></CODE> in interface <CODE><A HREF="../../java/beans/BeanInfo.html">BeanInfo</A></CODE></DL></DD><DD>Following copied from interface: <CODE>java.beans.BeanInfo</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>iconKind</CODE> - The kind of icon requested. This should be one of the constant values ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, or ICON_MONO_32x32.<DT><B>Returns:</B><DD>An image object representing the requested icon. May return null if no suitable icon is available.</DL></DD></DL><HR><A NAME="loadImage(java.lang.String)"><!-- --></A><H3>loadImage</H3><PRE>public <A HREF="../../java/awt/Image.html">Image</A> <B>loadImage</B>(<A HREF="../../java/lang/String.html">String</A> resourceName)</PRE><DL><DD>This is a utility method to help in loading icon images. It takes the name of a resource file associated with the current object's class file and loads an image object from that file. Typically images will be GIFs. <p><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>resourceName</CODE> - A pathname relative to the directory holding the class file of the current class. For example, "wombat.gif".<DT><B>Returns:</B><DD>an image object. May be null if the load failed.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SimpleBeanInfo.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../java/beans/PropertyEditorSupport.html"><B>PREV CLASS</B></A> <A HREF="../../java/beans/VetoableChangeSupport.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="SimpleBeanInfo.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A. All Rights Reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -