|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--java.beans.SimpleBeanInfo
|
+--com.elj.beaninfo.awt.SimpleBeanInfo
Simple BeanInfo Abstract class provides the utility methods to set/get the properties. It's subclass should override the methods : getPropertyDescriptors(), getBeanDescriptor().
| Fields inherited from interface java.beans.BeanInfo |
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
| Constructor Summary | |
SimpleBeanInfo()
|
|
| Method Summary | |
java.beans.PropertyDescriptor[] |
add(java.beans.PropertyDescriptor[] array1,
java.beans.PropertyDescriptor[] array2)
Adds the property descriptors array. |
abstract java.beans.BeanDescriptor |
getBeanDescriptor()
Denies knowledge about the class and customizer of the bean |
protected java.beans.IndexedPropertyDescriptor |
getIndexedPropertyDescriptor(java.lang.String strProperty)
Gets the indexed property descriptor with specified property name |
java.beans.PropertyDescriptor |
getPropertyDescriptor(java.beans.PropertyDescriptor[] array,
java.lang.String propName)
Gets the property descriptor from the array by specified property name. |
protected java.beans.PropertyDescriptor |
getPropertyDescriptor(java.lang.String strProperty)
Gets the property descriptor with specified property name |
abstract java.beans.PropertyDescriptor[] |
getPropertyDescriptors()
Denies knowledge of properties. |
protected java.beans.PropertyDescriptor |
getReadOnlyPropertyDescriptor(java.lang.String strProperty)
Gets the read only property descriptor with specified property name |
protected java.beans.PropertyDescriptor |
getWriteOnlyPropertyDescriptor(java.lang.String strProperty)
Gets the write only property descriptor with specified property name |
java.beans.PropertyDescriptor[] |
removePropertyDescriptor(java.beans.PropertyDescriptor[] array,
java.lang.String propName)
Removes the property descriptor from the array by specified property name. |
java.beans.PropertyDescriptor[] |
removePropertyDescriptors(java.beans.PropertyDescriptor[] array,
java.lang.String[] propNames)
Removes the property descriptors from the array by specified property names. |
| Methods inherited from class java.beans.SimpleBeanInfo |
getAdditionalBeanInfo, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, loadImage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleBeanInfo()
| Method Detail |
public java.beans.PropertyDescriptor[] add(java.beans.PropertyDescriptor[] array1,
java.beans.PropertyDescriptor[] array2)
array1 - the array of property descriptorarray2 - the array of property descriptor
public java.beans.PropertyDescriptor getPropertyDescriptor(java.beans.PropertyDescriptor[] array,
java.lang.String propName)
array - the array of property descriptorpropName - the name of the property
public java.beans.PropertyDescriptor[] removePropertyDescriptor(java.beans.PropertyDescriptor[] array,
java.lang.String propName)
array - the array of property descriptorpropName - the name of the property
public java.beans.PropertyDescriptor[] removePropertyDescriptors(java.beans.PropertyDescriptor[] array,
java.lang.String[] propNames)
array - the array of property descriptorpropNames - the names of the propertiesprotected final java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.String strProperty)
strProperty - the name of the propertyprotected final java.beans.IndexedPropertyDescriptor getIndexedPropertyDescriptor(java.lang.String strProperty)
strProperty - the name of the propertyprotected final java.beans.PropertyDescriptor getReadOnlyPropertyDescriptor(java.lang.String strProperty)
strProperty - the name of the propertyprotected final java.beans.PropertyDescriptor getWriteOnlyPropertyDescriptor(java.lang.String strProperty)
strProperty - the name of the propertypublic abstract java.beans.PropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors in class java.beans.SimpleBeanInfopublic abstract java.beans.BeanDescriptor getBeanDescriptor()
getBeanDescriptor in class java.beans.SimpleBeanInfo
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||