1 19 20 package org.netbeans.modules.form.beaninfo.awt; 21 22 import java.beans.*; 23 import java.awt.TextField ; 24 25 29 public class TextFieldBeanInfo extends ComponentBeanInfo.Support { 30 31 public TextFieldBeanInfo() { 32 super("textfield", java.awt.TextField .class); } 34 35 public BeanInfo[] getAdditionalBeanInfo() { 36 return new BeanInfo[] { new TextComponentBeanInfo(), new ComponentBeanInfo() }; 37 } 38 39 40 public PropertyDescriptor[] createPDs() throws IntrospectionException { 41 return new PropertyDescriptor[] { 42 new PropertyDescriptor("columns", TextField .class), new PropertyDescriptor("echoChar", TextField .class), }; 45 } 46 } 47 | Popular Tags |