Package com.dassault_systemes.catweb.base.catlet

   
Class CATletBeanInfo

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

Framework : PortalBase

Module : PLBbase

Class Description

public abstract class CATletBeanInfo

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

Field Summary

Constructor Summary
CATletBeanInfo()

Method Summary
Class getClass(String string)
EventSetDescriptor[] getPublishedEventDescriptors()
EventSetDescriptor[] getEventSetDescriptors()
Image getIcon(int iconKind)
PropertyDescriptor[] getPropertyDescriptors()
BeanDescriptor getBeanDescriptor()


Field Detail

Constructor Detail

CATletBeanInfo

    CATletBeanInfo()

The Default constructor


Method Detail

getClass

    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
Returns:
java.lang.Class

getPublishedEventDescriptors

    EventSetDescriptor[] getPublishedEventDescriptors()

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

Returns:
java.bean.EventSetDescriptor[]

getEventSetDescriptors

    EventSetDescriptor[] getEventSetDescriptors()

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

Returns:
java.bean.EventSetDescriptor[]

getIcon

    Image getIcon(int iconKind)

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

Parameters:
iconKind
- an integer value ICON_COLOR_32x32 or ICON_COLOR_16x16.
Returns:
java.awt.Image

getPropertyDescriptors

    PropertyDescriptor[] getPropertyDescriptors()

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


getBeanDescriptor

    BeanDescriptor getBeanDescriptor()

Returns the BeanDescriptor information of the CATlet. Should be overriden in order to provides global information on the CATlet.

Returns:
java.bean.BeanDescriptor


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