All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class netscape.samples.simple.ShowTextBeanInfo

java.lang.Object
   |
   +----java.beans.SimpleBeanInfo
           |
           +----netscape.samples.simple.ShowTextBeanInfo

public class ShowTextBeanInfo
extends SimpleBeanInfo
implements BeanHelp
Note: Images may be missing from the JavaDocs generated.

Do not be alarmed: this is intentional and should not impact the usability of the JavaDocs as a reference.


Constructor Index

 o ShowTextBeanInfo()
Publishes the properties, methods and events for the ShowText class.

Method Index

 o getAdditionalBeanInfo()
No additional BeanInfo has been specified for this bean.
 o getBeanDescriptor()
Returns the beanDescriptor and allows us to indicate a customizer class (ShowTextCustomizer)
 o getDefaultEventIndex()
 o getDefaultPropertyIndex()
 o getEventSetDescriptors()
Returns the array of EventSetDescriptors
 o getHelpURL()
 o getIcon(int)
Returns the icon images
 o getMethodDescriptors()
Returns the array of MethodDescriptors
 o getPropertyDescriptors()
Returns the array of PropertyDescriptors

Constructors

 o ShowTextBeanInfo
 public ShowTextBeanInfo() throws Exception
Publishes the properties, methods and events for the ShowText class.

In this example, only the message is exposed. We could omit overriding this method if we wanted to rely on the automatic querying of the ShowText class -- by explicitly publishing methods / properties / events here, we can choose which methods, etc. we really want to expose.

Throws: Exception
thrown when introspection fails

Methods

 o getHelpURL
 public String getHelpURL()
Returns:
A String containing an URL address (absolute) to an HTML document describing the bean, or null if no help available.
 o getBeanDescriptor
 public BeanDescriptor getBeanDescriptor()
Returns the beanDescriptor and allows us to indicate a customizer class (ShowTextCustomizer)

Overrides:
getBeanDescriptor in class SimpleBeanInfo
 o getIcon
 public Image getIcon(int iconType)
Returns the icon images

Overrides:
getIcon in class SimpleBeanInfo
 o getEventSetDescriptors
 public EventSetDescriptor[] getEventSetDescriptors()
Returns the array of EventSetDescriptors

Overrides:
getEventSetDescriptors in class SimpleBeanInfo
 o getMethodDescriptors
 public MethodDescriptor[] getMethodDescriptors()
Returns the array of MethodDescriptors

Overrides:
getMethodDescriptors in class SimpleBeanInfo
 o getPropertyDescriptors
 public PropertyDescriptor[] getPropertyDescriptors()
Returns the array of PropertyDescriptors

Overrides:
getPropertyDescriptors in class SimpleBeanInfo
 o getAdditionalBeanInfo
 public BeanInfo[] getAdditionalBeanInfo()
No additional BeanInfo has been specified for this bean.

Overrides:
getAdditionalBeanInfo in class SimpleBeanInfo
 o getDefaultEventIndex
 public int getDefaultEventIndex()
Overrides:
getDefaultEventIndex in class SimpleBeanInfo
 o getDefaultPropertyIndex
 public int getDefaultPropertyIndex()
Overrides:
getDefaultPropertyIndex in class SimpleBeanInfo

All Packages  Class Hierarchy  This Package  Previous  Next  Index