|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSimpleBeanInfo
ValidationBeanInfo
public class ValidationBeanInfo
Utility class extending SimpleBeanInfo with our own helper functions.
Field Summary |
---|
Fields inherited from interface BeanInfo |
---|
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
Constructor Summary | |
---|---|
ValidationBeanInfo()
ValidationBeanInfo constructor. |
Method Summary | |
---|---|
protected Class |
beanType()
Based on getCLass().getName() return target Bean type |
protected PropertyDescriptor |
createPropertyDescriptor(String name,
Class cls,
ResourceBundle resourceBundle)
|
protected PropertyDescriptor |
createPropertyDescriptor(String name,
ResourceBundle bundle)
|
PropertyDescriptor[] |
getPropertyDescriptors()
Implementation of getPropertyDescriptors. |
protected ResourceBundle |
getResourceBundle()
Return bundle for the property file for out beanType |
protected ResourceBundle |
getResourceBundle(Class cls)
Return bundle for the property file for the provided class |
Methods inherited from class SimpleBeanInfo |
---|
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, loadImage |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationBeanInfo()
Description
Method Detail |
---|
public PropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors
in interface BeanInfo
getPropertyDescriptors
in class SimpleBeanInfo
BeanInfo.getPropertyDescriptors()
protected Class beanType()
protected ResourceBundle getResourceBundle()
protected ResourceBundle getResourceBundle(Class cls)
protected PropertyDescriptor createPropertyDescriptor(String name, ResourceBundle bundle) throws IntrospectionException
IntrospectionException
protected PropertyDescriptor createPropertyDescriptor(String name, Class cls, ResourceBundle resourceBundle) throws IntrospectionException
IntrospectionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |