1 57 package com.sun.org.apache.html.internal.dom; 58 59 60 import org.w3c.dom.html.HTMLBaseFontElement; 61 62 63 69 public class HTMLBaseFontElementImpl 70 extends HTMLElementImpl 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( HTMLDocumentImpl owner, String name ) 117 { 118 super( owner, name ); 119 } 120 121 122 } 123 124 | Popular Tags |