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