/*lazy BeanDescriptor*/ private static BeanDescriptor getBdescriptor() { BeanDescriptor beanDescriptor = new BeanDescriptor(Bean21341Hidden.class, null); beanDescriptor.setShortDescription("ShortDescription"); // GEN-HEADEREND:BeanDescriptor beanDescriptor.setValue("helpID", "HelpID"); beanDescriptor.setValue("propertiesHelpID", "PropertiesHelpID"); beanDescriptor.setValue("expertHelpID", "ExpertHelpID"); // Here you can add code for customizing the BeanDescriptor. return beanDescriptor; } // GEN-LAST:BeanDescriptor
/** @see java.beans.BeanInfo#getBeanDescriptor() */ public BeanDescriptor getBeanDescriptor() { BeanDescriptor bd = new BeanDescriptor(BEAN); bd.setName("include"); bd.setDisplayName(XMLBean.concatName(schema.XSD_URI, "include")); bd.setValue("ignore", new String[] {schema.XSD_URI + "#annotation"}); return bd; }
protected void initialize() { BeanDescriptor bd = getBeanDescriptor(); // setup bean descriptor in constructor. bd.setName("JXTaskPaneContainer"); bd.setShortDescription("A component that contains JXTaskPanes."); bd.setValue("isContainer", Boolean.TRUE); }
private static BeanDescriptor getBdescriptor() { // GEN-HEADEREND:BeanDescriptor // Here you can add code for customizing the BeanDescriptor. if (beanDescriptor == null) beanDescriptor = new BeanDescriptor(StrokeToolBarBeanInfo.class); beanDescriptor.setValue("isContainer", Boolean.FALSE); beanDescriptor.setDisplayName("StrokeToolPane"); return beanDescriptor; } // GEN-LAST:BeanDescriptor
private static BeanDescriptor getBdescriptor() { // GEN-HEADEREND:BeanDescriptor // Here you can add code for customizing the BeanDescriptor. if (beanDescriptor == null) { beanDescriptor = new BeanDescriptor(JAttributeTextFieldBeanInfo.class); } beanDescriptor.setValue("isContainer", Boolean.FALSE); beanDescriptor.setDisplayName("JAttributeTextField"); return beanDescriptor; } // GEN-LAST:BeanDescriptor
public BeanDescriptor getBeanDescriptor() { BeanDescriptor bd = new BeanDescriptor(Wombat.class); // set a value to ensure that it's unique bd.setValue("test", Boolean.TRUE); return bd; }