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 BaseHtmlElement
Represents 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 String
getType()
Returns the type of style being applied by this statement.void
setType(String type)
Sets the type of style being applied by this statement.-
Methods inherited from class org.pepstock.charba.client.dom.BaseHtmlElement
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, getChildElementCount, getClientHeight, getClientLeft, getClientTop, getClientWidth, getElementsByTagName, getFirstElementChild, getId, getInnerHTML, getLastElementChild, getNextElementSibling, getOuterHTML, getPreviousElementSibling, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getTagName, hasAttributes, remove, setId, setInnerHTML
-
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, 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
-
-