All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.swing.beaninfo.JButtonBeanInfo
java.lang.Object
|
+----java.beans.SimpleBeanInfo
|
+----java.awt.swing.beaninfo.SwingBeanInfo
|
+----java.awt.swing.beaninfo.JButtonBeanInfo
- public class JButtonBeanInfo
- extends SwingBeanInfo
Descriptive information about the JButton class for Java
Beans application builders. This BeanInfo class provides descriptions
of each property, of the bean itself, it indicates which
JButton properties are bound, and it provides other
information and icons useful to builders.
JButtonBeanInfo()
-
getBeanDescriptor()
-
getIcon(int)
-
getPropertyDescriptors()
- This method returns a list of bean PropertyDescriptors, one for each public
property in JButton.
JButtonBeanInfo
public JButtonBeanInfo()
getBeanDescriptor
public BeanDescriptor getBeanDescriptor()
- Returns:
- a JButton BeanDescriptor
- Overrides:
- getBeanDescriptor in class SimpleBeanInfo
getPropertyDescriptors
public PropertyDescriptor[] getPropertyDescriptors()
- This method returns a list of bean PropertyDescriptors, one for each public
property in JButton. The first property is the "default" property.
- Returns:
- a complete list of bean PropertyDescriptors for JButton
- Overrides:
- getPropertyDescriptors in class SimpleBeanInfo
- See Also:
- SwingBeanInfo, getDefaultPropertyIndex
getIcon
public Image getIcon(int kind)
- Returns:
- an icon of the specified kind for JButton
- Overrides:
- getIcon in class SwingBeanInfo
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature