java.lang.Object | ||
↳ | com.google.gwt.core.client.JavaScriptObject | |
↳ | com.google.gwt.dom.client.Style |
Provides programmatic access to properties of the style object.
Note that if a property or value is not explicitly enumerated in this
class, you can still access it via getProperty(String)
,
and setProperty(String, String)
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Style.BorderStyle | Enum for the border-style property. | ||||||||||
Style.Cursor | Enum for the cursor property. | ||||||||||
Style.Display | Enum for the display property. | ||||||||||
Style.Float | Enum for the float property. | ||||||||||
Style.FontStyle | Enum for the font-style property. | ||||||||||
Style.FontWeight | Enum for the font-weight property. | ||||||||||
Style.HasCssName | Interface to be implemented by enumerated CSS values. | ||||||||||
Style.ListStyleType | Enum for the list-style-type property. | ||||||||||
Style.Overflow | Enum for the overflow property. | ||||||||||
Style.Position | Enum for the display property. | ||||||||||
Style.TableLayout | Enum for the table-layout property. | ||||||||||
Style.TextDecoration | Enum for the text-decoration property. | ||||||||||
Style.Unit | CSS length units. | ||||||||||
Style.VerticalAlign | Enum for the vertical-align property. | ||||||||||
Style.Visibility | Enum for the visibility property. |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Clear the background-color css property.
| |||||||||||
Clear the background-image css property.
| |||||||||||
Clear the border-color css property.
| |||||||||||
Clears the border-style CSS property.
| |||||||||||
Clear the border-width css property.
| |||||||||||
Clear the bottom css property.
| |||||||||||
Clear the color css property.
| |||||||||||
Clears the cursor CSS property.
| |||||||||||
Clears the display CSS property.
| |||||||||||
Clear the font-size css property.
| |||||||||||
Clear the font-size css property.
| |||||||||||
Clears the font-style CSS property.
| |||||||||||
Clears the font-weight CSS property.
| |||||||||||
Clear the height css property.
| |||||||||||
Clear the left css property.
| |||||||||||
Clears the list-style-type CSS property.
| |||||||||||
Clear the margin css property.
| |||||||||||
Clear the margin-bottom css property.
| |||||||||||
Clear the margin-left css property.
| |||||||||||
Clear the margin-right css property.
| |||||||||||
Clear the margin-top css property.
| |||||||||||
Clear the opacity css property.
| |||||||||||
Clears the overflow CSS property.
| |||||||||||
Clears the overflow-x CSS property.
| |||||||||||
Clears the overflow-y CSS property.
| |||||||||||
Clear the padding css property.
| |||||||||||
Clear the padding-bottom css property.
| |||||||||||
Clear the padding-left css property.
| |||||||||||
Clear the padding-right css property.
| |||||||||||
Clear the padding-top css property.
| |||||||||||
Clears the position CSS property.
| |||||||||||
Clears the value of a named property, causing it to revert to its default.
| |||||||||||
Clear the right css property.
| |||||||||||
Clear the table-layout css property.
| |||||||||||
Clears the text-decoration CSS property.
| |||||||||||
Clear the top css property.
| |||||||||||
Clears the visibility CSS property.
| |||||||||||
Clear the width css property.
| |||||||||||
Clear the z-index css property.
| |||||||||||
Get the background-color css property.
| |||||||||||
Get the background-image css property.
| |||||||||||
Get the border-color css property.
| |||||||||||
Gets the border-style CSS property.
| |||||||||||
Get the border-width css property.
| |||||||||||
Get the bottom css property.
| |||||||||||
Get the color css property.
| |||||||||||
Gets the cursor CSS property.
| |||||||||||
Gets the display CSS property.
| |||||||||||
Get the font-size css property.
| |||||||||||
Gets the font-style CSS property.
| |||||||||||
Gets the font-weight CSS property.
| |||||||||||
Get the height css property.
| |||||||||||
Get the left css property.
| |||||||||||
Gets the list-style-type CSS property.
| |||||||||||
Get the margin css property.
| |||||||||||
Get the margin-bottom css property.
| |||||||||||
Get the margin-left css property.
| |||||||||||
Get the margin-right css property.
| |||||||||||
Get the margin-top css property.
| |||||||||||
Get the opacity css property.
| |||||||||||
Gets the overflow CSS property.
| |||||||||||
Gets the overflow-x CSS property.
| |||||||||||
Gets the overflow-y CSS property.
| |||||||||||
Get the padding css property.
| |||||||||||
Get the padding-bottom css property.
| |||||||||||
Get the padding-left css property.
| |||||||||||
Get the padding-right css property.
| |||||||||||
Get the padding-top css property.
| |||||||||||
Gets the position CSS property.
| |||||||||||
Gets the value of a named property.
| |||||||||||
Get the right css property.
| |||||||||||
Gets the table-layout property.
| |||||||||||
Gets the text-decoration CSS property.
| |||||||||||
Get the top css property.
| |||||||||||
Gets the vertical-align CSS property.
| |||||||||||
Gets the visibility CSS property.
| |||||||||||
Get the width css property.
| |||||||||||
Get the z-index css property.
| |||||||||||
Set the background-color css property.
| |||||||||||
Set the background-image css property.
| |||||||||||
Set the border-color css property.
| |||||||||||
Sets the border-style CSS property.
| |||||||||||
Set the border-width css property.
| |||||||||||
Set the bottom css property.
| |||||||||||
Sets the color CSS property.
| |||||||||||
Sets the cursor CSS property.
| |||||||||||
Sets the display CSS property.
| |||||||||||
Set the float css property.
| |||||||||||
Set the font-size css property.
| |||||||||||
Sets the font-style CSS property.
| |||||||||||
Sets the font-weight CSS property.
| |||||||||||
Set the height css property.
| |||||||||||
Set the left css property.
| |||||||||||
Sets the list-style-type CSS property.
| |||||||||||
Set the margin css property.
| |||||||||||
Set the margin-bottom css property.
| |||||||||||
Set the margin-left css property.
| |||||||||||
Set the margin-right css property.
| |||||||||||
Set the margin-top css property.
| |||||||||||
Set the opacity css property.
| |||||||||||
Sets the overflow CSS property.
| |||||||||||
Sets the overflow-x CSS property.
| |||||||||||
Sets the overflow-y CSS property.
| |||||||||||
Set the padding css property.
| |||||||||||
Set the padding-bottom css property.
| |||||||||||
Set the padding-left css property.
| |||||||||||
Set the padding-right css property.
| |||||||||||
Set the padding-top css property.
| |||||||||||
Sets the position CSS property.
| |||||||||||
Sets the value of a named property in the specified units.
| |||||||||||
Sets the value of a named property.
| |||||||||||
Sets the value of a named property, in pixels.
| |||||||||||
Set the right css property.
| |||||||||||
Set the table-layout CSS property.
| |||||||||||
Sets the text-decoration CSS property.
| |||||||||||
Set the top css property.
| |||||||||||
Sets the vertical-align CSS property.
| |||||||||||
Sets the vertical-align CSS property.
| |||||||||||
Sets the visibility CSS property.
| |||||||||||
Set the width css property.
| |||||||||||
Set the z-index css property.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.core.client.JavaScriptObject
| |||||||||||
From class
java.lang.Object
|
Clear the background-color css property.
Clear the background-image css property.
Clear the border-color css property.
Clears the border-style CSS property.
Clear the border-width css property.
Clear the bottom css property.
Clear the color css property.
Clears the cursor CSS property.
Clears the display CSS property.
Clear the font-size css property.
Clear the font-size css property.
Clears the font-style CSS property.
Clears the font-weight CSS property.
Clear the height css property.
Clear the left css property.
Clears the list-style-type CSS property.
Clear the margin css property.
Clear the margin-bottom css property.
Clear the margin-left css property.
Clear the margin-right css property.
Clear the margin-top css property.
Clear the opacity css property.
Clears the overflow CSS property.
Clears the overflow-x CSS property.
Clears the overflow-y CSS property.
Clear the padding css property.
Clear the padding-bottom css property.
Clear the padding-left css property.
Clear the padding-right css property.
Clear the padding-top css property.
Clears the position CSS property.
Clears the value of a named property, causing it to revert to its default.
Clear the right css property.
Clear the table-layout css property.
Clears the text-decoration CSS property.
Clear the top css property.
Clears the visibility CSS property.
Clear the width css property.
Clear the z-index css property.
Sets the list-style-type CSS property.
Set the margin-bottom css property.
Set the opacity css property.
Set the padding-bottom css property.
Set the padding-right css property.
Sets the value of a named property in the specified units.
Sets the value of a named property, in pixels.
This is shorthand for value + "px"
.
Sets the text-decoration CSS property.
Sets the vertical-align CSS property.
Sets the vertical-align CSS property.
Set the z-index css property.