// Copyright MageLang Institute; Version $Id: //depot/main/src/edu/modules/Beans/magercises/UrlHexDump/Solution/urlhexdump/UrlHexDumpBeanInfo.java#3 $ package urlhexdump; import java.beans.*; public class UrlHexDumpBeanInfo extends SimpleBeanInfo { public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor pd1 = new PropertyDescriptor("url", UrlHexDump.class); PropertyDescriptor pd2 = new PropertyDescriptor("message", UrlHexDump.class); PropertyDescriptor pd3 = new PropertyDescriptor("graphicalRows", UrlHexDump.class); PropertyDescriptor pd4 = new PropertyDescriptor("graphicalColumns", UrlHexDump.class); PropertyDescriptor pd5 = new PropertyDescriptor("debug", UrlHexDump.class); PropertyDescriptor pd6 = new PropertyDescriptor("submitted", UrlHexDump.class); PropertyDescriptor pd7 = new PropertyDescriptor("showGraphically", UrlHexDump.class); return new PropertyDescriptor[] { pd1, pd2, pd3, pd4, pd5, pd6, pd7 }; } catch (Exception e) { return null; } } }