1 16 package org.apache.html.dom; 17 18 import org.w3c.dom.html.HTMLOptGroupElement; 19 20 27 public class HTMLOptGroupElementImpl 28 extends HTMLElementImpl 29 implements HTMLOptGroupElement 30 { 31 32 private static final long serialVersionUID = 3258416110138046776L; 33 34 public boolean getDisabled() 35 { 36 return getBinary( "disabled" ); 37 } 38 39 40 public void setDisabled( boolean disabled ) 41 { 42 setAttribute( "disabled", disabled ); 43 } 44 45 46 public String getLabel() 47 { 48 return capitalize( getAttribute( "label" ) ); 49 } 50 51 52 public void setLabel( String label ) 53 { 54 setAttribute( "label", label ); 55 } 56 57 58 63 public HTMLOptGroupElementImpl( HTMLDocumentImpl owner, String name ) 64 { 65 super( owner, name ); 66 } 67 68 69 } 70 71 | Popular Tags |