1 57 package org.enhydra.xml.lazydom.html; 58 import org.enhydra.xml.lazydom.LazyElement; 59 import org.enhydra.xml.lazydom.LazyElementNoNS; 60 import org.w3c.dom.Document ; 61 import org.w3c.dom.html.HTMLFrameElement; 62 63 64 70 public class HTMLFrameElementImpl 71 extends LazyHTMLElement 72 implements HTMLFrameElement 73 { 74 75 76 public String getFrameBorder() 77 { 78 return getAttribute( "frameborder" ); 79 } 80 81 82 public void setFrameBorder( String frameBorder ) 83 { 84 setAttribute( "frameborder", frameBorder ); 85 } 86 87 88 public String getLongDesc() 89 { 90 return getAttribute( "longdesc" ); 91 } 92 93 94 public void setLongDesc( String longDesc ) 95 { 96 setAttribute( "longdesc", longDesc ); 97 } 98 99 100 public String getMarginHeight() 101 { 102 return getAttribute( "marginheight" ); 103 } 104 105 106 public void setMarginHeight( String marginHeight ) 107 { 108 setAttribute( "marginheight", marginHeight ); 109 } 110 111 112 public String getMarginWidth() 113 { 114 return getAttribute( "marginwidth" ); 115 } 116 117 118 public void setMarginWidth( String marginWidth ) 119 { 120 setAttribute( "marginwidth", marginWidth ); 121 } 122 123 124 public String getName() 125 { 126 return getAttribute( "name" ); 127 } 128 129 130 public void setName( String name ) 131 { 132 setAttribute( "name", name ); 133 } 134 135 136 public boolean getNoResize() 137 { 138 return getBinary( "noresize" ); 139 } 140 141 142 public void setNoResize( boolean noResize ) 143 { 144 setAttribute( "noresize", noResize ); 145 } 146 147 148 public String getScrolling() 149 { 150 return capitalize( getAttribute( "scrolling" ) ); 151 } 152 153 154 public void setScrolling( String scrolling ) 155 { 156 setAttribute( "scrolling", scrolling ); 157 } 158 159 160 public String getSrc() 161 { 162 return getAttribute( "src" ); 163 } 164 165 166 public void setSrc( String src ) 167 { 168 setAttribute( "src", src ); 169 } 170 171 172 177 public HTMLFrameElementImpl( LazyHTMLDocument owner, LazyElement template, String name ) 178 { 179 super( owner, template, name ); 180 } 181 182 185 public Document getContentDocument() { 186 return null; 187 } 188 } 189 190 | Popular Tags |