|
What this is
Other links
The source codepackage org.netbeans.modules.webclient; import java.beans.*; public class WebclientBrowserBeanInfo extends SimpleBeanInfo { // Bean descriptor private static BeanDescriptor beanDescriptor = null /*lazy*/; private static BeanDescriptor getBdescriptor(){ if(beanDescriptor == null){ beanDescriptor = new BeanDescriptor ( WebclientBrowser.class , null ); // Here you can add code for customizing the BeanDescriptor. } return beanDescriptor; } // Property identifiers private static final int PROPERTY_appData = 0; // Property array private static PropertyDescriptor[] properties = null /*lazy*/; private static PropertyDescriptor[] getPdescriptor(){ if(properties == null){ properties = new PropertyDescriptor[1]; try { properties[PROPERTY_appData] = new PropertyDescriptor ( "appData", WebclientBrowser.class, "getAppData", "setAppData" ); // NOI18N } catch( IntrospectionException e) {} // Here you can add code for customizing the properties array. } return properties; } // Event set information will be obtained from introspection. private static EventSetDescriptor[] eventSets = null; private static EventSetDescriptor[] getEdescriptor(){ return eventSets; } // Here you can add code for customizing the event sets array. // Method information will be obtained from introspection. private static MethodDescriptor[] methods = null; private static MethodDescriptor[] getMdescriptor(){ return methods; } // Here you can add code for customizing the methods array. private static final int defaultPropertyIndex = -1; private static final int defaultEventIndex = -1; /** * Gets the bean's |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.