1 19 20 package org.netbeans.modules.javahelp; 21 22 import java.beans.*; 23 24 32 public class BrowserDisplayerBeanInfo extends SimpleBeanInfo { 33 34 public BrowserDisplayerBeanInfo () { 35 } 36 37 public PropertyDescriptor[] getPropertyDescriptors () { 38 PropertyDescriptor back[] = new PropertyDescriptor[7]; 39 try { 40 back[0] = new PropertyDescriptor("content", BrowserDisplayer.class); 41 back[1] = new PropertyDescriptor("text", BrowserDisplayer.class); 42 back[2] = new PropertyDescriptor("textFontFamily", BrowserDisplayer.class); 43 back[3] = new PropertyDescriptor("textFontSize", BrowserDisplayer.class); 44 back[4] = new PropertyDescriptor("textFontWeight", BrowserDisplayer.class); 45 back[5] = new PropertyDescriptor("textFontStyle", BrowserDisplayer.class); 46 back[6] = new PropertyDescriptor("textColor", BrowserDisplayer.class); 47 return back; 48 } catch (Exception ex) { 49 return null; 50 } 51 } 52 } 53 | Popular Tags |