/** * {@inheritDoc} * Overwritten to support the hidden attribute (html5). */ @Override public boolean isDisplayed() { if (ATTRIBUTE_NOT_DEFINED != getAttributeDirect("hidden")) { return false; } return super.isDisplayed(); }
/** * Returns the value of the {@code dateTime} property. * @return the value of the {@code dateTime} property */ public String getDateTime() { final String dateTime = getDomNodeOrDie().getAttributeDirect("datetime"); return dateTime; }
/** * Returns the value of the {@code dateTime} property. * @return the value of the {@code dateTime} property */ public String getDateTime() { final String dateTime = getDomNodeOrDie().getAttributeDirect("datetime"); return dateTime; }
/** * Gets the {@code classid} attribute. * @return the {@code classid} attribute */ @JsxGetter(IE) public String getClassid() { return getDomNodeOrDie().getAttributeDirect("classid"); }
/** * Returns the {@code accessKey} property. * @return the {@code accessKey} property */ @JsxGetter public String getAccessKey() { return getDomNodeOrDie().getAttributeDirect("accesskey"); }
/** * Gets the {@code color} property. * @return the {@code color} property */ @JsxGetter public String getColor() { return getDomNodeOrDie().getAttributeDirect("color"); }
/** * Returns the value of the {@code clear} property. * @return the value of the {@code clear} property */ @JsxGetter public String getClear() { return getDomNodeOrDie().getAttributeDirect("clear"); }
/** * Gets the {@code border} attribute. * @return the {@code border} attribute */ @JsxGetter public String getBorder() { final String border = getDomNodeOrDie().getAttributeDirect("border"); return border; }
/** * Returns the {@code type} attribute. * @return the {@code type} attribute */ @JsxGetter public String getType() { return getDomNodeOrDie().getAttributeDirect("type"); }
/** * Returns the value of the {@code abbr} attribute. * @return the value of the {@code abbr} attribute */ @JsxGetter public String getAbbr() { return getDomNodeOrDie().getAttributeDirect("abbr"); }
/** * Returns the value of the {@code label} property. * @return the value of the {@code label} property */ @JsxGetter public String getLabel() { final String label = getDomNodeOrDie().getAttributeDirect("label"); if (DomElement.ATTRIBUTE_NOT_DEFINED == label) { return ""; } return label; }
/** * Returns the {@code cellSpacing} property. * @return the {@code cellSpacing} property */ @JsxGetter public String getCellSpacing() { return getDomNodeOrDie().getAttributeDirect("cellspacing"); }
/** * Returns the {@code cellPadding} property. * @return the {@code cellPadding} property */ @JsxGetter public String getCellPadding() { return getDomNodeOrDie().getAttributeDirect("cellpadding"); }
/** * Gets the {@code classid} attribute. * @return the {@code classid} attribute */ @JsxGetter(IE) public String getClassid() { return getDomNodeOrDie().getAttributeDirect("classid"); }
/** * Returns the {@code name} attribute. * @return the {@code name} attribute */ @JsxGetter public String getName() { return getDomNodeOrDie().getAttributeDirect("name"); }
/** * Returns the value of the {@code alt} property. * @return the value of the {@code alt} property */ @JsxGetter public String getAlt() { final String alt = getDomNodeOrDie().getAttributeDirect("alt"); return alt; }
/** * Returns the {@code valuetype} attribute. * @return the {@code valuetype} attribute */ @JsxGetter public String getValueType() { return getDomNodeOrDie().getAttributeDirect("valuetype"); }
/** * Gets the {@code size} attribute. * @return the {@code size} attribute */ @JsxGetter public int getSize() { return (int) Context.toNumber(getDomNodeOrDie().getAttributeDirect("size")); }
/** * Returns the {@code spellcheck} property. * @return the {@code spellcheck} property */ @JsxGetter(FF) public boolean isSpellcheck() { return Context.toBoolean(getDomNodeOrDie().getAttributeDirect("spellcheck")); }
/** * Returns the value of the {@code value} property. * @return the value property */ @JsxGetter public String getValue() { String value = getDomNodeOrNull().getAttributeDirect("value"); if (value == DomElement.ATTRIBUTE_NOT_DEFINED) { value = ((HtmlOption) getDomNodeOrNull()).getText(); } return value; }