1 19 20 package org.netbeans.modules.form.beaninfo.awt; 21 22 import java.beans.*; 23 import java.awt.Checkbox ; 24 25 29 public class CheckboxBeanInfo extends ComponentBeanInfo.Support { 30 31 public CheckboxBeanInfo() { 32 super("checkbox", java.awt.Checkbox .class); } 34 35 36 protected PropertyDescriptor[] createPDs() throws IntrospectionException { 37 return new PropertyDescriptor[] { 38 new PropertyDescriptor("state", Checkbox .class), new PropertyDescriptor("label", Checkbox .class), new PropertyDescriptor("checkboxGroup", Checkbox .class), new PropertyDescriptor("selectedObjects", Checkbox .class, "getSelectedObjects", null), }; 43 } 44 } 45 | Popular Tags |