@Override public BeanDescriptor getBeanDescriptor() { BeanDescriptor descriptor = new BeanDescriptor(getBeanClass()); try { // Attempt to load the displayName and shortDescription explicitly. String displayName = bundle.getString("displayName"); if (displayName != null) { descriptor.setDisplayName(displayName); } String shortDescription = bundle.getString("shortDescription"); if (shortDescription != null) { descriptor.setShortDescription(shortDescription); } // Add any other properties that are specified. Enumeration enumeration = bundle.getKeys(); while (enumeration.hasMoreElements()) { String key = (String)enumeration.nextElement(); String value = bundle.getString(key); if (value != null) { descriptor.setValue(key, value); } } } catch (Exception e) { // Ignore any exceptions. We may get some if we try to load a // a property that doesn't appear in the resource bundle. } return descriptor; }
private static BeanDescriptor getBdescriptor(){ BeanDescriptor beanDescriptor = new BeanDescriptor ( org.tentackle.swing.ShortFormField.class , null ); // NOI18N beanDescriptor.setDisplayName ( "ShortFormField" ); beanDescriptor.setShortDescription ( "FormField to edit Short values" );//GEN-HEADEREND:BeanDescriptor // Here you can add code for customizing the BeanDescriptor. return beanDescriptor; }//GEN-LAST:BeanDescriptor
private static BeanDescriptor getBdescriptor(){ BeanDescriptor beanDescriptor = new BeanDescriptor ( org.tentackle.swing.BMoneyFormField.class , null ); // NOI18N beanDescriptor.setDisplayName ( "BMoneyFormField" ); beanDescriptor.setShortDescription ( "FormField for BMoney and DMoney objects" );//GEN-HEADEREND:BeanDescriptor // Here you can add code for customizing the BeanDescriptor. return beanDescriptor; }//GEN-LAST:BeanDescriptor
private static BeanDescriptor getBdescriptor(){ BeanDescriptor beanDescriptor = new BeanDescriptor ( org.tentackle.swing.FormTelnoField.class , null ); // NOI18N beanDescriptor.setDisplayName ( "FormTelnoField" ); beanDescriptor.setShortDescription ( "A FormField to edit phone/fax/modem/cellphone numbers" );//GEN-HEADEREND:BeanDescriptor // Here you can add code for customizing the BeanDescriptor. return beanDescriptor; }//GEN-LAST:BeanDescriptor
private static BeanDescriptor getBdescriptor(){ BeanDescriptor beanDescriptor = new BeanDescriptor ( org.tentackle.swing.GCButton.class , null ); // NOI18N beanDescriptor.setDisplayName ( "GCButton" ); beanDescriptor.setShortDescription ( "A memory heap button with GC trigger" );//GEN-HEADEREND:BeanDescriptor // Here you can add code for customizing the BeanDescriptor. return beanDescriptor; }//GEN-LAST:BeanDescriptor
private static BeanDescriptor getBdescriptor(){ BeanDescriptor beanDescriptor = new BeanDescriptor ( org.tentackle.swing.FormTable.class , null ); // NOI18N beanDescriptor.setDisplayName ( "FormTable" ); beanDescriptor.setShortDescription ( "An extended JTable" );//GEN-HEADEREND:BeanDescriptor // Here you can add code for customizing the BeanDescriptor. return beanDescriptor; }//GEN-LAST:BeanDescriptor
private static BeanDescriptor getBdescriptor(){ BeanDescriptor beanDescriptor = new BeanDescriptor ( org.tentackle.swing.FormMailField.class , null ); // NOI18N beanDescriptor.setDisplayName ( "FormMailField" ); beanDescriptor.setShortDescription ( "FormField to edit an email adress" );//GEN-HEADEREND:BeanDescriptor // Here you can add code for customizing the BeanDescriptor. return beanDescriptor; }//GEN-LAST:BeanDescriptor
private static BeanDescriptor getBdescriptor(){ BeanDescriptor beanDescriptor = new BeanDescriptor ( org.tentackle.swing.MonthSpinField.class , null ); // NOI18N beanDescriptor.setDisplayName ( "MonthSpinField" ); beanDescriptor.setShortDescription ( "A ComboBox for months with spin up/down" );//GEN-HEADEREND:BeanDescriptor // Here you can add code for customizing the BeanDescriptor. return beanDescriptor; }//GEN-LAST:BeanDescriptor
private static BeanDescriptor getBdescriptor(){ BeanDescriptor beanDescriptor = new BeanDescriptor ( org.tentackle.swing.DateFormField.class , null ); // NOI18N beanDescriptor.setDisplayName ( "DateFormField" ); beanDescriptor.setShortDescription ( "A FormField to edit Dates" );//GEN-HEADEREND:BeanDescriptor // Here you can add code for customizing the BeanDescriptor. return beanDescriptor; }//GEN-LAST:BeanDescriptor
private static BeanDescriptor getBdescriptor(){ BeanDescriptor beanDescriptor = new BeanDescriptor ( org.tentackle.swing.DoubleFormField.class , null ); // NOI18N beanDescriptor.setDisplayName ( "DoubleFormField" ); beanDescriptor.setShortDescription ( "FormField to edit double numbers" );//GEN-HEADEREND:BeanDescriptor // Here you can add code for customizing the BeanDescriptor. return beanDescriptor; }//GEN-LAST:BeanDescriptor
private static BeanDescriptor getBdescriptor(){ BeanDescriptor beanDescriptor = new BeanDescriptor ( org.tentackle.swing.FormButton.class , null ); // NOI18N beanDescriptor.setDisplayName ( "FormButton" ); beanDescriptor.setShortDescription ( "A button which is aware of forms" );//GEN-HEADEREND:BeanDescriptor // Here you can add code for customizing the BeanDescriptor. return beanDescriptor; }//GEN-LAST:BeanDescriptor
private static BeanDescriptor getBdescriptor(){ BeanDescriptor beanDescriptor = new BeanDescriptor ( org.tentackle.swing.FloatFormField.class , null ); // NOI18N beanDescriptor.setDisplayName ( "FloatFormField" ); beanDescriptor.setShortDescription ( "FormField for float values" );//GEN-HEADEREND:BeanDescriptor // Here you can add code for customizing the BeanDescriptor. return beanDescriptor; }//GEN-LAST:BeanDescriptor
private static BeanDescriptor getBdescriptor(){ BeanDescriptor beanDescriptor = new BeanDescriptor ( org.tentackle.swing.FormCalendar.class , null ); // NOI18N beanDescriptor.setDisplayName ( "FormCalendar" ); beanDescriptor.setShortDescription ( "a calendar panel" );//GEN-HEADEREND:BeanDescriptor return beanDescriptor; }//GEN-LAST:BeanDescriptor
protected void initialize() { BeanDescriptor bd = getBeanDescriptor(); bd.setName("YahooCompanyFinanceNews"); bd.setShortDescription("A JavaBean for reading financial news feeds for one or more specific companies."); setHidden(true, "propertyChangeListeners"); }
protected void initialize() { BeanDescriptor bd = getBeanDescriptor(); bd.setName("YahooNews"); bd.setShortDescription("A JavaBean for reading news feeds from Yahoo! news"); setHidden(true, "propertyChangeListeners"); }
protected void initialize() { BeanDescriptor bd = getBeanDescriptor(); bd.setName("Yahoo! Related Query Suggestion"); bd.setShortDescription("Queries Yahoo! for related queries for a given query"); setHidden(true, "propertyChangeListeners", "class"); }
protected void initialize() { BeanDescriptor bd = getBeanDescriptor(); bd.setName("YahooFinanceNews"); bd.setShortDescription("A JavaBean for reading financial news feeds from Yahoo!"); setHidden(true, "propertyChangeListeners"); }
public BeanDescriptor getBeanDescriptor() { if (beanDescriptor == null) { beanDescriptor = new BeanDescriptor(beanClass); beanDescriptor.setValue(Constants.BeanDescriptor.INSTANCE_NAME, "bigIntegerConverter"); //NOI18N beanDescriptor.setDisplayName(bundle.getMessage("bigIntegerConvert")); //NOI18N beanDescriptor.setShortDescription(bundle.getMessage("bigIntegerConvertShortDesc")); //NOI18N beanDescriptor.setValue(Constants.BeanDescriptor.HELP_KEY, "projrave_ui_elements_palette_jsf-val-conv_big_integer_converter"); } return beanDescriptor; }
protected void initialize() { BeanDescriptor bd = getBeanDescriptor(); bd.setName("Yahoo! Image Search"); bd.setShortDescription("A JavaBean for searching for images using Yahoo!"); setHidden(true, "propertyChangeListeners", "class"); setEnumerationValues(getFileFormatEnumValues(), "fileFormat"); setEnumerationValues(Utils.getTypeEnumValues(), "type"); }
protected void initialize() { BeanDescriptor bd = getBeanDescriptor(); bd.setName("Yahoo! Context Search"); bd.setShortDescription("A JavaBean for performing a context search with Yahoo!"); setHidden(true, "propertyChangeListeners", "class"); setEnumerationValues(Utils.getCountryEnumValues(), "country"); setEnumerationValues(Utils.getFormatEnumValues(), "format"); setEnumerationValues(Utils.getLanguageEnumValues(), "language"); setEnumerationValues(Utils.getLicenseEnumValues(), "license"); }