1 38 package com.gargoylesoftware.htmlunit.html; 39 40 import java.util.Map ; 41 42 51 public class HtmlOptionGroup extends ClickableElement implements DisabledElement { 52 53 54 public static final String TAG_NAME = "optgroup"; 55 56 62 public HtmlOptionGroup( final HtmlPage page, final Map attributes ) { 63 super(page, attributes); 64 } 65 66 69 public String getTagName() { 70 return TAG_NAME; 71 } 72 73 74 79 public final boolean isDisabled() { 80 return isAttributeDefined("disabled"); 81 } 82 83 84 92 public final String getDisabledAttribute() { 93 return getAttributeValue("disabled"); 94 } 95 96 97 105 public final String getLabelAttribute() { 106 return getAttributeValue("label"); 107 } 108 } 109 | Popular Tags |