Class Style
- java.lang.Object
-
- org.pepstock.charba.client.dom.BaseEventTarget
-
- org.pepstock.charba.client.dom.BaseNode
-
- org.pepstock.charba.client.dom.BaseElement
-
- org.pepstock.charba.client.dom.BaseHtmlElement
-
- org.pepstock.charba.client.dom.elements.Style
-
- All Implemented Interfaces:
IsJSType
@JsType(isNative=true, name="HTMLStyleElement", namespace="<global>") public final class Style extends BaseHtmlElementRepresents a <style> and doesn't allow to manipulate the CSS it contains.- Author:
- Andrea "Stock" Stocchero
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pepstock.charba.client.dom.BaseEventTarget
BaseEventTarget.EventListenerCallback
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetType()Returns the type of style being applied by this statement.voidsetType(String type)Sets the type of style being applied by this statement.-
Methods inherited from class org.pepstock.charba.client.dom.BaseHtmlElement
blur, focus, getAbsoluteLeft, getAbsoluteTop, getInnerText, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getParentHtmlElement, getScrollingElement, getStyle, getTabIndex, removeFromParent, setInnerText, setTabIndex
-
Methods inherited from class org.pepstock.charba.client.dom.BaseElement
getAttributes, getBoundingClientRect, getChildElementCount, getClientHeight, getClientLeft, getClientTop, getClientWidth, getElementsByTagName, getFirstElementChild, getId, getInnerHTML, getLastElementChild, getNextElementSibling, getOuterHTML, getPreviousElementSibling, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getTagName, hasAttributes, hasPointerCapture, releasePointerCapture, remove, setId, setInnerHTML, setPointerCapture
-
Methods inherited from class org.pepstock.charba.client.dom.BaseNode
appendChild, cloneNode, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getTextContent, hasChildNodes, insertBefore, removeAllChildren, removeChild, setNodeValue, setTextContent
-
Methods inherited from class org.pepstock.charba.client.dom.BaseEventTarget
addEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListener
-
-
-
-
Field Detail
-
TAG
@JsOverlay public static final String TAG
The tag for this element.- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
@JsProperty public String getType()
Returns the type of style being applied by this statement.- Returns:
- the type of style being applied by this statement
-
setType
@JsProperty public void setType(String type)
Sets the type of style being applied by this statement.- Parameters:
type- the type of style being applied by this statement
-
-