1 57 package com.sun.org.apache.html.internal.dom; 58 59 60 import org.w3c.dom.html.HTMLIFrameElement; 61 import org.w3c.dom.Document ; 62 63 64 70 public class HTMLIFrameElementImpl 71 extends HTMLElementImpl 72 implements HTMLIFrameElement 73 { 74 75 76 public String getAlign() 77 { 78 return capitalize( getAttribute( "align" ) ); 79 } 80 81 82 public void setAlign( String align ) 83 { 84 setAttribute( "align", align ); 85 } 86 87 88 public String getFrameBorder() 89 { 90 return getAttribute( "frameborder" ); 91 } 92 93 94 public void setFrameBorder( String frameBorder ) 95 { 96 setAttribute( "frameborder", frameBorder ); 97 } 98 99 100 public String getHeight() 101 { 102 return getAttribute( "height" ); 103 } 104 105 106 public void setHeight( String height ) 107 { 108 setAttribute( "height", height ); 109 } 110 111 public String getLongDesc() 112 { 113 return getAttribute( "longdesc" ); 114 } 115 116 117 public void setLongDesc( String longDesc ) 118 { 119 setAttribute( "longdesc", longDesc ); 120 } 121 122 123 public String getMarginHeight() 124 { 125 return getAttribute( "marginheight" ); 126 } 127 128 129 public void setMarginHeight( String marginHeight ) 130 { 131 setAttribute( "marginheight", marginHeight ); 132 } 133 134 135 public String getMarginWidth() 136 { 137 return getAttribute( "marginwidth" ); 138 } 139 140 141 public void setMarginWidth( String marginWidth ) 142 { 143 setAttribute( "marginwidth", marginWidth ); 144 } 145 146 147 public String getName() 148 { 149 return getAttribute( "name" ); 150 } 151 152 153 public void setName( String name ) 154 { 155 setAttribute( "name", name ); 156 } 157 158 159 public String getScrolling() 160 { 161 return capitalize( getAttribute( "scrolling" ) ); 162 } 163 164 165 public void setScrolling( String scrolling ) 166 { 167 setAttribute( "scrolling", scrolling ); 168 } 169 170 171 public String getSrc() 172 { 173 return getAttribute( "src" ); 174 } 175 176 177 public void setSrc( String src ) 178 { 179 setAttribute( "src", src ); 180 } 181 182 183 public String getWidth() 184 { 185 return getAttribute( "width" ); 186 } 187 188 189 public void setWidth( String width ) 190 { 191 setAttribute( "width", width ); 192 } 193 194 195 200 public HTMLIFrameElementImpl( HTMLDocumentImpl owner, String name ) 201 { 202 super( owner, name ); 203 } 204 205 206 public Document getContentDocument( ) 207 { 208 return null; } 210 211 } 212 213 | Popular Tags |