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