1 18 19 package org.apache.strutsel.taglib.html; 20 21 import java.beans.PropertyDescriptor ; 22 import java.beans.IntrospectionException ; 23 import java.util.ArrayList ; 24 import java.beans.SimpleBeanInfo ; 25 26 42 public class ELResetTagBeanInfo extends SimpleBeanInfo 43 { 44 public PropertyDescriptor [] getPropertyDescriptors() 45 { 46 ArrayList proplist = new ArrayList (); 47 48 try { 49 proplist.add(new PropertyDescriptor ("accesskey", ELResetTag.class, 50 null, "setAccesskeyExpr")); 51 } catch (IntrospectionException ex) {} 52 try { 53 proplist.add(new PropertyDescriptor ("alt", ELResetTag.class, 54 null, "setAltExpr")); 55 } catch (IntrospectionException ex) {} 56 try { 57 proplist.add(new PropertyDescriptor ("altKey", ELResetTag.class, 58 null, "setAltKeyExpr")); 59 } catch (IntrospectionException ex) {} 60 try { 61 proplist.add(new PropertyDescriptor ("bundle", ELResetTag.class, 62 null, "setBundleExpr")); 63 } catch (IntrospectionException ex) {} 64 try { 65 proplist.add(new PropertyDescriptor ("disabled", ELResetTag.class, 66 null, "setDisabledExpr")); 67 } catch (IntrospectionException ex) {} 68 try { 69 proplist.add(new PropertyDescriptor ("onblur", ELResetTag.class, 70 null, "setOnblurExpr")); 71 } catch (IntrospectionException ex) {} 72 try { 73 proplist.add(new PropertyDescriptor ("onchange", ELResetTag.class, 74 null, "setOnchangeExpr")); 75 } catch (IntrospectionException ex) {} 76 try { 77 proplist.add(new PropertyDescriptor ("onclick", ELResetTag.class, 78 null, "setOnclickExpr")); 79 } catch (IntrospectionException ex) {} 80 try { 81 proplist.add(new PropertyDescriptor ("ondblclick", ELResetTag.class, 82 null, "setOndblclickExpr")); 83 } catch (IntrospectionException ex) {} 84 try { 85 proplist.add(new PropertyDescriptor ("onfocus", ELResetTag.class, 86 null, "setOnfocusExpr")); 87 } catch (IntrospectionException ex) {} 88 try { 89 proplist.add(new PropertyDescriptor ("onkeydown", ELResetTag.class, 90 null, "setOnkeydownExpr")); 91 } catch (IntrospectionException ex) {} 92 try { 93 proplist.add(new PropertyDescriptor ("onkeypress", ELResetTag.class, 94 null, "setOnkeypressExpr")); 95 } catch (IntrospectionException ex) {} 96 try { 97 proplist.add(new PropertyDescriptor ("onkeyup", ELResetTag.class, 98 null, "setOnkeyupExpr")); 99 } catch (IntrospectionException ex) {} 100 try { 101 proplist.add(new PropertyDescriptor ("onmousedown", ELResetTag.class, 102 null, "setOnmousedownExpr")); 103 } catch (IntrospectionException ex) {} 104 try { 105 proplist.add(new PropertyDescriptor ("onmousemove", ELResetTag.class, 106 null, "setOnmousemoveExpr")); 107 } catch (IntrospectionException ex) {} 108 try { 109 proplist.add(new PropertyDescriptor ("onmouseout", ELResetTag.class, 110 null, "setOnmouseoutExpr")); 111 } catch (IntrospectionException ex) {} 112 try { 113 proplist.add(new PropertyDescriptor ("onmouseover", ELResetTag.class, 114 null, "setOnmouseoverExpr")); 115 } catch (IntrospectionException ex) {} 116 try { 117 proplist.add(new PropertyDescriptor ("onmouseup", ELResetTag.class, 118 null, "setOnmouseupExpr")); 119 } catch (IntrospectionException ex) {} 120 try { 121 proplist.add(new PropertyDescriptor ("property", ELResetTag.class, 122 null, "setPropertyExpr")); 123 } catch (IntrospectionException ex) {} 124 try { 125 proplist.add(new PropertyDescriptor ("style", ELResetTag.class, 126 null, "setStyleExpr")); 127 } catch (IntrospectionException ex) {} 128 try { 129 proplist.add(new PropertyDescriptor ("styleClass", ELResetTag.class, 130 null, "setStyleClassExpr")); 131 } catch (IntrospectionException ex) {} 132 try { 133 proplist.add(new PropertyDescriptor ("styleId", ELResetTag.class, 134 null, "setStyleIdExpr")); 135 } catch (IntrospectionException ex) {} 136 try { 137 proplist.add(new PropertyDescriptor ("tabindex", ELResetTag.class, 138 null, "setTabindexExpr")); 139 } catch (IntrospectionException ex) {} 140 try { 141 proplist.add(new PropertyDescriptor ("title", ELResetTag.class, 142 null, "setTitleExpr")); 143 } catch (IntrospectionException ex) {} 144 try { 145 proplist.add(new PropertyDescriptor ("titleKey", ELResetTag.class, 146 null, "setTitleKeyExpr")); 147 } catch (IntrospectionException ex) {} 148 try { 149 proplist.add(new PropertyDescriptor ("value", ELResetTag.class, 150 null, "setValueExpr")); 151 } catch (IntrospectionException ex) {} 152 153 PropertyDescriptor [] result = 154 new PropertyDescriptor [proplist.size()]; 155 return ((PropertyDescriptor []) proplist.toArray(result)); 156 } 157 } 158 | Popular Tags |