/** @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); }
static { try { descr = new BeanDescriptor(AppletExecutor.class); ResourceBundle bundle = NbBundle.getBundle(AppletExecutorBeanInfo.class); descr.setName(bundle.getString("CTL_Exec_Name")); prop = new PropertyDescriptor[1]; prop[0] = new PropertyDescriptor("externalExecutor", AppletExecutor.class); // 0 prop[0].setDisplayName(bundle.getString("PROP_External_path")); prop[0].setShortDescription(bundle.getString("HINT_External_path")); } catch (IntrospectionException ex) { if (Boolean.getBoolean("netbeans.debug.exceptions")) { ex.printStackTrace(); } } }