1 19 20 package org.netbeans.modules.form.beaninfo.swing; 21 22 import java.beans.*; 23 import javax.swing.border.SoftBevelBorder ; 24 25 public class SoftBevelBorderBeanInfo extends BISupport { 26 27 public SoftBevelBorderBeanInfo() { 28 super("softBevelBorder", javax.swing.border.SoftBevelBorder .class); } 30 31 protected PropertyDescriptor[] createPropertyDescriptors() throws IntrospectionException { 32 PropertyDescriptor[] pds = new PropertyDescriptor[] { 33 createRO(SoftBevelBorder .class, "bevelType"), createRO(SoftBevelBorder .class, "highlightOuterColor"), createRO(SoftBevelBorder .class, "highlightInnerColor"), createRO(SoftBevelBorder .class, "shadowOuterColor"), createRO(SoftBevelBorder .class, "shadowInnerColor"), }; 39 pds[0].setPropertyEditorClass(BevelBorderBeanInfo.BevelTypePropertyEditor.class); 40 return pds; 41 } 42 43 } 44 | Popular Tags |