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
 
  
  -  
	CAN_ADD_CHILD
   -   A constant that specifies the "can add a child" key.
  
 -  
	FLAGS
   -   A constant that specifies the "flags" key.
  
 -  
	FOLDER
   -   A constant that specifies the "folder" key.
  
 -  
	ROOTTEMPLATE
   -   A constant that specifies root template 
  
 -  
	TOOLBAR
   -   A constant that specifies the "toolbar" key.
  
 -  
	WINHELP
   -   A constant that specifies the "winhelp" key.
 
  
  -  
	symantec.itools.beans.SymantecBeanDescriptor(Class)
   -   Constructs a SymantecBeanDescriptor for a bean class.
  
 -  
	symantec.itools.beans.SymantecBeanDescriptor(Class, Class)
   -   Create a SymantecBeanDescriptor for a bean that has a customizer.
 
  
  -  
	addAdditionalConnections(BeanInfo[])
   -   Adds any ConnectionDescriptors to this BeanDescriptor which are
 associated with the BeanDescriptors of the BeanInfos in the array argument.
  
 -  
	addConnectionDescriptor(ConnectionDescriptor)
   -   Adds a ConnectionDescriptor to this bean class.
  
 -  
	getConnectionDescriptors()
   -   Gets the ConnectionDescriptors for this bean class.
  
 -  
	setCanAddChild(boolean)
   -   Sets the "can add a child" attribute.
  
 -  
	setFlags(String)
   -   Sets the "flags" attribute.
  
 -  
	setFolder(String)
   -   Sets the "folder" attribute.
  
 -  
	setRootTemplate(String)
   -   Sets the "ROOTTEMPLATE" attribute.
  
 -  
	setToolbar(String)
   -   Sets the "toolbar" attribute.
  
 -  
	setWinHelp(String)
   -   Sets the "winhelp" attribute.
 
  
CAN_ADD_CHILD
public static final java.lang.String CAN_ADD_CHILD
  -  A constant that specifies the "can add a child" key.
 
FLAGS
public static final java.lang.String FLAGS
  -  A constant that specifies the "flags" key.
 
FOLDER
public static final java.lang.String FOLDER
  -  A constant that specifies the "folder" key.
 
ROOTTEMPLATE
public static final java.lang.String ROOTTEMPLATE
  -  A constant that specifies root template
 
TOOLBAR
public static final java.lang.String TOOLBAR
  -  A constant that specifies the "toolbar" key.
 
WINHELP
public static final java.lang.String WINHELP
  -  A constant that specifies the "winhelp" key.
 
  
SymantecBeanDescriptor
public SymantecBeanDescriptor(Class beanClass)
  -  Constructs a SymantecBeanDescriptor for a bean class.
  
 
 
    -  Parameters:
    
 -  beanClass - the class of the bean
  
 
 
 
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
  
  
 
 
  
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
  
 
 
 
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
  
 
 
 
getConnectionDescriptors
public symantec.itools.beans.ConnectionDescriptor[] getConnectionDescriptors()
  -  Gets the ConnectionDescriptors for this bean class.
  
 
 
    -  Returns:
    
 -  an array of ConnectionDescriptors
  
 
 
 
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
  
 
 
 
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
  
 
 
 
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
  
 
 
 
setRootTemplate
public void setRootTemplate(String h)
  -  Sets the "ROOTTEMPLATE" attribute.
  
 
 
    -  Parameters:
    
 -  h - the new value of this attribute
  
 
 
 
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
  
 
 
 
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