@DOMObjectAttribute @DOMNameAttribute(name="HTMLStyleElement") public class HTMLStyleElement extends HTMLElement implements com.aspose.html.dom.runtime.modules.ILinkStyleEx, ILinkStyle
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, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
EventMap
PropertyChanged
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.
|
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.
|
String |
getType()
The content type of the style sheet language.
|
void |
setDisabled(boolean value)
Enables/disables the style sheet.
|
void |
setMedia(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(String value)
The content type of the style sheet language.
|
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, 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, getBaseURI, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getRegisteredObservers, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceAll, replaceChild, setNodeValue, setParentNode, setPrefix, toString
addEventListener, addEventListener, addEventListener, addEventListener, dispatchEvent, dispose, removeEventListener, removeEventListener, removeEventListener
fireNotifyPropertyChanged, getCurrentValues, getRuntimesBinding, setCurrentValues, setField, setRuntimesBinding
public 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 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(String value)
Designed for use with one or more target media. See the media attribute definition in HTML 4.01.
@DOMNameAttribute(name="type") public 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(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 ILinkStyle
public com.aspose.html.dom.css.engine.CSSStyleSheet getStyleSheet()
Gets the associated style sheet.
getStyleSheet
in interface com.aspose.html.dom.runtime.modules.ILinkStyleEx
public 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