ARoad0.gBaseBeanInfo
Class ACSpreFactoryImplBeanInfo

java.lang.Object
  extended by java.beans.SimpleBeanInfo
      extended by ARoad0.gBaseBeanInfo.ACSpreFactoryImplBeanInfo
All Implemented Interfaces:
BeanInfoPattern, java.beans.BeanInfo

public class ACSpreFactoryImplBeanInfo
extends java.beans.SimpleBeanInfo
implements BeanInfoPattern

This class is responsible for editing the first properties of a ACSFactoryImpl instance. It is used for the first properties which have to be set first. These properties include mainly the ACS rights in this generic version. For an AcsAddon, this class may be subclassed to edit some AcsAddon properties. Otherwise, this generic class is selected in the creation process of the AcsAddon ACS. gDMak.ActionNewACSyst uses ACSFactoryImplBeanInfo for editing most of the new ACS properties, after the call to this class or its subclass.


Field Summary
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
ACSpreFactoryImplBeanInfo()
           
 
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.
 java.beans.PropertyDescriptor[] getPropertyDescriptors()
          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.
 
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

ACSpreFactoryImplBeanInfo

public ACSpreFactoryImplBeanInfo()
Method Detail

getBeanDescriptor

public java.beans.BeanDescriptor getBeanDescriptor()
Gets 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(): - 'withTabbedPanes' is true (Boolean value) since several tabbed panes are necessary to display all the panels (property, value) of ACSImpl

Specified by:
getBeanDescriptor in interface java.beans.BeanInfo
Overrides:
getBeanDescriptor in class java.beans.SimpleBeanInfo
Returns:
the bean descriptor

getPropertyDescriptors

public java.beans.PropertyDescriptor[] getPropertyDescriptors()
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 java.beans.SimpleBeanInfo
Returns:
array of property descriptors

getBaseBeanManagerInstance

public BaseBeanManager getBaseBeanManagerInstance()
Get the instance, if it exists, which fires an event when the bean is closed or deleted. No used here.

Specified by:
getBaseBeanManagerInstance in interface BeanInfoPattern
Returns:
a BaseManager object.

getBaseBeanManagerGetMethod

public 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.

Specified by:
getBaseBeanManagerGetMethod in interface BeanInfoPattern
Returns:
null

getBaseBeanManagerBoundProperty

public 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.

Specified by:
getBaseBeanManagerBoundProperty in interface BeanInfoPattern
Returns:
"openACS"