1 19 20 package org.netbeans.modules.form.beaninfo.awt; 21 22 import java.beans.*; 23 import java.awt.Choice ; 24 25 29 public class ChoiceBeanInfo extends ComponentBeanInfo.Support { 30 31 public ChoiceBeanInfo() { 32 super("choice", java.awt.Choice .class); } 34 35 36 protected PropertyDescriptor[] createPDs() throws IntrospectionException { 37 return new PropertyDescriptor[] { 38 new PropertyDescriptor("selectedObjects", Choice .class, "getSelectedObjects", null), new PropertyDescriptor("selectedIndex", Choice .class, "getSelectedIndex", null), new PropertyDescriptor("itemCount", Choice .class, "getItemCount", null), new PropertyDescriptor("item", Choice .class, "getItem", null), new PropertyDescriptor("selectedItem", Choice .class, "getSelectedItem", null), }; 44 } 45 46 } 47 | Popular Tags |