|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.dom.client.Style
org.xwiki.gwt.dom.client.Style
public class Style
Extends the Style to add constants for standard property names and values.
| Nested Class Summary | |
|---|---|
static class |
Style.Display
Standard values for DISPLAY. |
static class |
Style.Float
Standard values for FLOAT. |
static class |
Style.FloatProperty
Defines the float CSS property. |
static class |
Style.FontSize
The font-size property sets the size of a font. |
static class |
Style.FontStyle
Standard values for FONT_STYLE. |
static class |
Style.FontWeight
Standard values for FONT_WEIGHT. |
static class |
Style.IEFloatProperty
Internet Explorer specific implementation of Style.FloatProperty. |
static class |
Style.Margin
Standard values for MARGIN_LEFT and MARGIN_RIGHT properties. |
static class |
Style.Position
Standard values for POSITION. |
static class |
Style.TextAlign
The text-align property aligns the text in an element. |
static class |
Style.TextDecoration
Standard values for TEXT_DECORATION. |
static class |
Style.Visibility
Standard values for VISIBILITY. |
| Nested classes/interfaces inherited from class com.google.gwt.dom.client.Style |
|---|
com.google.gwt.dom.client.Style.BorderStyle, com.google.gwt.dom.client.Style.Cursor, com.google.gwt.dom.client.Style.HasCssName, com.google.gwt.dom.client.Style.ListStyleType, com.google.gwt.dom.client.Style.Overflow, com.google.gwt.dom.client.Style.Unit, com.google.gwt.dom.client.Style.VerticalAlign |
| Field Summary | |
|---|---|
static java.lang.String |
BACKGROUND_COLOR
Sets the background color of an element. |
static java.lang.String |
DISPLAY
Sets how/if an element is displayed. |
static Property |
FLOAT
The float property specifies whether or not a box (an element) should float. |
static Property |
FONT_FAMILY
The font-family property is a prioritized list of font family names and/or generic family names for an element. |
static Property |
FONT_SIZE
The font-size property sets the size of a font. |
static Property |
FONT_STYLE
Sets the style of a font. |
static Property |
FONT_WEIGHT
Sets how thick or thin characters in text should be displayed. |
static java.lang.String |
HEIGHT
sets the height of an element. |
static java.lang.String |
LEFT
Sets how far the left edge of an element is to the right/left of the left edge of the parent element. |
static Property |
MARGIN_LEFT
The margin-left property sets the left margin of an element. |
static Property |
MARGIN_RIGHT
The margin-right property sets the right margin of an element. |
static java.lang.String |
POSITION
Places an element in a static, relative, absolute or fixed position. |
static java.lang.String |
STYLE_ATTRIBUTE
The name of the style attribute. |
static java.lang.String |
STYLE_PROPERTY
The name of the style property holding the value of the STYLE_ATTRIBUTE. |
static Property |
TEXT_ALIGN
The text-align property aligns the text in an element. |
static Property |
TEXT_DECORATION
Decorates the text. |
static java.lang.String |
TOP
Sets how far the top edge of an element is above/below the top edge of the parent element. |
static java.lang.String |
VISIBILITY
The visibility property sets if an element should be visible or invisible. |
static java.lang.String |
WIDTH
Sets the width of an element. |
static java.lang.String |
Z_INDEX
Sets the stack order of an element. |
| Constructor Summary | |
|---|---|
protected |
Style()
Default constructor. |
| Method Summary | |
|---|---|
static java.lang.String |
toCamelCase(java.lang.String propertyName)
Some browsers expect the camel case form of a style property. |
| Methods inherited from class com.google.gwt.dom.client.Style |
|---|
clearBackgroundColor, clearBackgroundImage, clearBorderColor, clearBorderStyle, clearBorderWidth, clearBottom, clearColor, clearCursor, clearDisplay, clearFontSize, clearFontStyle, clearFontWeight, clearHeight, clearLeft, clearListStyleType, clearMargin, clearMarginBottom, clearMarginLeft, clearMarginRight, clearMarginTop, clearOpacity, clearOverflow, clearPadding, clearPaddingBottom, clearPaddingLeft, clearPaddingRight, clearPaddingTop, clearPosition, clearProperty, clearRight, clearTextDecoration, clearTop, clearVisibility, clearWidth, clearZIndex, getBackgroundColor, getBackgroundImage, getBorderColor, getBorderStyle, getBorderWidth, getBottom, getColor, getCursor, getDisplay, getFontSize, getFontStyle, getFontWeight, getHeight, getLeft, getListStyleType, getMargin, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getOpacity, getOverflow, getPadding, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPosition, getProperty, getRight, getTextDecoration, getTop, getVerticalAlign, getVisibility, getWidth, getZIndex, setBackgroundColor, setBackgroundImage, setBorderColor, setBorderStyle, setBorderWidth, setBottom, setColor, setCursor, setDisplay, setFontSize, setFontStyle, setFontWeight, setHeight, setLeft, setListStyleType, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setOpacity, setOverflow, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPosition, setProperty, setProperty, setPropertyPx, setRight, setTextDecoration, setTop, setVerticalAlign, setVerticalAlign, setVisibility, setWidth, setZIndex |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String STYLE_ATTRIBUTE
public static final java.lang.String STYLE_PROPERTY
STYLE_ATTRIBUTE.
public static final java.lang.String DISPLAY
public static final java.lang.String BACKGROUND_COLOR
public static final java.lang.String Z_INDEX
public static final Property FONT_WEIGHT
public static final Property FONT_STYLE
public static final Property TEXT_DECORATION
public static final Property TEXT_ALIGN
public static final Property FONT_FAMILY
public static final Property FONT_SIZE
public static final java.lang.String WIDTH
public static final java.lang.String HEIGHT
public static final java.lang.String TOP
public static final java.lang.String LEFT
public static final java.lang.String POSITION
public static final java.lang.String VISIBILITY
DISPLAY property to create invisible elements that do not take up space.
public static final Property FLOAT
public static final Property MARGIN_LEFT
public static final Property MARGIN_RIGHT
| Constructor Detail |
|---|
protected Style()
| Method Detail |
|---|
public static java.lang.String toCamelCase(java.lang.String propertyName)
propertyName - The name of style property.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||