ARoad0.gBaseBeanInfo
Class GroupIDImplBeanInfo
java.lang.Object
java.beans.SimpleBeanInfo
ARoad0.gBaseBeanInfo.BasicImplBeanInfo
ARoad0.gBaseBeanInfo.EligiblePartyImplBeanInfo
ARoad0.gBaseBeanInfo.GroupIDMemberImplBeanInfo
ARoad0.gBaseBeanInfo.GroupIDImplBeanInfo
- All Implemented Interfaces:
- BeanInfoPattern, java.beans.BeanInfo
- Direct Known Subclasses:
- GroupIDMySQLImplBeanInfo
public class GroupIDImplBeanInfo
- extends GroupIDMemberImplBeanInfo
This class is responsible for describing the GroupIDImpl class.
It is used for guiding the displaying and the editing of the properties
of GroupIDImpl, by the Gui1 classes as CommonPropertyEditor and BaseObjectCreator.
- Since:
- 0.5.1
Fields inherited from interface java.beans.BeanInfo |
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
Method Summary |
java.beans.BeanDescriptor |
getBeanDescriptor()
Get the description of the bean. |
java.beans.PropertyDescriptor[] |
getPropertyDescriptors()
Return the property descriptors for all the super class and for this class. |
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 |
GroupIDImplBeanInfo
public GroupIDImplBeanInfo()
- Single constructor
getBeanDescriptor
public java.beans.BeanDescriptor getBeanDescriptor()
- Get the description of the bean.
Some standard values are set:
- 'hidden' is false since the bean is not hidden to the users
- 'expert' is false since the bean is not reserved to experts
Specific values are set in the descriptor. They are get
with BeanDescriptor.getValue().
Used by Gui1.BaseObjectCreator for the GroupIDImpl constructor:
- 'constrArgumentClasses' is a Class array of the argument classes.
- 'constrArgumentPropertyNames' is the list of property names.
A name is null if it is not a property. Then, it is selected in the explorer.
A name may be from a super class.
- 'constrArgumentFromSelect' is the list of cases
where the argument is selected by the user in the explorer.
- 'constrArgumentConcatenedNameSource' indicates, when an argument
is entered by the user as a relative name
which has then to be concatenate to another constructor argument,
what is this another argument which provides the first part of the name.
In this case, the relative name is always at the end,
and the number of the another argument is get as an Integer
following the order of 'constrArgumentClasses'.
If the another argument is not a name, it must be a BaseObject,
and so the relevant name is get through the method getName().
- Specified by:
getBeanDescriptor
in interface java.beans.BeanInfo
- Overrides:
getBeanDescriptor
in class GroupIDMemberImplBeanInfo
- Returns:
- the bean descriptor
getPropertyDescriptors
public java.beans.PropertyDescriptor[] getPropertyDescriptors()
- Return the property descriptors for all the super class and for this class.
Each property descriptor has specific values that are get
with PropertyDescriptor.getValue():
- 'tabbedPaneName' is the name (String value) of the pane
where this property has to be displayed in the beamer.
Is "" if 'withTabbedPanes' is false in the BeanDescriptor.
- 'panelGroupName' is the name (String value) of the group
where this property has to be displayed with other related properties.
May be "".
- Specified by:
getPropertyDescriptors
in interface java.beans.BeanInfo
- Overrides:
getPropertyDescriptors
in class GroupIDMemberImplBeanInfo
- Returns:
- array of property descriptors