All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.awt.swing.beaninfo.JMenuBeanInfo

java.lang.Object
    |
    +----java.beans.SimpleBeanInfo
            |
            +----java.awt.swing.beaninfo.SwingBeanInfo
                    |
                    +----java.awt.swing.beaninfo.JMenuBeanInfo

public class JMenuBeanInfo
extends SwingBeanInfo
Descriptive information about the JMenu class for Java Beans application builders. This BeanInfo class provides descriptions of each property, of the bean itself, it indicates which JMenu properties are bound, and it provides other information and icons useful to builders.


Constructor Index

 o JMenuBeanInfo()

Method Index

 o getBeanDescriptor()
 o getIcon(int)
 o getPropertyDescriptors()
This method returns a list of bean PropertyDescriptors, one for each public property in JMenu.

Constructors

 o JMenuBeanInfo
public JMenuBeanInfo()

Methods

 o getBeanDescriptor
public BeanDescriptor getBeanDescriptor()
Returns:
a JMenu BeanDescriptor
Overrides:
getBeanDescriptor in class SimpleBeanInfo
 o getPropertyDescriptors
public PropertyDescriptor[] getPropertyDescriptors()
This method returns a list of bean PropertyDescriptors, one for each public property in JMenu. The first property is the "default" property.

Returns:
a complete list of bean PropertyDescriptors for JMenu
Overrides:
getPropertyDescriptors in class SimpleBeanInfo
See Also:
SwingBeanInfo, getDefaultPropertyIndex
 o getIcon
public Image getIcon(int kind)
Returns:
an icon of the specified kind for JMenu
Overrides:
getIcon in class SwingBeanInfo

All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature