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.HTMLOptGroupElement; 61 62 63 69 public class HTMLOptGroupElementImpl 70 extends LazyHTMLElement 71 implements HTMLOptGroupElement 72 { 73 74 75 public boolean getDisabled() 76 { 77 return getBinary( "disabled" ); 78 } 79 80 81 public void setDisabled( boolean disabled ) 82 { 83 setAttribute( "disabled", disabled ); 84 } 85 86 87 public String getLabel() 88 { 89 return capitalize( getAttribute( "label" ) ); 90 } 91 92 93 public void setLabel( String label ) 94 { 95 setAttribute( "label", label ); 96 } 97 98 99 104 public HTMLOptGroupElementImpl( LazyHTMLDocument owner, LazyElement template, String name ) 105 { 106 super( owner, template, name ); 107 } 108 109 110 } 111 112 | Popular Tags |