1 19 20 package org.netbeans.modules.form.beaninfo.awt; 21 22 import java.beans.*; 23 24 28 class TextComponentBeanInfo extends ComponentBeanInfo.Support { 29 30 31 TextComponentBeanInfo() { 32 super(null, java.awt.TextComponent .class); 33 } 34 35 36 public PropertyDescriptor[] createPDs() throws IntrospectionException { 37 return new PropertyDescriptor[] { 38 new PropertyDescriptor("selectionStart", java.awt.TextComponent .class), new PropertyDescriptor("text", java.awt.TextComponent .class), new PropertyDescriptor("caretPosition", java.awt.TextComponent .class), new PropertyDescriptor("selectionEnd", java.awt.TextComponent .class), new PropertyDescriptor("editable", java.awt.TextComponent .class), }; 44 } 45 } 46 | Popular Tags |