1 57 package org.enhydra.apache.html.dom; 58 59 60 import org.enhydra.apache.xerces.dom.ElementImpl; 61 import org.w3c.dom.html.HTMLOptGroupElement; 62 63 64 70 public class HTMLOptGroupElementImpl 71 extends HTMLElementImpl 72 implements HTMLOptGroupElement 73 { 74 75 76 public boolean getDisabled() 77 { 78 return getBinary( "disabled" ); 79 } 80 81 82 public void setDisabled( boolean disabled ) 83 { 84 setAttribute( "disabled", disabled ); 85 } 86 87 88 public String getLabel() 89 { 90 return capitalize( getAttribute( "label" ) ); 91 } 92 93 94 public void setLabel( String label ) 95 { 96 setAttribute( "label", label ); 97 } 98 99 100 105 public HTMLOptGroupElementImpl( HTMLDocumentImpl owner, String name ) 106 { 107 super( owner, name ); 108 } 109 110 111 } 112 113 | Popular Tags |