|
|
|||||
| Package com.dassault_systemes.catweb.base.catlet.command |
Class CommandBeanInfo
|
| Class Hierarchy |
java.lang.Object
|
+-java.beans.SimpleBeanInfo
|
+-com.dassault_systemes.catweb.base.catlet.command.CommandBeanInfo
| Class Location |
| Class Description |
public class CommandBeanInfo
This is a support class to make it easier for people to provide Command BeanInfo classes. This class provides explicit information about the methods, properties, events, etc, of the Command.
| Field Summary |
| public static int | ICON_COLOR_30x30
Icons type for the command |
| Constructor Summary |
| CommandBeanInfo()
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 CATlet |
| 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 the Command 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 Command |
| protected EventSetDescriptor[] | getPublishedEventDescriptors()
Returns the user events It must be overriden when the Command publishes events on the Hookup. |
| Field Detail |
public static int ICON_COLOR_30x30
Icons type for the command
| Constructor Detail |
CommandBeanInfo()
The Default constructor
| Method Detail |
public BeanDescriptor getBeanDescriptor()
Returns the BeanDescriptor information of the CATlet
Sould be overriden in order to provides global information on the CATlet
protected Class getClass(String string)
Returns a Class from a String
It Encapsulates the Class.forName JDK call and catches ClassNotFoundException
string
public final EventSetDescriptor[] getEventSetDescriptors()
Returns the default user events published by the Command 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 Command
protected EventSetDescriptor[] getPublishedEventDescriptors()
Returns the user events
It must be overriden when the Command publishes events on the Hookup.