|
ElegantJ PDF Library Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.SimpleBeanInfo
com.elegantj.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().
| Field Summary |
| 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 |
java.awt.Image |
getIcon(int iconKind)
This method returns an image object that can be used to represent the bean in toolboxes, toolbars, etc. |
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 |
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, 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 properties
protected final java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.String strProperty)
strProperty - the name of the property
protected final java.beans.IndexedPropertyDescriptor getIndexedPropertyDescriptor(java.lang.String strProperty)
strProperty - the name of the property
protected final java.beans.PropertyDescriptor getReadOnlyPropertyDescriptor(java.lang.String strProperty)
strProperty - the name of the property
protected final java.beans.PropertyDescriptor getWriteOnlyPropertyDescriptor(java.lang.String strProperty)
strProperty - the name of the property
public java.beans.PropertyDescriptor[] getPropertyDescriptors()
public abstract java.beans.BeanDescriptor getBeanDescriptor()
public java.awt.Image getIcon(int iconKind)
iconKind - - 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.
|
ElegantJ PDF Library Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||