public class HtmlObject extends HtmlElement implements ValidatableElement
HtmlElement.DisplayStyle
DomElement.ChildElementsIterator
DomNode.ChildIterator, DomNode.DescendantElementsIterator<T extends DomNode>
Modifier and Type | Field and Description |
---|---|
static String |
TAG_NAME
The HTML tag represented by this element.
|
ATTRIBUTE_CHECKED, ATTRIBUTE_HIDDEN, ATTRIBUTE_REQUIRED, TAB_INDEX_OUT_OF_BOUNDS
ATTRIBUTE_NOT_DEFINED, ATTRIBUTE_VALUE_EMPTY, ID_ATTRIBUTE, NAME_ATTRIBUTE, SRC_ATTRIBUTE, TYPE_ATTRIBUTE, VALUE_ATTRIBUTE
PROPERTY_ELEMENT, READY_STATE_COMPLETE, READY_STATE_INTERACTIVE, READY_STATE_LOADED, READY_STATE_LOADING, READY_STATE_UNINITIALIZED
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Modifier and Type | Method and Description |
---|---|
String |
getAlignAttribute()
Returns the value of the attribute
align . |
String |
getArchiveAttribute()
Returns the value of the attribute
archive . |
String |
getBorderAttribute()
Returns the value of the attribute
border . |
String |
getClassIdAttribute()
Returns the value of the attribute
classid . |
String |
getCodebaseAttribute()
Returns the value of the attribute "codebase".
|
String |
getCodeTypeAttribute()
Returns the value of the attribute "codetype".
|
String |
getDataAttribute()
Returns the value of the attribute
data . |
String |
getDeclareAttribute()
Returns the value of the attribute
declare . |
HtmlElement.DisplayStyle |
getDefaultStyleDisplay()
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
|
String |
getHeightAttribute()
Returns the value of the attribute
height . |
String |
getHspaceAttribute()
Returns the value of the attribute
hspace . |
String |
getNameAttribute()
Returns the value of the attribute
name . |
String |
getStandbyAttribute()
Returns the value of the attribute
standby . |
String |
getTabIndexAttribute()
Returns the value of the attribute
tabindex . |
String |
getTypeAttribute()
Returns the value of the attribute
type . |
String |
getUseMapAttribute()
Returns the value of the attribute
usemap . |
String |
getVspaceAttribute()
Returns the value of the attribute
vspace . |
String |
getWidthAttribute()
Returns the value of the attribute
width . |
boolean |
isCustomErrorValidityState() |
boolean |
isValid()
Returns whether this element satisfies all form validation constraints set.
|
boolean |
isValidValidityState() |
void |
onAllChildrenAddedToPage(boolean postponed)
Initialize the clsid.
|
void |
setCustomValidity(String message)
Sets the custom validity message for the element to the specified message.
|
boolean |
willValidate() |
acceptChar, addHtmlAttributeChangeListener, appendChildIfNoneExists, checkChildHierarchy, cloneNode, detach, doType, doType, fireHtmlAttributeAdded, fireHtmlAttributeRemoved, fireHtmlAttributeReplaced, getCanonicalXPath, getElementsByAttribute, getEnclosingElement, getEnclosingForm, getEnclosingFormOrDie, getLangAttribute, getNodeName, getOnClickAttribute, getOnDblClickAttribute, getOneHtmlElementByAttribute, getOnKeyDownAttribute, getOnKeyPressAttribute, getOnKeyUpAttribute, getOnMouseDownAttribute, getOnMouseMoveAttribute, getOnMouseOutAttribute, getOnMouseOverAttribute, getOnMouseUpAttribute, getSrcAttributeNormalized, getTabIndex, getTextDirectionAttribute, getXmlLangAttribute, handles, hasEventHandlers, isAltPressed, isAttributeCaseSensitive, isCtrlPressed, isDisplayed, isHidden, isOptional, isRequired, isRequiredSupported, isShiftPressed, isSubmittableByEnter, notifyAttributeChangeListeners, removeAttribute, removeChild, removeHtmlAttributeChangeListener, setAttributeNode, setAttributeNS, setHidden, setHidden, setOwningForm, setRequired, type, type, type, type, typeDone
blur, click, click, click, click, click, dblClick, dblClick, doClickFireChangeEvent, doClickFireClickEvent, doClickStateUpdate, fireEvent, fireEvent, focus, getAttribute, getAttributeDirect, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getAttributesMap, getChildElementCount, getChildElements, getElementsByTagName, getElementsByTagNameNS, getEventTargetElement, getFirstElementChild, getId, getLastElementChild, getNodeType, getSchemaTypeInfo, getStaticElementsByTagName, getStyleElement, getStyleElementCaseInSensitive, getStyleMap, getTagName, hasAttribute, hasAttributeNS, hasAttributes, isDisabledElementAndDisabled, isEmptyXmlTagExpanded, isMouseOver, isStateUpdateFirst, matches, mouseDown, mouseDown, mouseMove, mouseMove, mouseOut, mouseOut, mouseOver, mouseOver, mouseUp, mouseUp, preventDefault, printOpeningTagContentAsXml, printXml, propagateClickStateUpdateToParent, removeAttributeNode, removeAttributeNS, removeFocus, removeStyleAttribute, replaceStyleAttribute, rightClick, rightClick, setAttribute, setAttributeNodeNS, setAttributeNS, setDefaults, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInnerHtml, setNodeValue, toString, writeStyleToElement
getLocalName, getLowercaseName, getNamespaceURI, getPrefix, getQualifiedName, processImportNode, setPrefix
addCharacterDataChangeListener, addDomChangeListener, appendChild, asNormalizedText, asXml, basicRemove, closest, compareDocumentPosition, fireCharacterDataChanged, fireNodeAdded, fireNodeDeleted, getAncestors, getBaseURI, getByXPath, getByXPath, getChildNodes, getChildren, getDescendants, getDomElementDescendants, getEndColumnNumber, getEndLineNumber, getFeature, getFirstByXPath, getFirstByXPath, getFirstChild, getHtmlElementDescendants, getHtmlPageOrNull, getIndex, getLastChild, getNextElementSibling, getNextSibling, getNodeValue, getOwnerDocument, getPage, getParentNode, getPreviousElementSibling, getPreviousSibling, getReadyState, getScriptableObject, getSelectorList, getStartColumnNumber, getStartLineNumber, getTextContent, getUserData, getVisibleText, hasChildNodes, hasFeature, insertBefore, insertBefore, isAncestorOf, isAncestorOfAny, isAttachedToPage, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, mayBeDisplayed, normalize, notifyIncorrectness, onAddedToDocumentFragment, onAddedToPage, parseHtmlSnippet, printChildrenAsXml, querySelector, querySelectorAll, quietlyRemoveAndMoveChildrenTo, remove, removeAllChildren, removeCharacterDataChangeListener, removeChild, removeDomChangeListener, replace, replaceChild, setEndLocation, setParentNode, setReadyState, setScriptableObject, setStartLocation, setTextContent, setUserData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
hasBadInputValidityState, hasPatternMismatchValidityState, hasRangeOverflowValidityState, hasRangeUnderflowValidityState, hasTypeMismatchValidityState, isStepMismatchValidityState, isTooLongValidityState, isTooShortValidityState, isValueMissingValidityState
appendChild, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setPrefix, setTextContent, setUserData
public static final String TAG_NAME
public final String getDeclareAttribute()
declare
. Refer to the
HTML 4.01
documentation for details on the use of this attribute.declare
or an empty string if that attribute isn't defined.public final String getClassIdAttribute()
classid
. Refer to the
HTML 4.01
documentation for details on the use of this attribute.classid
or an empty string if that attribute isn't defined.public final String getCodebaseAttribute()
public final String getDataAttribute()
data
. Refer to the
HTML 4.01
documentation for details on the use of this attribute.data
or an empty string if that attribute isn't defined.public final String getTypeAttribute()
type
. Refer to the
HTML 4.01
documentation for details on the use of this attribute.type
or an empty string if that attribute isn't defined.public final String getCodeTypeAttribute()
public final String getArchiveAttribute()
archive
. Refer to the
HTML 4.01
documentation for details on the use of this attribute.archive
or an empty string if that attribute isn't defined.public final String getStandbyAttribute()
standby
. Refer to the
HTML 4.01
documentation for details on the use of this attribute.standby
or an empty string if that attribute isn't defined.public final String getHeightAttribute()
height
. Refer to the
HTML 4.01
documentation for details on the use of this attribute.height
or an empty string if that attribute isn't defined.public final String getWidthAttribute()
width
. Refer to the
HTML 4.01
documentation for details on the use of this attribute.width
or an empty string if that attribute isn't defined.public final String getUseMapAttribute()
usemap
. Refer to the
HTML 4.01
documentation for details on the use of this attribute.usemap
or an empty string if that attribute isn't defined.public final String getNameAttribute()
name
. Refer to the
HTML 4.01
documentation for details on the use of this attribute.name
or an empty string if that attribute isn't defined.public final String getTabIndexAttribute()
tabindex
. Refer to the
HTML 4.01
documentation for details on the use of this attribute.tabindex
or an empty string if that attribute isn't defined.public final String getAlignAttribute()
align
. Refer to the
HTML 4.01
documentation for details on the use of this attribute.align
or an empty string if that attribute isn't defined.public final String getBorderAttribute()
border
. Refer to the
HTML 4.01
documentation for details on the use of this attribute.border
or an empty string if that attribute isn't defined.public final String getHspaceAttribute()
hspace
. Refer to the
HTML 4.01
documentation for details on the use of this attribute.hspace
or an empty string if that attribute isn't defined.public final String getVspaceAttribute()
vspace
. Refer to the
HTML 4.01
documentation for details on the use of this attribute.vspace
or an empty string if that attribute isn't defined.public void onAllChildrenAddedToPage(boolean postponed)
super.onAllChildrenAddedToPage()
if you implement this method.onAllChildrenAddedToPage
in class DomNode
postponed
- whether to use PostponedAction
or nopublic HtmlElement.DisplayStyle getDefaultStyleDisplay()
getDefaultStyleDisplay
in class HtmlElement
public boolean isValid()
isValid
in class HtmlElement
public boolean willValidate()
willValidate
in interface ValidatableElement
public void setCustomValidity(String message)
setCustomValidity
in interface ValidatableElement
message
- the new messagepublic boolean isCustomErrorValidityState()
isCustomErrorValidityState
in interface ValidatableElement
public boolean isValidValidityState()
isValidValidityState
in interface ValidatableElement
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.