API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.beans. IndexedPropertyDescriptor View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      FeatureDescriptor
          PropertyDescriptor
              IndexedPropertyDescriptor
Implements
Subclasses
Description
public class IndexedPropertyDescriptor
  An IndexedPropertyDescriptor describes a property that acts like an array and has an indexed read and/or indexed write method to access specific elements of the array.
See also:   
Constructors
pack-private IndexedPropertyDescriptor (IndexedPropertyDescriptor old)
pack-private IndexedPropertyDescriptor (PropertyDescriptor x, PropertyDescriptor y)
  Package-private constructor.
public IndexedPropertyDescriptor (String propertyName, Class<Object> beanClass) throws IntrospectionException
  This constructor constructs an IndexedPropertyDescriptor for a property that follows the standard Java conventions by having getFoo and setFoo accessor methods, for both indexed access and array access.
public IndexedPropertyDescriptor (String propertyName, Class<Object> beanClass, String readMethodName, String writeMethodName, String indexedReadMethodName, String indexedWriteMethodName) throws IntrospectionException
  This constructor takes the name of a simple property, and method names for reading and writing the property, both indexed and non-indexed.
public IndexedPropertyDescriptor (String propertyName, Method readMethod, Method writeMethod, Method indexedReadMethod, Method indexedWriteMethod) throws IntrospectionException
  This constructor takes the name of a simple property, and Method objects for reading and writing the property.
Methods
Hide/Show inherited methods
public Enumeration<String> attributeNames () [Inherited From FeatureDescriptor]
  Gets an enumeration of the locale-independent names of this feature.
pack-privatestatic String capitalize (String s) [Inherited From FeatureDescriptor]
pack-private boolean compareMethods (Method a, Method b) [Inherited From PropertyDescriptor]
  Package private helper method for Descriptor .equals methods.
public PropertyEditor createPropertyEditor (Object bean) [Inherited From PropertyDescriptor]
  Constructs an instance of a property editor using the current property editor class.
pack-privatestatic Reference createReference (Object obj) [Inherited From FeatureDescriptor]
pack-privatestatic Reference createReference (Object obj, boolean soft) [Inherited From FeatureDescriptor]
  Create a Reference wrapper for the object.
public boolean equals (Object obj) [Overrides PropertyDescriptor]
  Compares this PropertyDescriptor against the specified object.
pack-private String getBaseName () [Inherited From PropertyDescriptor]
pack-private Class getClass0 () [Inherited From FeatureDescriptor]
public String getDisplayName () [Inherited From FeatureDescriptor]
  Gets the localized display name of this feature.
publicsynchronized Class<Object> getIndexedPropertyType ()
  Gets the Class object of the indexed properties' type.
publicsynchronized Method getIndexedReadMethod ()
  Gets the method that should be used to read an indexed property value.
publicsynchronized Method getIndexedWriteMethod ()
  Gets the method that should be used to write an indexed property value.
public String getName () [Inherited From FeatureDescriptor]
  Gets the programmatic name of this feature.
pack-privatestatic Object getObject (Reference ref) [Inherited From FeatureDescriptor]
  Returns an object from a Reference wrapper.
public Class<Object> getPropertyEditorClass () [Inherited From PropertyDescriptor]
  Gets any explicit PropertyEditor Class that has been registered for this property.
publicsynchronized Class<Object> getPropertyType () [Inherited From PropertyDescriptor]
  Gets the Class object for the property.
publicsynchronized Method getReadMethod () [Inherited From PropertyDescriptor]
  Gets the method that should be used to read the property value.
public String getShortDescription () [Inherited From FeatureDescriptor]
  Gets the short description of this feature.
public Object getValue (String attributeName) [Inherited From FeatureDescriptor]
  Retrieve a named attribute with this feature.
publicsynchronized Method getWriteMethod () [Inherited From PropertyDescriptor]
  Gets the method that should be used to write the property value.
public int hashCode () [Overrides PropertyDescriptor]
  Returns a hash code value for the object.
public boolean isBound () [Inherited From PropertyDescriptor]
  Updates to "bound" properties will cause a "PropertyChange" event to get fired when the property is changed.
public boolean isConstrained () [Inherited From PropertyDescriptor]
  Attempted updates to "Constrained" properties will cause a "VetoableChange" event to get fired when the property is changed.
public boolean isExpert () [Inherited From FeatureDescriptor]
  The "expert" flag is used to distinguish between those features that are intended for expert users from those that are intended for normal users.
public boolean isHidden () [Inherited From FeatureDescriptor]
  The "hidden" flag is used to identify features that are intended only for tool use, and which should not be exposed to humans.
public boolean isPreferred () [Inherited From FeatureDescriptor]
  The "preferred" flag is used to identify features that are particularly important for presenting to humans.
public void setBound (boolean bound) [Inherited From PropertyDescriptor]
  Updates to "bound" properties will cause a "PropertyChange" event to get fired when the property is changed.
pack-private void setClass0 (Class clz) [Inherited From PropertyDescriptor]
Overridden to ensure that a super class doesn't take precedent
public void setConstrained (boolean constrained) [Inherited From PropertyDescriptor]
  Attempted updates to "Constrained" properties will cause a "VetoableChange" event to get fired when the property is changed.
public void setDisplayName (String displayName) [Inherited From FeatureDescriptor]
  Sets the localized display name of this feature.
public void setExpert (boolean expert) [Inherited From FeatureDescriptor]
  The "expert" flag is used to distinguish between features that are intended for expert users from those that are intended for normal users.
public void setHidden (boolean hidden) [Inherited From FeatureDescriptor]
  The "hidden" flag is used to identify features that are intended only for tool use, and which should not be exposed to humans.
publicsynchronized void setIndexedReadMethod (Method readMethod) throws IntrospectionException
  Sets the method that should be used to read an indexed property value.
publicsynchronized void setIndexedWriteMethod (Method writeMethod) throws IntrospectionException
  Sets the method that should be used to write an indexed property value.
public void setName (String name) [Inherited From FeatureDescriptor]
  Sets the programmatic name of this feature.
public void setPreferred (boolean preferred) [Inherited From FeatureDescriptor]
  The "preferred" flag is used to identify features that are particularly important for presenting to humans.
public void setPropertyEditorClass (Class<Object> propertyEditorClass) [Inherited From PropertyDescriptor]
  Normally PropertyEditors will be found using the PropertyEditorManager.
publicsynchronized void setReadMethod (Method readMethod) throws IntrospectionException [Inherited From PropertyDescriptor]
  Sets the method that should be used to read the property value.
public void setShortDescription (String text) [Inherited From FeatureDescriptor]
  You can associate a short descriptive string with a feature.
public void setValue (String attributeName, Object value) [Inherited From FeatureDescriptor]
  Associate a named attribute with this feature.
publicsynchronized void setWriteMethod (Method writeMethod) throws IntrospectionException [Inherited From PropertyDescriptor]
  Sets the method that should be used to write the property value.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar