public class

StyleElement

extends Element
java.lang.Object
   ↳ com.google.gwt.core.client.JavaScriptObject
     ↳ com.google.gwt.dom.client.Node
       ↳ com.google.gwt.dom.client.Element
         ↳ com.google.gwt.dom.client.StyleElement

Class Overview

Style information.

Summary

[Expand]
Inherited Constants
From class com.google.gwt.dom.client.Node
Protected Constructors
StyleElement()
Public Methods
static StyleElement as(Element elem)
Assert that the given Element is compatible with this class and automatically typecast it.
final String getCssText()
The CSS text.
final boolean getDisabled()
This method is deprecated. use isDisabled() instead
final String getMedia()
Designed for use with one or more target media.
final String getType()
The content type of the style sheet language.
final boolean isDisabled()
Enables/disables the style sheet.
final void setCssText(String cssText)
Sets the CSS text.
final void setDisabled(boolean disabled)
Enables/disables the style sheet.
final void setMedia(String media)
Designed for use with one or more target media.
final void setType(String type)
The content type of the style sheet language.
[Expand]
Inherited Methods
From class com.google.gwt.dom.client.Element
From class com.google.gwt.dom.client.Node
From class com.google.gwt.core.client.JavaScriptObject
From class java.lang.Object

Protected Constructors

protected StyleElement ()

Public Methods

public static StyleElement as (Element elem)

Assert that the given Element is compatible with this class and automatically typecast it.

public final String getCssText ()

The CSS text.

public final boolean getDisabled ()

This method is deprecated.
use isDisabled() instead

Enables/disables the style sheet.

public final String getMedia ()

Designed for use with one or more target media.

public final String getType ()

The content type of the style sheet language.

public final boolean isDisabled ()

Enables/disables the style sheet.

public final void setCssText (String cssText)

Sets the CSS text.

public final void setDisabled (boolean disabled)

Enables/disables the style sheet.

public final void setMedia (String media)

Designed for use with one or more target media.

public final void setType (String type)

The content type of the style sheet language.