List of usage examples for java.beans BeanDescriptor setDisplayName
public void setDisplayName(String displayName)
From source file:com.twinsoft.convertigo.beans.core.MySimpleBeanInfo.java
@Override public BeanDescriptor getBeanDescriptor() { BeanDescriptor beanDescriptor = new BeanDescriptor(beanClass, null); beanDescriptor.setDisplayName(displayName); beanDescriptor.setShortDescription(shortDescription); if (iconNameC16 != null) { beanDescriptor.setValue("icon" + BeanInfo.ICON_COLOR_16x16, iconNameC16); }/*from w w w .jav a 2s.c om*/ if (iconNameC32 != null) { beanDescriptor.setValue("icon" + BeanInfo.ICON_COLOR_32x32, iconNameC32); } if (iconNameM16 != null) { beanDescriptor.setValue("icon" + BeanInfo.ICON_MONO_16x16, iconNameM16); } if (iconNameM32 != null) { beanDescriptor.setValue("icon" + BeanInfo.ICON_MONO_32x32, iconNameM32); } return beanDescriptor; }