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