<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class java.beans.FeatureDescriptor
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.beans.html">This Package</a>  <a href="java.beans.EventSetDescriptor.html#_top_">Previous</a>  <a href="java.beans.IndexedPropertyDescriptor.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.beans.FeatureDescriptor
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----java.beans.FeatureDescriptor
</pre>
<hr>
<dl>
  <dt> public class <b>FeatureDescriptor</b>
  <dt> extends <a href="java.lang.Object.html#_top_">Object</a>
</dl>
The FeatureDescriptor class is the common baseclass for PropertyDescriptor,
 EventSetDescriptor, and MethodDescriptor, etc.
 <p>
 It supports some common information that can be set and retrieved for
 any of the introspection descriptors.
 <p>
 In addition it provides an extension mechanism so that arbitrary
 attribute/value pairs can be associated with a design feature.
<p>
<hr>
<a name="index"></a>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#FeatureDescriptor()"><b>FeatureDescriptor</b></a>()
  <dd> 
</dl>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#attributeNames()"><b>attributeNames</b></a>()
  <dd>  
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getDisplayName()"><b>getDisplayName</b></a>()
  <dd>  
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getName()"><b>getName</b></a>()
  <dd>  
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getShortDescription()"><b>getShortDescription</b></a>()
  <dd>  
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getValue(java.lang.String)"><b>getValue</b></a>(String)
  <dd>  Retrieve a named attribute with this feature.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#isExpert()"><b>isExpert</b></a>()
  <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.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#isHidden()"><b>isHidden</b></a>()
  <dd>  The "hidden" flag is used to identify features that are intended only
 for tool use, and which should not be exposed to humans.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setDisplayName(java.lang.String)"><b>setDisplayName</b></a>(String)
  <dd>  
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setExpert(boolean)"><b>setExpert</b></a>(boolean)
  <dd>  The "expert" flag is used to distinguish between features that are
 intended for expert users from those that are intended for normal users.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setHidden(boolean)"><b>setHidden</b></a>(boolean)
  <dd>  The "hidden" flag is used to identify features that are intended only
 for tool use, and which should not be exposed to humans.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setName(java.lang.String)"><b>setName</b></a>(String)
  <dd>  
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setShortDescription(java.lang.String)"><b>setShortDescription</b></a>(String)
  <dd>  You can associate a short descriptive string with a feature.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setValue(java.lang.String, java.lang.Object)"><b>setValue</b></a>(String, Object)
  <dd>  Associate a named attribute with this feature.
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="FeatureDescriptor"></a>
<a name="FeatureDescriptor()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>FeatureDescriptor</b>
<pre>
 public FeatureDescriptor()
</pre>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="getName()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getName"><b>getName</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> getName()
</pre>
<dl>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> The programmatic name of the property/method/event
  </dl></dd>
</dl>
<a name="setName(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setName"><b>setName</b></a>
<pre>
 public void setName(<a href="java.lang.String.html#_top_">String</a> name)
</pre>
<dl>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> name - The programmatic name of the property/method/event
  </dl></dd>
</dl>
<a name="getDisplayName()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getDisplayName"><b>getDisplayName</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> getDisplayName()
</pre>
<dl>
  <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>
<a name="setDisplayName(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setDisplayName"><b>setDisplayName</b></a>
<pre>
 public void setDisplayName(<a href="java.lang.String.html#_top_">String</a> displayName)
</pre>
<dl>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> displayName - The localized display name for the
		property/method/event.
  </dl></dd>
</dl>
<a name="isExpert()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="isExpert"><b>isExpert</b></a>
<pre>
 public boolean isExpert()
</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.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> True if this feature is intended for use by experts only.
  </dl></dd>
</dl>
<a name="setExpert(boolean)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setExpert"><b>setExpert</b></a>
<pre>
 public void setExpert(boolean 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.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> expert - True if this feature is intended for use by experts only.
  </dl></dd>
</dl>
<a name="isHidden()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="isHidden"><b>isHidden</b></a>
<pre>
 public boolean isHidden()
</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.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> True if this feature should be hidden from human users.
  </dl></dd>
</dl>
<a name="setHidden(boolean)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setHidden"><b>setHidden</b></a>
<pre>
 public void setHidden(boolean 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.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> hidden - True if this feature should be hidden from human users.
  </dl></dd>
</dl>
<a name="getShortDescription()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getShortDescription"><b>getShortDescription</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> getShortDescription()
</pre>
<dl>
  <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>
<a name="setShortDescription(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setShortDescription"><b>setShortDescription</b></a>
<pre>
 public void setShortDescription(<a href="java.lang.String.html#_top_">String</a> 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.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> text - A (localized) short description to be associated with
 this property/method/event.
  </dl></dd>
</dl>
<a name="setValue(java.lang.String, java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setValue"><b>setValue</b></a>
<pre>
 public void setValue(<a href="java.lang.String.html#_top_">String</a> attributeName,
                      <a href="java.lang.Object.html#_top_">Object</a> value)
</pre>
<dl>
  <dd> Associate a named attribute with this feature.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> attributeName - The locale-independent name of the attribute
    <dd> value - The value.
  </dl></dd>
</dl>
<a name="getValue(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getValue"><b>getValue</b></a>
<pre>
 public <a href="java.lang.Object.html#_top_">Object</a> getValue(<a href="java.lang.String.html#_top_">String</a> attributeName)
</pre>
<dl>
  <dd> Retrieve a named attribute with this feature.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> attributeName - 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>
<a name="attributeNames()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="attributeNames"><b>attributeNames</b></a>
<pre>
 public <a href="java.util.Enumeration.html#_top_">Enumeration</a> attributeNames()
</pre>
<dl>
  <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>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.beans.html">This Package</a>  <a href="java.beans.EventSetDescriptor.html#_top_">Previous</a>  <a href="java.beans.IndexedPropertyDescriptor.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
