BeanInfo
public class AS400PrincipalBeanInfo extends SimpleBeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
Constructor | Description |
---|---|
AS400PrincipalBeanInfo() |
Modifier and Type | Method | Description |
---|---|---|
int |
getDefaultEventIndex() |
Returns the index of the default event.
|
int |
getDefaultPropertyIndex() |
Returns the index of the default property.
|
EventSetDescriptor[] |
getEventSetDescriptors() |
Returns the descriptors for all events.
|
Image |
getIcon(int icon) |
Returns an Image for this bean's icon.
|
PropertyDescriptor[] |
getPropertyDescriptors() |
Returns the descriptors for all properties.
|
getAdditionalBeanInfo, getBeanDescriptor, getMethodDescriptors, loadImage
public int getDefaultEventIndex()
getDefaultEventIndex
in interface BeanInfo
getDefaultEventIndex
in class SimpleBeanInfo
public int getDefaultPropertyIndex()
getDefaultPropertyIndex
in interface BeanInfo
getDefaultPropertyIndex
in class SimpleBeanInfo
public EventSetDescriptor[] getEventSetDescriptors()
getEventSetDescriptors
in interface BeanInfo
getEventSetDescriptors
in class SimpleBeanInfo
public Image getIcon(int icon)
The superclass returns a generic image; subclasses should override with specific images as appropriate.
getIcon
in interface BeanInfo
getIcon
in class SimpleBeanInfo
icon
- The desired icon size and color.public PropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors
in interface BeanInfo
getPropertyDescriptors
in class SimpleBeanInfo
Copyright © 2024. All rights reserved.