Package com.dassault_systemes.catweb.base.catlet

   
Class JCATletAbstractBeanInfo

 
Class Hierarchy
java.lang.Object
  |
  +-java.beans.SimpleBeanInfo
        |
        +-com.dassault_systemes.catweb.base.catlet.JCATletAbstractBeanInfo
Class Location

Framework : JApplicationFrame

Module : GW0Kernel

Class Description

public class JCATletAbstractBeanInfo

This is an abstract support class to make it easier for people to provide JCATletAbstract BeanInfo classes. This class provides explicit information about the methods, properties, events, etc, of the JCATletAstract (a bean).

Field Summary
protected Class beanClass

Constructor Summary
JCATletAbstractBeanInfo()
The Default constructor

Method Summary
public BeanDescriptor getBeanDescriptor()
Returns the BeanDescriptor information of the CATlet Sould be overriden in order to provides global information on the JCATlet
protected Class getClass(String string)
Returns a Class from a String It Encapsulates the Class.forName JDK call and catches ClassNotFoundException
public final EventSetDescriptor[] getEventSetDescriptors()
Returns the default user events published by a JCATlet concatened to the list of user events returned by the getPublishedEventDescriptors() method.
public Image getIcon(int iconKind)
Returns an image object that can be used to represent the CATlet
public PropertyDescriptor[] getPropertyDescriptors()
Returns an array of PropertyDescriptors describing the editable properties supported by the JCATlet.
protected EventSetDescriptor[] getPublishedEventDescriptors()
Returns the user events It must be overriden when the CATlet publishes events on the Hookup.


Field Detail

beanClass

    protected Class beanClass


Constructor Detail

JCATletAbstractBeanInfo

    JCATletAbstractBeanInfo()

The Default constructor


Method Detail

getBeanDescriptor

    public BeanDescriptor getBeanDescriptor()

Returns the BeanDescriptor information of the CATlet Sould be overriden in order to provides global information on the JCATlet

Return:
java.bean.BeanDescriptor

getClass

    protected Class getClass(String string)

Returns a Class from a String It Encapsulates the Class.forName JDK call and catches ClassNotFoundException

Parameters:
string
is the name of the class
Return:
java.lang.Class

getEventSetDescriptors

    public final EventSetDescriptor[] getEventSetDescriptors()

Returns the default user events published by a JCATlet concatened to the list of user events returned by the getPublishedEventDescriptors() method.

Return:
java.bean.EventSetDescriptor[]

getIcon

    public Image getIcon(int iconKind)

Returns an image object that can be used to represent the CATlet

Return:
java.awt.Image

getPropertyDescriptors

    public PropertyDescriptor[] getPropertyDescriptors()

Returns an array of PropertyDescriptors describing the editable properties supported by the JCATlet. Can be overrided by user but the array of PropertyDescriptors would be concatenated with the inherited array of PropertyDescriptor.


getPublishedEventDescriptors

    protected EventSetDescriptor[] getPublishedEventDescriptors()

Returns the user events It must be overriden when the CATlet publishes events on the Hookup.

Return:
java.bean.EventSetDescriptor[]


Copyright © 2000, Dassault Systèmes. All rights reserved