Class symantec.itools.beans.SymantecBeanDescriptor
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.beans.SymantecBeanDescriptor

Object
   |
   +----FeatureDescriptor
           |
           +----BeanDescriptor
                   |
                   +----symantec.itools.beans.SymantecBeanDescriptor

public class SymantecBeanDescriptor
extends BeanDescriptor
Extension to java.beans.BeanDescriptor that implements methods for specifying Visual CafΘ integration information for a bean. Such as the Visual CafΘ toolbar tab name for this bean, Visual CafΘ Interaction Wizard information, etc.

Version:
1.0, June 6, 1997
Author:
Symantec

Variable Index

 o CAN_ADD_CHILD
A constant that specifies the "can add a child" key.
 o FLAGS
A constant that specifies the "flags" key.
 o FOLDER
A constant that specifies the "folder" key.
 o ROOTTEMPLATE
A constant that specifies root template
 o TOOLBAR
A constant that specifies the "toolbar" key.
 o WINHELP
A constant that specifies the "winhelp" key.

Constructor Index

 o symantec.itools.beans.SymantecBeanDescriptor(Class)
Constructs a SymantecBeanDescriptor for a bean class.
 o symantec.itools.beans.SymantecBeanDescriptor(Class, Class)
Create a SymantecBeanDescriptor for a bean that has a customizer.

Method Index

 o addAdditionalConnections(BeanInfo[])
Adds any ConnectionDescriptors to this BeanDescriptor which are associated with the BeanDescriptors of the BeanInfos in the array argument.
 o addConnectionDescriptor(ConnectionDescriptor)
Adds a ConnectionDescriptor to this bean class.
 o getConnectionDescriptors()
Gets the ConnectionDescriptors for this bean class.
 o setCanAddChild(boolean)
Sets the "can add a child" attribute.
 o setFlags(String)
Sets the "flags" attribute.
 o setFolder(String)
Sets the "folder" attribute.
 o setRootTemplate(String)
Sets the "ROOTTEMPLATE" attribute.
 o setToolbar(String)
Sets the "toolbar" attribute.
 o setWinHelp(String)
Sets the "winhelp" attribute.

Variables

 o CAN_ADD_CHILD
public static final java.lang.String CAN_ADD_CHILD
A constant that specifies the "can add a child" key.

 o FLAGS
public static final java.lang.String FLAGS
A constant that specifies the "flags" key.

 o FOLDER
public static final java.lang.String FOLDER
A constant that specifies the "folder" key.

 o ROOTTEMPLATE
public static final java.lang.String ROOTTEMPLATE
A constant that specifies root template

 o TOOLBAR
public static final java.lang.String TOOLBAR
A constant that specifies the "toolbar" key.

 o WINHELP
public static final java.lang.String WINHELP
A constant that specifies the "winhelp" key.

Constructors

 o SymantecBeanDescriptor
public SymantecBeanDescriptor(Class beanClass)
Constructs a SymantecBeanDescriptor for a bean class.

Parameters:
beanClass - the class of the bean
 o SymantecBeanDescriptor
public SymantecBeanDescriptor(Class beanClass,
                              Class customizerClass)
Create a SymantecBeanDescriptor for a bean that has a customizer.

Parameters:
beanClass - the class of the bean
customizerClass - The class of the customizer

Methods

 o addAdditionalConnections
public void addAdditionalConnections(BeanInfo[] bi)
Adds any ConnectionDescriptors to this BeanDescriptor which are associated with the BeanDescriptors of the BeanInfos in the array argument.

Parameters:
bi - a BeanInfo array typically returned from a call to BeanInfo.getAdditionalBeanInfo
 o addConnectionDescriptor
public void addConnectionDescriptor(ConnectionDescriptor c)
Adds a ConnectionDescriptor to this bean class. A ConnectionDescriptor defines an "Interaction Wizard" interaction for this bean.

Parameters:
c - the new ConnectionDescriptor
See Also:
ConnectionDescriptor
 o getConnectionDescriptors
public symantec.itools.beans.ConnectionDescriptor[] getConnectionDescriptors()
Gets the ConnectionDescriptors for this bean class.

Returns:
an array of ConnectionDescriptors
 o setCanAddChild
public void setCanAddChild(boolean b)
Sets the "can add a child" attribute. Set to false if you have a bean that derives from java.awt.Panel, but you don't want to allow users to drop other components into this bean.

Parameters:
b - the new value of this attribute
 o setFlags
public void setFlags(String f)
Sets the "flags" attribute. Set to "INVISIBLE" for beans that do not have a visual representation at run time.

Parameters:
f - the new value of this attribute
 o setFolder
public void setFolder(String f)
Sets the "folder" attribute. This is the name of the component library that will contain this bean.

Parameters:
f - the new value of this attribute
 o setRootTemplate
public void setRootTemplate(String h)
Sets the "ROOTTEMPLATE" attribute.

Parameters:
h - the new value of this attribute
 o setToolbar
public void setToolbar(String t)
Sets the "toolbar" attribute. This is the name of the toolbar tab that will contain this bean.

Parameters:
t - the new value of this attribute
 o setWinHelp
public void setWinHelp(String h)
Sets the "winhelp" attribute. A Windows help file may be specified for a bean. However, the help file may not be jarred up with the bean. The string for this attribute should specify a Windows help system ID number along with the name of the file where the help resides. The ID and file name are seperated by a comma.

Parameters:
h - the new value of this attribute

All Packages  Class Hierarchy  This Package  Previous  Next  Index