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

📄 featuredescriptor.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="FeatureDescriptor()"><!-- --></A><H3>FeatureDescriptor</H3><PRE>public <B>FeatureDescriptor</B>()</PRE><DL><DD>Constructs a <code>FeatureDescriptor</code>.</DL><!-- ============ 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="getName()"><!-- --></A><H3>getName</H3><PRE>public <A HREF="../../java/lang/String.html">String</A> <B>getName</B>()</PRE><DL><DD>Gets the programmatic name of this feature.<DD><DL><DT><B>Returns:</B><DD>The programmatic name of the property/method/event</DL></DD></DL><HR><A NAME="setName(java.lang.String)"><!-- --></A><H3>setName</H3><PRE>public void <B>setName</B>(<A HREF="../../java/lang/String.html">String</A>&nbsp;name)</PRE><DL><DD>Sets the programmatic name of this feature.<DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The programmatic name of the property/method/event</DL></DD></DL><HR><A NAME="getDisplayName()"><!-- --></A><H3>getDisplayName</H3><PRE>public <A HREF="../../java/lang/String.html">String</A> <B>getDisplayName</B>()</PRE><DL><DD>Gets the localized display name of this feature.<DD><DL><DT><B>Returns:</B><DD>The localized display name for the property/method/event.	This defaults to the same as its programmatic name from getName.</DL></DD></DL><HR><A NAME="setDisplayName(java.lang.String)"><!-- --></A><H3>setDisplayName</H3><PRE>public void <B>setDisplayName</B>(<A HREF="../../java/lang/String.html">String</A>&nbsp;displayName)</PRE><DL><DD>Sets the localized display name of this feature.<DD><DL><DT><B>Parameters:</B><DD><CODE>displayName</CODE> - The localized display name for the		property/method/event.</DL></DD></DL><HR><A NAME="isExpert()"><!-- --></A><H3>isExpert</H3><PRE>public boolean <B>isExpert</B>()</PRE><DL><DD>The "expert" flag is used to distinguish between those features that are intended for expert users from those that are intended for normal users.<DD><DL><DT><B>Returns:</B><DD>True if this feature is intended for use by experts only.</DL></DD></DL><HR><A NAME="setExpert(boolean)"><!-- --></A><H3>setExpert</H3><PRE>public void <B>setExpert</B>(boolean&nbsp;expert)</PRE><DL><DD>The "expert" flag is used to distinguish between features that are intended for expert users from those that are intended for normal users.<DD><DL><DT><B>Parameters:</B><DD><CODE>expert</CODE> - True if this feature is intended for use by experts only.</DL></DD></DL><HR><A NAME="isHidden()"><!-- --></A><H3>isHidden</H3><PRE>public boolean <B>isHidden</B>()</PRE><DL><DD>The "hidden" flag is used to identify features that are intended only for tool use, and which should not be exposed to humans.<DD><DL><DT><B>Returns:</B><DD>True if this feature should be hidden from human users.</DL></DD></DL><HR><A NAME="setHidden(boolean)"><!-- --></A><H3>setHidden</H3><PRE>public void <B>setHidden</B>(boolean&nbsp;hidden)</PRE><DL><DD>The "hidden" flag is used to identify features that are intended only for tool use, and which should not be exposed to humans.<DD><DL><DT><B>Parameters:</B><DD><CODE>hidden</CODE> - True if this feature should be hidden from human users.</DL></DD></DL><HR><A NAME="isPreferred()"><!-- --></A><H3>isPreferred</H3><PRE>public boolean <B>isPreferred</B>()</PRE><DL><DD>The "preferred" flag is used to identify features that are particularly important for presenting to humans.<DD><DL><DT><B>Returns:</B><DD>True if this feature should be preferentially shown to human users.</DL></DD></DL><HR><A NAME="setPreferred(boolean)"><!-- --></A><H3>setPreferred</H3><PRE>public void <B>setPreferred</B>(boolean&nbsp;preferred)</PRE><DL><DD>The "preferred" flag is used to identify features that are particularly important for presenting to humans.<DD><DL><DT><B>Parameters:</B><DD><CODE>preferred</CODE> - True if this feature should be preferentially shown		    	 to human users.</DL></DD></DL><HR><A NAME="getShortDescription()"><!-- --></A><H3>getShortDescription</H3><PRE>public <A HREF="../../java/lang/String.html">String</A> <B>getShortDescription</B>()</PRE><DL><DD>Gets the short description of this feature.<DD><DL><DT><B>Returns:</B><DD>A localized short description associated with this    property/method/event.  This defaults to be the display name.</DL></DD></DL><HR><A NAME="setShortDescription(java.lang.String)"><!-- --></A><H3>setShortDescription</H3><PRE>public void <B>setShortDescription</B>(<A HREF="../../java/lang/String.html">String</A>&nbsp;text)</PRE><DL><DD>You can associate a short descriptive string with a feature.  Normally these descriptive strings should be less than about 40 characters.<DD><DL><DT><B>Parameters:</B><DD><CODE>text</CODE> - A (localized) short description to be associated with this property/method/event.</DL></DD></DL><HR><A NAME="setValue(java.lang.String, java.lang.Object)"><!-- --></A><H3>setValue</H3><PRE>public void <B>setValue</B>(<A HREF="../../java/lang/String.html">String</A>&nbsp;attributeName,                     <A HREF="../../java/lang/Object.html">Object</A>&nbsp;value)</PRE><DL><DD>Associate a named attribute with this feature.<DD><DL><DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - The locale-independent name of the attribute<DD><CODE>value</CODE> - The value.</DL></DD></DL><HR><A NAME="getValue(java.lang.String)"><!-- --></A><H3>getValue</H3><PRE>public <A HREF="../../java/lang/Object.html">Object</A> <B>getValue</B>(<A HREF="../../java/lang/String.html">String</A>&nbsp;attributeName)</PRE><DL><DD>Retrieve a named attribute with this feature.<DD><DL><DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - The locale-independent name of the attribute<DT><B>Returns:</B><DD>The value of the attribute.  May be null if	   the attribute is unknown.</DL></DD></DL><HR><A NAME="attributeNames()"><!-- --></A><H3>attributeNames</H3><PRE>public <A HREF="../../java/util/Enumeration.html">Enumeration</A> <B>attributeNames</B>()</PRE><DL><DD>Gets an enumeration of the locale-independent names of this feature.<DD><DL><DT><B>Returns:</B><DD>An enumeration of the locale-independent names of any     attributes that have been registered with setValue.</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/FeatureDescriptor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Std.&nbsp;Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../java/beans/EventSetDescriptor.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../java/beans/IndexedPropertyDescriptor.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>  &nbsp;&nbsp;<A HREF="FeatureDescriptor.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -