public class BaseBeanInfo extends SimpleBeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32| Constructor and Description |
|---|
BaseBeanInfo(Class type) |
| Modifier and Type | Method and Description |
|---|---|
ExtendedPropertyDescriptor |
addProperty(String propertyName) |
protected PropertyDescriptor |
addPropertyDescriptor(PropertyDescriptor property) |
BeanDescriptor |
getBeanDescriptor() |
String |
getDescription(Object value)
Return a text describing briefly the object.
|
Image |
getIcon(int kind)
Get the icon for displaying this bean.
|
PropertyDescriptor |
getPropertyDescriptor(int index) |
int |
getPropertyDescriptorCount() |
PropertyDescriptor[] |
getPropertyDescriptors() |
ResourceManager |
getResources() |
String |
getText(Object value)
Return a text describing the object.
|
String |
getToolTipText(Object value)
Return a text describing the object.
|
Class |
getType() |
PropertyDescriptor |
removeProperty(String propertyName)
Removes the first occurrence of the property named
propertyName |
getAdditionalBeanInfo, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getMethodDescriptors, loadImagepublic BaseBeanInfo(Class type)
public final Class getType()
public ResourceManager getResources()
public BeanDescriptor getBeanDescriptor()
getBeanDescriptor in interface BeanInfogetBeanDescriptor in class SimpleBeanInfopublic PropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors in interface BeanInfogetPropertyDescriptors in class SimpleBeanInfopublic int getPropertyDescriptorCount()
public PropertyDescriptor getPropertyDescriptor(int index)
protected PropertyDescriptor addPropertyDescriptor(PropertyDescriptor property)
public ExtendedPropertyDescriptor addProperty(String propertyName)
public PropertyDescriptor removeProperty(String propertyName)
propertyNamepropertyName - public Image getIcon(int kind)
getIcon in interface BeanInfogetIcon in class SimpleBeanInfokind - Kind of icon.public String getText(Object value)
value - an Object valuepublic String getDescription(Object value)
value - an Object valueString valueCopyright © 2015. All rights reserved.