1 57 package com.sun.org.apache.html.internal.dom; 58 59 60 import org.w3c.dom.html.HTMLOptGroupElement; 61 62 63 69 public class HTMLOptGroupElementImpl 70 extends HTMLElementImpl 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( HTMLDocumentImpl owner, String name ) 105 { 106 super( owner, name ); 107 } 108 109 110 } 111 112 | Popular Tags |