    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.

##

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

##

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

##

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

##

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.

getBeanDescriptor

     public BeanDescriptor getBeanDescriptor()

  Returns the beanDescriptor and allows us to indicate a customizer class (ShowTextCustomizer)

  Overrides:
    getBeanDescriptor in class SimpleBeanInfo

getIcon

     public Image getIcon(int iconType)

  Returns the icon images

  Overrides:
    getIcon in class SimpleBeanInfo

getEventSetDescriptors

     public EventSetDescriptor[] getEventSetDescriptors()

  Returns the array of EventSetDescriptors

  Overrides:
    getEventSetDescriptors in class SimpleBeanInfo

getMethodDescriptors

     public MethodDescriptor[] getMethodDescriptors()

  Returns the array of MethodDescriptors

  Overrides:
    getMethodDescriptors in class SimpleBeanInfo

getPropertyDescriptors

     public PropertyDescriptor[] getPropertyDescriptors()

  Returns the array of PropertyDescriptors

  Overrides:
    getPropertyDescriptors in class SimpleBeanInfo

getAdditionalBeanInfo

     public BeanInfo[] getAdditionalBeanInfo()

  No additional BeanInfo has been specified for this bean.

  Overrides:
    getAdditionalBeanInfo in class SimpleBeanInfo

getDefaultEventIndex

     public int getDefaultEventIndex()

  Overrides:
    getDefaultEventIndex in class SimpleBeanInfo

getDefaultPropertyIndex

     public int getDefaultPropertyIndex()

  Overrides:
    getDefaultPropertyIndex in class SimpleBeanInfo

    All Packages  Class Hierarchy  This Package  Previous  Next  Index