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.html.HTMLBaseFontElement; 61 62 63 69 public class HTMLBaseFontElementImpl 70 extends LazyHTMLElement 71 implements HTMLBaseFontElement 72 { 73 74 75 public String getColor() 76 { 77 return capitalize( getAttribute( "color" ) ); 78 } 79 80 81 public void setColor( String color ) 82 { 83 setAttribute( "color", color ); 84 } 85 86 87 public String getFace() 88 { 89 return capitalize( getAttribute( "face" ) ); 90 } 91 92 93 public void setFace( String face ) 94 { 95 setAttribute( "face", face ); 96 } 97 98 99 public String getSize() 100 { 101 return getAttribute( "size" ); 102 } 103 104 105 public void setSize( String size ) 106 { 107 setAttribute( "size", size ); 108 } 109 110 111 116 public HTMLBaseFontElementImpl( LazyHTMLDocument owner, LazyElement template, String name ) 117 { 118 super( owner, template, name ); 119 } 120 121 122 } 123 124 | Popular Tags |