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 39 public class ELFileTagBeanInfo extends SimpleBeanInfo 40 { 41 public PropertyDescriptor [] getPropertyDescriptors() 42 { 43 ArrayList proplist = new ArrayList (); 44 45 try { 46 proplist.add(new PropertyDescriptor ("accesskey", ELFileTag.class, 47 null, "setAccesskeyExpr")); 48 } catch (IntrospectionException ex) {} 49 try { 50 proplist.add(new PropertyDescriptor ("accept", ELFileTag.class, 51 null, "setAcceptExpr")); 52 } catch (IntrospectionException ex) {} 53 try { 54 proplist.add(new PropertyDescriptor ("alt", ELFileTag.class, 55 null, "setAltExpr")); 56 } catch (IntrospectionException ex) {} 57 try { 58 proplist.add(new PropertyDescriptor ("altKey", ELFileTag.class, 59 null, "setAltKeyExpr")); 60 } catch (IntrospectionException ex) {} 61 try { 62 proplist.add(new PropertyDescriptor ("bundle", ELFileTag.class, 63 null, "setBundleExpr")); 64 } catch (IntrospectionException ex) {} 65 try { 66 proplist.add(new PropertyDescriptor ("disabled", ELFileTag.class, 67 null, "setDisabledExpr")); 68 } catch (IntrospectionException ex) {} 69 try { 70 proplist.add(new PropertyDescriptor ("errorKey", ELFileTag.class, 71 null, "setErrorKeyExpr")); 72 } catch (IntrospectionException ex) {} 73 try { 74 proplist.add(new PropertyDescriptor ("errorStyle", ELFileTag.class, 75 null, "setErrorStyleExpr")); 76 } catch (IntrospectionException ex) {} 77 try { 78 proplist.add(new PropertyDescriptor ("errorStyleClass", ELFileTag.class, 79 null, "setErrorStyleClassExpr")); 80 } catch (IntrospectionException ex) {} 81 try { 82 proplist.add(new PropertyDescriptor ("errorStyleId", ELFileTag.class, 83 null, "setErrorStyleIdExpr")); 84 } catch (IntrospectionException ex) {} 85 try { 86 proplist.add(new PropertyDescriptor ("indexed", ELFileTag.class, 87 null, "setIndexedExpr")); 88 } catch (IntrospectionException ex) {} 89 try { 90 proplist.add(new PropertyDescriptor ("maxlength", ELFileTag.class, 91 null, "setMaxlengthExpr")); 92 } catch (IntrospectionException ex) {} 93 try { 94 proplist.add(new PropertyDescriptor ("name", ELFileTag.class, 95 null, "setNameExpr")); 96 } catch (IntrospectionException ex) {} 97 try { 98 proplist.add(new PropertyDescriptor ("onblur", ELFileTag.class, 99 null, "setOnblurExpr")); 100 } catch (IntrospectionException ex) {} 101 try { 102 proplist.add(new PropertyDescriptor ("onchange", ELFileTag.class, 103 null, "setOnchangeExpr")); 104 } catch (IntrospectionException ex) {} 105 try { 106 proplist.add(new PropertyDescriptor ("onclick", ELFileTag.class, 107 null, "setOnclickExpr")); 108 } catch (IntrospectionException ex) {} 109 try { 110 proplist.add(new PropertyDescriptor ("ondblclick", ELFileTag.class, 111 null, "setOndblclickExpr")); 112 } catch (IntrospectionException ex) {} 113 try { 114 proplist.add(new PropertyDescriptor ("onfocus", ELFileTag.class, 115 null, "setOnfocusExpr")); 116 } catch (IntrospectionException ex) {} 117 try { 118 proplist.add(new PropertyDescriptor ("onkeydown", ELFileTag.class, 119 null, "setOnkeydownExpr")); 120 } catch (IntrospectionException ex) {} 121 try { 122 proplist.add(new PropertyDescriptor ("onkeypress", ELFileTag.class, 123 null, "setOnkeypressExpr")); 124 } catch (IntrospectionException ex) {} 125 try { 126 proplist.add(new PropertyDescriptor ("onkeyup", ELFileTag.class, 127 null, "setOnkeyupExpr")); 128 } catch (IntrospectionException ex) {} 129 try { 130 proplist.add(new PropertyDescriptor ("onmousedown", ELFileTag.class, 131 null, "setOnmousedownExpr")); 132 } catch (IntrospectionException ex) {} 133 try { 134 proplist.add(new PropertyDescriptor ("onmousemove", ELFileTag.class, 135 null, "setOnmousemoveExpr")); 136 } catch (IntrospectionException ex) {} 137 try { 138 proplist.add(new PropertyDescriptor ("onmouseout", ELFileTag.class, 139 null, "setOnmouseoutExpr")); 140 } catch (IntrospectionException ex) {} 141 try { 142 proplist.add(new PropertyDescriptor ("onmouseover", ELFileTag.class, 143 null, "setOnmouseoverExpr")); 144 } catch (IntrospectionException ex) {} 145 try { 146 proplist.add(new PropertyDescriptor ("onmouseup", ELFileTag.class, 147 null, "setOnmouseupExpr")); 148 } catch (IntrospectionException ex) {} 149 try { 150 proplist.add(new PropertyDescriptor ("property", ELFileTag.class, 151 null, "setPropertyExpr")); 152 } catch (IntrospectionException ex) {} 153 try { 154 proplist.add(new PropertyDescriptor ("size", ELFileTag.class, 155 null, "setSizeExpr")); 156 } catch (IntrospectionException ex) {} 157 try { 158 proplist.add(new PropertyDescriptor ("style", ELFileTag.class, 159 null, "setStyleExpr")); 160 } catch (IntrospectionException ex) {} 161 try { 162 proplist.add(new PropertyDescriptor ("styleClass", ELFileTag.class, 163 null, "setStyleClassExpr")); 164 } catch (IntrospectionException ex) {} 165 try { 166 proplist.add(new PropertyDescriptor ("styleId", ELFileTag.class, 167 null, "setStyleIdExpr")); 168 } catch (IntrospectionException ex) {} 169 try { 170 proplist.add(new PropertyDescriptor ("tabindex", ELFileTag.class, 171 null, "setTabindexExpr")); 172 } catch (IntrospectionException ex) {} 173 try { 174 proplist.add(new PropertyDescriptor ("title", ELFileTag.class, 175 null, "setTitleExpr")); 176 } catch (IntrospectionException ex) {} 177 try { 178 proplist.add(new PropertyDescriptor ("titleKey", ELFileTag.class, 179 null, "setTitleKeyExpr")); 180 } catch (IntrospectionException ex) {} 181 try { 182 proplist.add(new PropertyDescriptor ("value", ELFileTag.class, 183 null, "setValueExpr")); 184 } catch (IntrospectionException ex) {} 185 186 PropertyDescriptor [] result = 187 new PropertyDescriptor [proplist.size()]; 188 return ((PropertyDescriptor []) proplist.toArray(result)); 189 } 190 } 191 | Popular Tags |