@DOMObjectAttribute @DOMNameAttribute(name="HTMLFormElement") public class HTMLFormElement extends HTMLElement implements IHTMLFormElement
Node.Flags
OnAbort, OnAbortDelegate, OnBlur, OnBlurDelegate, OnCancel, OnCancelDelegate, OnCanplay, OnCanplayDelegate, OnCanPlayThrough, OnCanPlayThroughDelegate, OnChange, OnChangeDelegate, OnClick, OnClickDelegate, OnCueChange, OnCueChangeDelegate, OnDblClick, OnDblClickDelegate, OnDurationChange, OnDurationChangeDelegate, OnEmptied, OnEmptiedDelegate, OnEnded, OnEndedDelegate, OnError, OnErrorDelegate, OnFocus, OnFocusDelegate, OnInput, OnInputDelegate, OnInvalid, OnInvalidDelegate, OnKeyDown, OnKeyDownDelegate, OnKeyPress, OnKeyPressDelegate, OnKeyUp, OnKeyUpDelegate, OnLoad, OnLoadDelegate, OnLoadedData, OnLoadedDataDelegate, OnLoadedMetadata, OnLoadedMetadataDelegate, OnLoadStart, OnLoadStartDelegate, OnMouseDown, OnMouseDownDelegate, OnMouseEnter, OnMouseEnterDelegate, OnMouseLeave, OnMouseLeaveDelegate, OnMouseMove, OnMouseMoveDelegate, OnMouseOut, OnMouseOutDelegate, OnMouseOver, OnMouseOverDelegate, OnMouseUp, OnMouseUpDelegate, OnMouseWheel, OnMouseWheelDelegate, OnPause, OnPauseDelegate, OnPlay, OnPlayDelegate, OnPlaying, OnPlayingDelegate, OnProgress, OnProgressDelegate, OnRateChange, OnRateChangeDelegate, OnReset, OnResetDelegate, OnResize, OnResizeDelegate, OnScroll, OnScrollDelegate, OnSeeked, OnSeekedDelegate, OnSeeking, OnSeekingDelegate, OnSelect, OnSelectDelegate, OnShow, OnShowDelegate, OnStalled, OnStalledDelegate, OnSubmit, OnSubmitDelegate, OnSuspend, OnSuspendDelegate, OnTimeUpdate, OnTimeUpdateDelegate, OnToggle, OnToggleDelegate, OnVolumeChange, OnVolumeChangeDelegate, OnWaiting, OnWaitingDelegate
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, flags, nodeDocument, NOTATION_NODE, parent, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
EventMap
PropertyChanged, PropertyChangedDelegate
Constructor and Description |
---|
HTMLFormElement(com.aspose.html.dom.DOMName name,
Document doc)
Initializes a new instance of the
HTMLFormElement class. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAcceptCharset()
List of character sets supported by the server.
|
java.lang.String |
getAction()
Server-side form handler.
|
HTMLCollection |
getElements()
Returns a collection of all form control elements in the form.
|
java.lang.String |
getEnctype()
The content type of the submitted form, generally
"application/x-www-form-urlencoded".
|
int |
getLength()
The number of form controls in the form.
|
java.lang.String |
getMethod() |
java.lang.String |
getName()
Names the form.
|
java.lang.String |
getTarget()
Frame to render the resource in.
|
void |
reset()
Restores a form element's default values.
|
void |
setAcceptCharset(java.lang.String value)
List of character sets supported by the server.
|
void |
setAction(java.lang.String value)
Server-side form handler.
|
void |
setEnctype(java.lang.String value)
The content type of the submitted form, generally
"application/x-www-form-urlencoded".
|
void |
setMethod(java.lang.String value) |
void |
setName(java.lang.String value)
Names the form.
|
void |
setTarget(java.lang.String value)
Frame to render the resource in.
|
void |
submit()
Submits the form.
|
getAttributeOrDefault, getAttributeOrDefault, getAttributeOrDefault, getAttributeOrDefault, getAttributeOrDefault, getAttributeOrDefault, getAttributeOrDefault, getAttributeOrDefault, getAttributeOrDefault, getAttributeOrDefault, getAttributeOrDefault, getChildOfType, getClassName_Rename_Namesake, getDir, getId_Rename_Namesake, getLang, getParentOfType, getRowIndexInScopeOfCollection, getStyle, getTitle, setAttribute, setAttribute, setAttribute, setClassName_Rename_Namesake, setDir, setId_Rename_Namesake, setLang, setTitle, toggleAttribute
attachShadow, dispose, equals, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getChildElementCount, getChildren, getClassName, getComputedStyle, getComputedStyle, getData, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getId, getInnerHTML, getLastElementChild, getLocalName, getNamespaceURI, getNextElementSibling, getNodeName, getNodeType, getOuterHTML, getPrefix, getPreviousElementSibling, getSchemaTypeInfo, getShadowRoot, getStyleContainer, getTag, getTagName, getTextContent, hasAttribute, hasAttributeNS, hasAttributes, querySelector, querySelectorAll, remove, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setData, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInnerHTML, setOuterHTML, setTextContent
adoptNode, appendChild, cloneNode, deepClone, finalize, getBaseURI, getChildNodes, getChildNodesInternal, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getRegisteredObservers, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceAll, replaceChild, setLocalName, setNamespaceURI, setNodeValue, setParentNode, setPrefix, toString
addEventListener, addEventListener, addEventListener, addEventListener, dispatchEvent, dispose, removeEventListener, removeEventListener, removeEventListener
fireNotifyPropertyChanged, getCurrentValues, getRuntimesBinding, setCurrentValues, setField, setRuntimesBinding
public HTMLFormElement(com.aspose.html.dom.DOMName name, Document doc)
Initializes a new instance of the HTMLFormElement
class.
name
- The DOM name.doc
- The document.@DOMNameAttribute(name="elements") public HTMLCollection getElements()
Returns a collection of all form control elements in the form.
getElements
in interface IHTMLFormElement
@DOMNameAttribute(name="length") public int getLength()
The number of form controls in the form.
@DOMNameAttribute(name="name") public java.lang.String getName()
Names the form.
@DOMNameAttribute(name="name") public void setName(java.lang.String value)
Names the form.
@DOMNameAttribute(name="acceptCharset") public java.lang.String getAcceptCharset()
List of character sets supported by the server. See the accept-charset attribute definition in HTML 4.01.
@DOMNameAttribute(name="acceptCharset") public void setAcceptCharset(java.lang.String value)
List of character sets supported by the server. See the accept-charset attribute definition in HTML 4.01.
@DOMNameAttribute(name="action") public java.lang.String getAction()
Server-side form handler. See the action attribute definition in HTML 4.01.
@DOMNameAttribute(name="action") public void setAction(java.lang.String value)
Server-side form handler. See the action attribute definition in HTML 4.01.
@DOMNameAttribute(name="enctype") public java.lang.String getEnctype()
The content type of the submitted form, generally "application/x-www-form-urlencoded". See the enctype attribute definition in HTML 4.01. The onsubmit even handler is not guaranteed to be triggered when invoking this method. The behavior is inconsistent for historical reasons and authors should not rely on a particular one.
@DOMNameAttribute(name="enctype") public void setEnctype(java.lang.String value)
The content type of the submitted form, generally "application/x-www-form-urlencoded". See the enctype attribute definition in HTML 4.01. The onsubmit even handler is not guaranteed to be triggered when invoking this method. The behavior is inconsistent for historical reasons and authors should not rely on a particular one.
@DOMNameAttribute(name="method") public java.lang.String getMethod()
@DOMNameAttribute(name="method") public void setMethod(java.lang.String value)
@DOMNameAttribute(name="target") public java.lang.String getTarget()
Frame to render the resource in. See the target attribute definition in HTML 4.01.
@DOMNameAttribute(name="target") public void setTarget(java.lang.String value)
Frame to render the resource in. See the target attribute definition in HTML 4.01.
@DOMNameAttribute(name="submit") public void submit()
Submits the form. It performs the same action as a submit button.
@DOMNameAttribute(name="reset") public void reset()
Restores a form element's default values. It performs the same action as a reset button.