|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.beans.SimpleBeanInfo
ARoad0.gBaseBeanInfo.BasicImplBeanInfo
public class BasicImplBeanInfo
This class is responsible for describing the BasicImpl class. It is used for displaying and editing the properties, to create it and to copy it.
Field Summary |
---|
Fields inherited from interface java.beans.BeanInfo |
---|
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
Constructor Summary | |
---|---|
BasicImplBeanInfo()
|
Method Summary | |
---|---|
java.lang.String |
getBaseBeanManagerBoundProperty()
Get the property name for which a change fires an PropertyChangeEvent in the BaseBeanManager, when the bean instance is closed or deleted. |
java.lang.reflect.Method |
getBaseBeanManagerGetMethod()
Get the bean method, without parameters, that allows to get the BaseBeanManager instance, if it exists, which fires an event when the bean instance is closed or deleted. |
BaseBeanManager |
getBaseBeanManagerInstance()
Get the instance, if it exists, which fires an event when the bean is closed or deleted. |
java.beans.BeanDescriptor |
getBeanDescriptor()
Gets the description of the bean. |
protected java.beans.BeanDescriptor |
getCommonBeanDescriptor(java.beans.BeanDescriptor _result)
Gets the common description of the bean. |
java.beans.PropertyDescriptor[] |
getPropertyDescriptors()
Each property descriptor has specific values that are get with PropertyDescriptor.getValue(). |
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 |
Methods inherited from interface java.beans.BeanInfo |
---|
getAdditionalBeanInfo, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors |
Constructor Detail |
---|
public BasicImplBeanInfo()
Method Detail |
---|
public java.beans.BeanDescriptor getBeanDescriptor()
getBeanDescriptor
in interface java.beans.BeanInfo
getBeanDescriptor
in class java.beans.SimpleBeanInfo
protected java.beans.BeanDescriptor getCommonBeanDescriptor(java.beans.BeanDescriptor _result)
_result
- is the BeanDescriptor to configure
public java.beans.PropertyDescriptor[] getPropertyDescriptors()
To update a property, there are 3 means, in this order:
- if it is not a single value, use the "choiceMethodForNew" value to add one value
- or, if it is not a single value, use the "addMethod" value to add one value and "removeMethod", for BaseObjects only,
- or, in any cases, use the write method in the property descriptor
getPropertyDescriptors
in interface java.beans.BeanInfo
getPropertyDescriptors
in class java.beans.SimpleBeanInfo
public BaseBeanManager getBaseBeanManagerInstance()
getBaseBeanManagerInstance
in interface BeanInfoPattern
public java.lang.reflect.Method getBaseBeanManagerGetMethod()
getBaseBeanManagerGetMethod
in interface BeanInfoPattern
public java.lang.String getBaseBeanManagerBoundProperty()
getBaseBeanManagerBoundProperty
in interface BeanInfoPattern
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |