1 24 25 package org.enhydra.xml.xhtml.dom.xerces; 26 27 28 public class XHTMLTableColElementImpl 29 extends XHTMLElementImpl 30 implements org.enhydra.xml.xhtml.dom.XHTMLTableColElement 31 { 32 33 public XHTMLTableColElementImpl (XHTMLDocumentBase owner, String namespaceURI, String tagName) { 34 super( owner, namespaceURI, tagName); 35 } 36 37 public void setId (String newValue) { 38 setAttribute("id", newValue); 39 } 40 41 public String getId () { 42 return getAttribute ("id"); 43 } 44 public void setLang (String newValue) { 45 setAttribute("lang", newValue); 46 } 47 48 public String getLang () { 49 return getAttribute ("lang"); 50 } 51 public void setDir (String newValue) { 52 setAttribute("dir", newValue); 53 } 54 55 public String getDir () { 56 return getAttribute ("dir"); 57 } 58 public void setClassName (String newValue) { 59 setAttribute("class", newValue); 60 } 61 62 public String getClassName () { 63 return getAttribute ("class"); 64 } 65 public void setTitle (String newValue) { 66 setAttribute("title", newValue); 67 } 68 69 public String getTitle () { 70 return getAttribute ("title"); 71 } 72 public void setAlign (String newValue) { 73 setAttribute("align", newValue); 74 } 75 76 public String getAlign () { 77 return getAttribute ("align"); 78 } 79 public void setWidth (String newValue) { 80 setAttribute("width", newValue); 81 } 82 83 public String getWidth () { 84 return getAttribute ("width"); 85 } 86 87 public void setVAlign (String newValue) { 88 setAttribute("valign", newValue); 89 } 90 91 public String getVAlign () { 92 return getAttribute ("valign"); 93 } 94 public void setSpan (int newValue) { 95 setAttribute("span", newValue); 96 } 97 98 public int getSpan () { 99 return getIntAttribute ("span"); 100 } 101 public void setOnKeyUp (String newValue) { 102 setAttribute("onkeyup", newValue); 103 } 104 105 public String getOnKeyUp () { 106 return getAttribute ("onkeyup"); 107 } 108 public void setStyle (String newValue) { 109 setAttribute("style", newValue); 110 } 111 112 public String getStyle () { 113 return getAttribute ("style"); 114 } 115 public void setOnMouseDown (String newValue) { 116 setAttribute("onmousedown", newValue); 117 } 118 119 public String getOnMouseDown () { 120 return getAttribute ("onmousedown"); 121 } 122 public void setOnKeyPress (String newValue) { 123 setAttribute("onkeypress", newValue); 124 } 125 126 public String getOnKeyPress () { 127 return getAttribute ("onkeypress"); 128 } 129 public void setOnDblClick (String newValue) { 130 setAttribute("ondblclick", newValue); 131 } 132 133 public String getOnDblClick () { 134 return getAttribute ("ondblclick"); 135 } 136 public void setOnKeyDown (String newValue) { 137 setAttribute("onkeydown", newValue); 138 } 139 140 public String getOnKeyDown () { 141 return getAttribute ("onkeydown"); 142 } 143 public void setOnMouseMove (String newValue) { 144 setAttribute("onmousemove", newValue); 145 } 146 147 public String getOnMouseMove () { 148 return getAttribute ("onmousemove"); 149 } 150 public void setOnMouseUp (String newValue) { 151 setAttribute("onmouseup", newValue); 152 } 153 154 public String getOnMouseUp () { 155 return getAttribute ("onmouseup"); 156 } 157 public void setXmlLang (String newValue) { 158 setAttribute("xml:lang", newValue); 159 } 160 161 public String getXmlLang () { 162 return getAttribute ("xml:lang"); 163 } 164 public void setOnMouseOut (String newValue) { 165 setAttribute("onmouseout", newValue); 166 } 167 168 public String getOnMouseOut () { 169 return getAttribute ("onmouseout"); 170 } 171 public void setOnClick (String newValue) { 172 setAttribute("onclick", newValue); 173 } 174 175 public String getOnClick () { 176 return getAttribute ("onclick"); 177 } 178 public void setOnMouseOver (String newValue) { 179 setAttribute("onmouseover", newValue); 180 } 181 182 public String getOnMouseOver () { 183 return getAttribute ("onmouseover"); 184 } 185 public void setChOff (String newValue) { 186 setAttribute("charoff", newValue); 187 } 188 189 public String getChOff () { 190 return getAttribute ("charoff"); 191 } 192 193 public String getCh() { 194 String ch; 195 196 ch = getAttribute( "char" ); 198 if ( ch != null && ch.length() > 1 ) 199 ch = ch.substring( 0, 1 ); 200 return ch; 201 } 202 203 204 public void setCh( String ch ) { 205 if ( ch != null && ch.length() > 1 ) 207 ch = ch.substring( 0, 1 ); 208 setAttribute( "char", ch ); 209 } 210 211 ; 212 } 213 214 215 | Popular Tags |