All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jclass.beans.GeneralBeanInfo

java.lang.Object
   |
   +----java.beans.SimpleBeanInfo
           |
           +----jclass.beans.GeneralBeanInfo

public class GeneralBeanInfo
extends SimpleBeanInfo

Variable Index

 o desc_list
 o omit_props
 o useSuperBeanInfo

Constructor Index

 o GeneralBeanInfo(String, String[][])
 o GeneralBeanInfo(String, String[][], String[][], String[][])

Method Index

 o createDescriptor(String, Class)
 o getAdditionalBeanInfo()
Returns the event list, to allow subclass' events to be included.
 o getEventSetDescriptors()
 o getPropertyDescriptors()

Variables

 o desc_list
 protected PropertyDescriptor desc_list[]
 o omit_props
 protected String omit_props[]
 o useSuperBeanInfo
 protected boolean useSuperBeanInfo

Constructors

 o GeneralBeanInfo
 public GeneralBeanInfo(String name,
                        String props[][])
Parameters:
name - class name, e.g. "jclass.bwt.JCButton"
props - 2-column list of properties: col 1: name col 2: editor, e.g. "jclass.beans.DimensionEditor", or "" if none
 o GeneralBeanInfo
 public GeneralBeanInfo(String name,
                        String props[][],
                        String events[][],
                        String listeners[][])
Parameters:
name - class name, e.g. "jclass.bwt.JCButton"
props - 2-column list of properties: col 1: name col 2: editor, e.g. "jclass.beans.DimensionEditor", or "" if none
events - 4-column list of events: col 1: name col 2: listener class (excluding package) col 3: add listener method name col 4: remove listener method name
listeners - list of listener class methods

Methods

 o createDescriptor
 protected PropertyDescriptor createDescriptor(String name,
                                               Class c) throws IntrospectionException
 o getPropertyDescriptors
 public PropertyDescriptor[] getPropertyDescriptors()
Returns:
An array of PropertyDescriptors describing the editable properties supported by this bean.
Overrides:
getPropertyDescriptors in class SimpleBeanInfo
 o getEventSetDescriptors
 public EventSetDescriptor[] getEventSetDescriptors()
Returns:
An array of EventSetDescriptors describing the kinds of events fired by this bean.
Overrides:
getEventSetDescriptors in class SimpleBeanInfo
 o getAdditionalBeanInfo
 public BeanInfo[] getAdditionalBeanInfo()
Returns the event list, to allow subclass' events to be included.

Overrides:
getAdditionalBeanInfo in class SimpleBeanInfo

All Packages  Class Hierarchy  This Package  Previous  Next  Index