@DOMObjectAttribute @DOMNameAttribute(name="HTMLStyleElement") public class HTMLStyleElement extends HTMLElement implements com.aspose.html.dom.runtime.modules.ILinkStyleEx, ILinkStyle
Node.FlagsOnAbort, 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, OnWaitingDelegateATTRIBUTE_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_NODEEventMapPropertyChanged, PropertyChangedDelegate| Constructor and Description |
|---|
HTMLStyleElement(com.aspose.html.dom.DOMName name,
Document doc)
Initializes a new instance of the
HTMLStyleElement class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDisabled()
Enables/disables the style sheet.
|
java.lang.String |
getMedia()
Designed for use with one or more target media.
|
IStyleSheet |
getSheet()
Gets the associated style sheet.
|
com.aspose.html.dom.css.engine.CSSStyleSheet |
getStyleSheet()
Gets the associated style sheet.
|
java.lang.String |
getType()
The content type of the style sheet language.
|
void |
setDisabled(boolean value)
Enables/disables the style sheet.
|
void |
setMedia(java.lang.String value)
Designed for use with one or more target media.
|
void |
setStyleSheet(com.aspose.html.dom.css.engine.CSSStyleSheet value)
Gets the associated style sheet.
|
void |
setType(java.lang.String value)
The content type of the style sheet language.
|
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, toggleAttributeattachShadow, 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, setTextContentadoptNode, 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, toStringaddEventListener, addEventListener, addEventListener, addEventListener, dispatchEvent, dispose, removeEventListener, removeEventListener, removeEventListenerfireNotifyPropertyChanged, getCurrentValues, getRuntimesBinding, setCurrentValues, setField, setRuntimesBindingpublic HTMLStyleElement(com.aspose.html.dom.DOMName name,
Document doc)
Initializes a new instance of the HTMLStyleElement class.
name - The DOM name.doc - The document.@DOMNameAttribute(name="disabled") public boolean getDisabled()
Enables/disables the style sheet.
@DOMNameAttribute(name="disabled") public void setDisabled(boolean value)
Enables/disables the style sheet.
@DOMNameAttribute(name="media") public java.lang.String getMedia()
Designed for use with one or more target media. See the media attribute definition in HTML 4.01.
@DOMNameAttribute(name="media") public void setMedia(java.lang.String value)
Designed for use with one or more target media. See the media attribute definition in HTML 4.01.
@DOMNameAttribute(name="type") public java.lang.String getType()
The content type of the style sheet language. See the type attribute definition in HTML 4.01.
@DOMNameAttribute(name="type") public void setType(java.lang.String value)
The content type of the style sheet language. See the type attribute definition in HTML 4.01.
public IStyleSheet getSheet()
Gets the associated style sheet.
getSheet in interface ILinkStylepublic com.aspose.html.dom.css.engine.CSSStyleSheet getStyleSheet()
Gets the associated style sheet.
getStyleSheet in interface com.aspose.html.dom.runtime.modules.ILinkStyleExpublic void setStyleSheet(com.aspose.html.dom.css.engine.CSSStyleSheet value)
Gets the associated style sheet.
setStyleSheet in interface com.aspose.html.dom.runtime.modules.ILinkStyleEx