ARoad0.gBaseBeanInfo
Class PrivilegeForLinksImplBeanInfo

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

public class PrivilegeForLinksImplBeanInfo
extends java.beans.SimpleBeanInfo
implements BeanInfoPattern

This class is responsible for describing the PrivilegeForLinksImpl class. It is used for displaying and editing the properties of PrivilegeForLinksImpl. The closing and deleting operations are managed by the resource which controls the PrivilegeForLinks, through the 'AclEntries' bound property. See the Copyright.


Field Summary
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
PrivilegeForLinksImplBeanInfo()
           
 
Method Summary
 java.lang.String getBaseBeanManagerBoundProperty()
          Gets the property name 'Privileges' for which a change fires an PropertyChangeEvent in the BaseBeanManager, when the bean instance is closed or deleted.
 java.lang.reflect.Method getBaseBeanManagerGetMethod()
          Gets the bean method, without parameters, that allows to get the BaseBeanManager instance, that is the ACS here, which fires an event when the PrivilegeForLinks is closed or deleted.
 BaseBeanManager getBaseBeanManagerInstance()
          Gets 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().
 
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

PrivilegeForLinksImplBeanInfo

public PrivilegeForLinksImplBeanInfo()
Method Detail

getBeanDescriptor

public java.beans.BeanDescriptor getBeanDescriptor()
Gets the description of the bean. Specific values are set in the descriptor. They are get with BeanDescriptor.getValue(): - 'withTables' is true (Boolean value) since some properties have to be displayed in table(s), and not only in panels (property, value) - 'withTabbedPanes' is true (Boolean value) since several tabbed panes are necessary to display all the panels (property, value) of PrivilegeForTypeImpl

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(). To read a property, use the read method in the prooperty descriptor.

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

Specified by:
getPropertyDescriptors in interface java.beans.BeanInfo
Overrides:
getPropertyDescriptors in class java.beans.SimpleBeanInfo
Returns:
array of property descriptors

getBaseBeanManagerInstance

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

Specified by:
getBaseBeanManagerInstance in interface BeanInfoPattern
Returns:
null.

getBaseBeanManagerGetMethod

public java.lang.reflect.Method getBaseBeanManagerGetMethod()
Gets the bean method, without parameters, that allows to get the BaseBeanManager instance, that is the ACS here, which fires an event when the PrivilegeForLinks is closed or deleted.

Specified by:
getBaseBeanManagerGetMethod in interface BeanInfoPattern
Returns:
the get method which provides the resource that manages the PrivilegeForLinks.

getBaseBeanManagerBoundProperty

public java.lang.String getBaseBeanManagerBoundProperty()
Gets the property name 'Privileges' for which a change fires an PropertyChangeEvent in the BaseBeanManager, when the bean instance is closed or deleted. This is used to register the BeamerManager as a PropertyChangeListener.

Specified by:
getBaseBeanManagerBoundProperty in interface BeanInfoPattern
Returns:
the property name.