API Reference 0.3.24dart_web_toolkit_utilStyle

Style class

class Style {
 
 static const String _BORDER_STYLE_SOLID = "solid";
 static const String _BORDER_STYLE_DASHED = "dashed";
 static const String _BORDER_STYLE_DOTTED = "dotted";
 static const String _BORDER_STYLE_HIDDEN = "hidden";
 static const String _BORDER_STYLE_NONE = "none";
 
 static const String _CLEAR_BOTH = "both";
 static const String _CLEAR_LEFT = "left";
 static const String _CLEAR_NONE = "none";
 static const String _CLEAR_RIGHT = "right";

 static const String _CURSOR_ROW_RESIZE = "row-resize";
 static const String _CURSOR_COL_RESIZE = "col-resize";
 static const String _CURSOR_HELP = "help";
 static const String _CURSOR_WAIT = "wait";
 static const String _CURSOR_TEXT = "text";
 static const String _CURSOR_W_RESIZE = "w-resize";
 static const String _CURSOR_S_RESIZE = "s-resize";
 static const String _CURSOR_SW_RESIZE = "sw-resize";
 static const String _CURSOR_SE_RESIZE = "se-resize";
 static const String _CURSOR_N_RESIZE = "n-resize";
 static const String _CURSOR_NW_RESIZE = "nw-resize";
 static const String _CURSOR_NE_RESIZE = "ne-resize";
 static const String _CURSOR_E_RESIZE = "e-resize";
 static const String _CURSOR_MOVE = "move";
 static const String _CURSOR_POINTER = "pointer";
 static const String _CURSOR_CROSSHAIR = "crosshair";
 static const String _CURSOR_AUTO = "auto";
 static const String _CURSOR_DEFAULT = "default";

 static const String _DISPLAY_INLINE_BLOCK = "inline-block";
 static const String _DISPLAY_INLINE = "inline";
 static const String _DISPLAY_BLOCK = "block";
 static const String _DISPLAY_NONE = "none";

 static const String _FLOAT_LEFT = "left";
 static const String _FLOAT_RIGHT = "right";
 static const String _FLOAT_NONE = "none";

 static const String _FONT_STYLE_OBLIQUE = "oblique";
 static const String _FONT_STYLE_ITALIC = "italic";
 static const String _FONT_STYLE_NORMAL = "normal";

 static const String _FONT_WEIGHT_LIGHTER = "lighter";
 static const String _FONT_WEIGHT_BOLDER = "bolder";
 static const String _FONT_WEIGHT_BOLD = "bold";
 static const String _FONT_WEIGHT_NORMAL = "normal";

 static const String _LIST_STYLE_TYPE_UPPER_ROMAN = "upper-roman";
 static const String _LIST_STYLE_TYPE_LOWER_ROMAN = "lower-roman";
 static const String _LIST_STYLE_TYPE_UPPER_ALPHA = "upper-alpha";
 static const String _LIST_STYLE_TYPE_LOWER_ALPHA = "lower-alpha";
 static const String _LIST_STYLE_TYPE_DECIMAL = "decimal";
 static const String _LIST_STYLE_TYPE_SQUARE = "square";
 static const String _LIST_STYLE_TYPE_CIRCLE = "circle";
 static const String _LIST_STYLE_TYPE_DISC = "disc";
 static const String _LIST_STYLE_TYPE_NONE = "none";

 static const String _OUTLINE_STYLE_DASHED = "dashed";
 static const String _OUTLINE_STYLE_DOTTED = "dotted";
 static const String _OUTLINE_STYLE_DOUBLE = "double";
 static const String _OUTLINE_STYLE_GROOVE = "groove";
 static const String _OUTLINE_STYLE_INSET = "inset";
 static const String _OUTLINE_STYLE_NONE = "none";
 static const String _OUTLINE_STYLE_OUTSET = "outset";
 static const String _OUTLINE_STYLE_RIDGE = "ridge";
 static const String _OUTLINE_STYLE_SOLID = "solid";
 
 static const String _OVERFLOW_AUTO = "auto";
 static const String _OVERFLOW_SCROLL = "scroll";
 static const String _OVERFLOW_HIDDEN = "hidden";
 static const String _OVERFLOW_VISIBLE = "visible";

 static const String _POSITION_FIXED = "fixed";
 static const String _POSITION_ABSOLUTE = "absolute";
 static const String _POSITION_RELATIVE = "relative";
 static const String _POSITION_STATIC = "static const";

 static const String _STYLE_Z_INDEX = "zIndex";
 static const String _STYLE_WIDTH = "width";
 static const String _STYLE_VISIBILITY = "visibility";
 static const String _STYLE_TOP = "top";
 static const String _STYLE_TEXT_DECORATION = "textDecoration";
 static const String _STYLE_RIGHT = "right";
 static const String _STYLE_POSITION = "position";
 static const String _STYLE_PADDING_TOP = "paddingTop";
 static const String _STYLE_PADDING_RIGHT = "paddingRight";
 static const String _STYLE_PADDING_LEFT = "paddingLeft";
 static const String _STYLE_PADDING_BOTTOM = "paddingBottom";
 static const String _STYLE_PADDING = "padding";
 static const String _STYLE_OVERFLOW = "overflow";
 static const String _STYLE_OVERFLOW_X = "overflowX";
 static const String _STYLE_OVERFLOW_Y = "overflowY";
 static const String _STYLE_OPACITY = "opacity";
 static const String _STYLE_MARGIN_TOP = "marginTop";
 static const String _STYLE_MARGIN_RIGHT = "marginRight";
 static const String _STYLE_MARGIN_LEFT = "marginLeft";
 static const String _STYLE_MARGIN_BOTTOM = "marginBottom";
 static const String _STYLE_MARGIN = "margin";
 static const String _STYLE_LIST_STYLE_TYPE = "listStyleType";
 static const String _STYLE_LEFT = "left";
 static const String _STYLE_HEIGHT = "height";
 static const String _STYLE_FONT_WEIGHT = "fontWeight";
 static const String _STYLE_FONT_STYLE = "fontStyle";
 static const String _STYLE_FONT_SIZE = "fontSize";
 static const String _STYLE_DISPLAY = "display";
 static const String _STYLE_CURSOR = "cursor";
 static const String _STYLE_COLOR = "color";
 static const String _STYLE_CLEAR = "clear";
 static const String _STYLE_BOTTOM = "bottom";
 static const String _STYLE_BORDER_WIDTH = "borderWidth";
 static const String _STYLE_BORDER_STYLE = "borderStyle";
 static const String _STYLE_BORDER_COLOR = "borderColor";
 static const String _STYLE_BACKGROUND_IMAGE = "backgroundImage";
 static const String _STYLE_BACKGROUND_COLOR = "backgroundColor";
 static const String _STYLE_VERTICAL_ALIGN = "verticalAlign";
 static const String _STYLE_TABLE_LAYOUT = "tableLayout";
 static const String _STYLE_TEXT_ALIGN = "textAlign";
 static const String _STYLE_TEXT_INDENT = "textIndent";
 static const String _STYLE_TEXT_JUSTIFY = "textJustify";
 static const String _STYLE_TEXT_OVERFLOW = "textOverflow";
 static const String _STYLE_TEXT_TRANSFORM = "textTransform";
 static const String _STYLE_OUTLINE_WIDTH = "outlineWidth";
 static const String _STYLE_OUTLINE_STYLE = "outlineStyle";
 static const String _STYLE_OUTLINE_COLOR = "outlineColor";
 static const String _STYLE_LINE_HEIGHT = "lineHeight";
 static const String _STYLE_WHITE_SPACE = "whiteSpace";
 
 static const String _TABLE_LAYOUT_AUTO = "auto";
 static const String _TABLE_LAYOUT_FIXED = "fixed";
 
 static const String _TEXT_ALIGN_CENTER = "center";
 static const String _TEXT_ALIGN_JUSTIFY = "justify";
 static const String _TEXT_ALIGN_LEFT = "left";
 static const String _TEXT_ALIGN_RIGHT = "right";

 static const String _TEXT_DECORATION_BLINK = "blink";
 static const String _TEXT_DECORATION_LINE_THROUGH = "line-through";
 static const String _TEXT_DECORATION_NONE = "none";
 static const String _TEXT_DECORATION_OVERLINE = "overline";
 static const String _TEXT_DECORATION_UNDERLINE = "underline";
 
 static const String _TEXT_JUSTIFY_AUTO = "auto";
 static const String _TEXT_JUSTIFY_DISTRIBUTE = "distribute";
 static const String _TEXT_JUSTIFY_INTER_CLUSTER = "inter-cluster";
 static const String _TEXT_JUSTIFY_INTER_IDEOGRAPH = "inter-ideograph";
 static const String _TEXT_JUSTIFY_INTER_WORD = "inter-word";
 static const String _TEXT_JUSTIFY_KASHIDA = "kashida";
 static const String _TEXT_JUSTIFY_NONE = "none";
 
 static const String _TEXT_OVERFLOW_CLIP = "clip";
 static const String _TEXT_OVERFLOW_ELLIPSIS = "ellipsis";

 static const String _TEXT_TRANSFORM_CAPITALIZE = "capitalize";
 static const String _TEXT_TRANSFORM_NONE = "none";
 static const String _TEXT_TRANSFORM_LOWERCASE = "lowercase";
 static const String _TEXT_TRANSFORM_UPPERCASE = "uppercase";
 
 static const String _UNIT_MM = "mm";
 static const String _UNIT_CM = "cm";
 static const String _UNIT_IN = "in";
 static const String _UNIT_PC = "pc";
 static const String _UNIT_PT = "pt";
 static const String _UNIT_EX = "ex";
 static const String _UNIT_EM = "em";
 static const String _UNIT_PCT = "%";
 static const String _UNIT_PX = "px";
 
 static const String _VERTICAL_ALIGN_BASELINE = "baseline";
 static const String _VERTICAL_ALIGN_SUB = "sub";
 static const String _VERTICAL_ALIGN_SUPER = "super";
 static const String _VERTICAL_ALIGN_TOP = "top";
 static const String _VERTICAL_ALIGN_TEXT_TOP = "text-top";
 static const String _VERTICAL_ALIGN_MIDDLE = "middle";
 static const String _VERTICAL_ALIGN_BOTTOM = "bottom";
 static const String _VERTICAL_ALIGN_TEXT_BOTTOM = "text-bottom";

 static const String _VISIBILITY_HIDDEN = "hidden";
 static const String _VISIBILITY_VISIBLE = "visible";
 
 static const String _WHITE_SPACE_NORMAL = "normal";
 static const String _WHITE_SPACE_NOWRAP = "nowrap";
 static const String _WHITE_SPACE_PRE = "pre";
 static const String _WHITE_SPACE_PRE_LINE = "pre-line";
 static const String _WHITE_SPACE_PRE_WRAP = "pre-wrap";
 
 dart_html.Element _el;
 
 void setElement(dart_html.Element el) {
   this._el = el;
 }
 
 /**
  * Clear the background-color css property.
  */
 void clearBackgroundColor() {
    clearProperty(_STYLE_BACKGROUND_COLOR);
 }

 /**
  * Clear the background-image css property.
  */
 void clearBackgroundImage() {
    clearProperty(_STYLE_BACKGROUND_IMAGE);
 }

 /**
  * Clear the border-color css property.
  */
 void clearBorderColor() {
    clearProperty(_STYLE_BORDER_COLOR);
 }

 /**
  * Clears the border-style CSS property.
  */
 void clearBorderStyle() {
   clearProperty(_STYLE_BORDER_STYLE);
 }

 /**
  * Clear the border-width css property.
  */
 void clearBorderWidth() {
    clearProperty(_STYLE_BORDER_WIDTH);
 }

 /**
  * Clear the bottom css property.
  */
 void clearBottom() {
    clearProperty(_STYLE_BOTTOM);
 }

 /**
  * Clear the 'clear' CSS property.
  */
 void clearClear() {
    clearProperty(_STYLE_CLEAR);
 }

 /**
  * Clear the color css property.
  */
 void clearColor() {
    clearProperty(_STYLE_COLOR);
 }

 /**
  * Clears the cursor CSS property.
  */
 void clearCursor() {
   clearProperty(_STYLE_CURSOR);
 }

 /**
  * Clears the display CSS property.
  */
 void clearDisplay() {
   clearProperty(_STYLE_DISPLAY);
 }

 /**
  * Clear the float css property.
  */
 void clearFloat() {
   clearProperty(event.Dom.cssFloatPropertyName());
 }

 /**
  * Clear the font-size css property.
  */
 void clearFontSize() {
   clearProperty(_STYLE_FONT_SIZE);
 }

 /**
  * Clears the font-style CSS property.
  */
 void clearFontStyle() {
   clearProperty(_STYLE_FONT_STYLE);
 }

 /**
  * Clears the font-weight CSS property.
  */
 void clearFontWeight() {
   clearProperty(_STYLE_FONT_WEIGHT);
 }

 /**
  * Clear the height css property.
  */
 void clearHeight() {
    clearProperty(_STYLE_HEIGHT);
 }

 /**
  * Clear the left css property.
  */
 void clearLeft() {
    clearProperty(_STYLE_LEFT);
 }

 /**
  * Clear the line-height css property.
  */
 void clearLineHeight() {
    clearProperty(_STYLE_LINE_HEIGHT);
 }

 /**
  * Clears the list-style-type CSS property.
  */
 void clearListStyleType() {
   clearProperty(_STYLE_LIST_STYLE_TYPE);
 }

 /**
  * Clear the margin css property.
  */
 void clearMargin() {
    clearProperty(_STYLE_MARGIN);
 }

 /**
  * Clear the margin-bottom css property.
  */
 void clearMarginBottom() {
    clearProperty(_STYLE_MARGIN_BOTTOM);
 }

 /**
  * Clear the margin-left css property.
  */
 void clearMarginLeft() {
    clearProperty(_STYLE_MARGIN_LEFT);
 }

 /**
  * Clear the margin-right css property.
  */
 void clearMarginRight() {
    clearProperty(_STYLE_MARGIN_RIGHT);
 }

 /**
  * Clear the margin-top css property.
  */
 void clearMarginTop() {
    clearProperty(_STYLE_MARGIN_TOP);
 }

 /**
  * Clear the opacity css property.
  */
 void clearOpacity() {
   event.Dom.cssClearOpacity(_el);
 }

 /**
  * Clear the outline-color css property.
  */
 void clearOutlineColor() {
    clearProperty(_STYLE_OUTLINE_COLOR);
 }

 /**
  * Clears the outline-style CSS property.
  */
 void clearOutlineStyle() {
   clearProperty(_STYLE_OUTLINE_STYLE);
 }

 /**
  * Clear the outline-width css property.
  */
 void clearOutlineWidth() {
    clearProperty(_STYLE_OUTLINE_WIDTH);
 }

 /**
  * Clears the overflow CSS property.
  */
 void clearOverflow() {
   clearProperty(_STYLE_OVERFLOW);
 }

 /**
  * Clears the overflow-x CSS property.
  */
 void clearOverflowX() {
   clearProperty(_STYLE_OVERFLOW_X);
 }
 
 /**
  * Clears the overflow-y CSS property.
  */
 void clearOverflowY() {
   clearProperty(_STYLE_OVERFLOW_Y);
 }
 
 /**
  * Clear the padding css property.
  */
 void clearPadding() {
    clearProperty(_STYLE_PADDING);
 }

 /**
  * Clear the padding-bottom css property.
  */
 void clearPaddingBottom() {
    clearProperty(_STYLE_PADDING_BOTTOM);
 }

 /**
  * Clear the padding-left css property.
  */
 void clearPaddingLeft() {
    clearProperty(_STYLE_PADDING_LEFT);
 }

 /**
  * Clear the padding-right css property.
  */
 void clearPaddingRight() {
    clearProperty(_STYLE_PADDING_RIGHT);
 }

 /**
  * Clear the padding-top css property.
  */
 void clearPaddingTop() {
    clearProperty(_STYLE_PADDING_TOP);
 }

 /**
  * Clears the position CSS property.
  */
 void clearPosition() {
   clearProperty(_STYLE_POSITION);
 }

 /**
  * Clears the value of a named property, causing it to revert to its default.
  */
 void clearProperty(String name) {
   setProperty(name, "");
 }

 /**
  * Clear the right css property.
  */
 void clearRight() {
    clearProperty(_STYLE_RIGHT);
 }

 /**
  * Clear the table-layout css property.
  */
 void clearTableLayout() {
   clearProperty(_STYLE_TABLE_LAYOUT);
 }

 /**
  * Clear the 'text-align' CSS property.
  */
 void clearTextAlign() {
   clearProperty(_STYLE_TEXT_ALIGN);
 }

 /**
  * Clears the text-decoration CSS property.
  */
 void clearTextDecoration() {
   clearProperty(_STYLE_TEXT_DECORATION);
 }
 
 /**
  * Clear the 'text-indent' CSS property.
  */
 void clearTextIndent() {
   clearProperty(_STYLE_TEXT_INDENT);
 }
 
 /**
  * Clear the 'text-justify' CSS3 property.
  */
 void clearTextJustify() {
   clearProperty(_STYLE_TEXT_JUSTIFY);
 }
 
 /**
  * Clear the 'text-overflow' CSS3 property.
  */
 void clearTextOverflow() {
   clearProperty(_STYLE_TEXT_OVERFLOW);
 }
 
 /**
  * Clear the 'text-transform' CSS property.
  */
 void clearTextTransform() {
   clearProperty(_STYLE_TEXT_TRANSFORM);
 }

 /**
  * Clear the top css property.
  */
 void clearTop() {
    clearProperty(_STYLE_TOP);
 }

 /**
  * Clears the visibility CSS property.
  */
 void clearVisibility() {
   clearProperty(_STYLE_VISIBILITY);
 }

 /**
  * Clear the 'white-space' CSS property.
  */
 void clearWhiteSpace() {
   clearProperty(_STYLE_WHITE_SPACE);
 }

 /**
  * Clear the width css property.
  */
 void clearWidth() {
    clearProperty(_STYLE_WIDTH);
 }

 /**
  * Clear the z-index css property.
  */
 void clearZIndex() {
    clearProperty(_STYLE_Z_INDEX);
 }

 /**
  * Get the background-color css property.
  */
 String getBackgroundColor() {
   return getProperty(_STYLE_BACKGROUND_COLOR);
 }

 /**
  * Get the background-image css property.
  */
 String getBackgroundImage() {
   return getProperty(_STYLE_BACKGROUND_IMAGE);
 }

 /**
  * Get the border-color css property.
  */
 String getBorderColor() {
   return getProperty(_STYLE_BORDER_COLOR);
 }

 /**
  * Gets the border-style CSS property.
  */
 String getBorderStyle() {
   return getProperty(_STYLE_BORDER_STYLE);
 }

 /**
  * Get the border-width css property.
  */
 String getBorderWidth() {
   return getProperty(_STYLE_BORDER_WIDTH);
 }

 /**
  * Get the bottom css property.
  */
 String getBottom() {
   return getProperty(_STYLE_BOTTOM);
 }

 /**
  * Get the 'clear' CSS property.
  */
 String getClear() {
   return getProperty(_STYLE_CLEAR);
 }

 /**
  * Get the color css property.
  */
 String getColor() {
   return getProperty(_STYLE_COLOR);
 }

 /**
  * Gets the cursor CSS property.
  */
 String getCursor() {
   return getProperty(_STYLE_CURSOR);
 }

 /**
  * Gets the display CSS property.
  */
 String getDisplay() {
   return getProperty(_STYLE_DISPLAY);
 }

 /**
  * Get the font-size css property.
  */
 String getFontSize() {
   return getProperty(_STYLE_FONT_SIZE);
 }

 /**
  * Gets the font-style CSS property.
  */
 String getFontStyle() {
   return getProperty(_STYLE_FONT_STYLE);
 }

 /**
  * Gets the font-weight CSS property.
  */
 String getFontWeight() {
   return getProperty(_STYLE_FONT_WEIGHT);
 }

 /**
  * Get the height css property.
  */
 String getHeight() {
   return getProperty(_STYLE_HEIGHT);
 }

 /**
  * Get the left css property.
  */
 String getLeft() {
   return getProperty(_STYLE_LEFT);
 }

 /**
  * Get the line-height css property.
  */
 String getLineHeight() {
   return getProperty(_STYLE_LINE_HEIGHT);
 }

 /**
  * Gets the list-style-type CSS property.
  */
 String getListStyleType() {
   return getProperty(_STYLE_LIST_STYLE_TYPE);
 }

 /**
  * Get the margin css property.
  */
 String getMargin() {
   return getProperty(_STYLE_MARGIN);
 }

 /**
  * Get the margin-bottom css property.
  */
 String getMarginBottom() {
   return getProperty(_STYLE_MARGIN_BOTTOM);
 }

 /**
  * Get the margin-left css property.
  */
 String getMarginLeft() {
   return getProperty(_STYLE_MARGIN_LEFT);
 }

 /**
  * Get the margin-right css property.
  */
 String getMarginRight() {
   return getProperty(_STYLE_MARGIN_RIGHT);
 }

 /**
  * Get the margin-top css property.
  */
 String getMarginTop() {
   return getProperty(_STYLE_MARGIN_TOP);
 }

 /**
  * Get the opacity css property.
  */
 String getOpacity() {
   return getProperty(_STYLE_OPACITY);
 }

 /**
  * Gets the overflow CSS property.
  */
 String getOverflow() {
   return getProperty(_STYLE_OVERFLOW);
 }

 /**
  * Gets the overflow-x CSS property. 
  */
 String getOverflowX() {
   return getProperty(_STYLE_OVERFLOW_X);
 }

 /**
  * Gets the overflow-y CSS property. 
  */
 String getOverflowY() {
   return getProperty(_STYLE_OVERFLOW_Y);
 }

 /**
  * Get the padding css property.
  */
 String getPadding() {
   return getProperty(_STYLE_PADDING);
 }

 /**
  * Get the padding-bottom css property.
  */
 String getPaddingBottom() {
   return getProperty(_STYLE_PADDING_BOTTOM);
 }

 /**
  * Get the padding-left css property.
  */
 String getPaddingLeft() {
   return getProperty(_STYLE_PADDING_LEFT);
 }

 /**
  * Get the padding-right css property.
  */
 String getPaddingRight() {
   return getProperty(_STYLE_PADDING_RIGHT);
 }

 /**
  * Get the padding-top css property.
  */
 String getPaddingTop() {
   return getProperty(_STYLE_PADDING_TOP);
 }

 /**
  * Gets the position CSS property.
  */
 String getPosition() {
   return getProperty(_STYLE_POSITION);
 }

 /**
  * Gets the value of a named property.
  */
 String getProperty(String name) {
   _assertCamelCase(name);
   return _getPropertyImpl(name);
 }

 /**
  * Get the right css property.
  */
 String getRight() {
   return getProperty(_STYLE_RIGHT);
 }

 /**
  * Gets the table-layout property.
  */
 String getTableLayout() {
   return getProperty(_STYLE_TABLE_LAYOUT);
 }

 /**
  * Get the 'text-align' CSS property.
  */
 String getTextAlign() {
   return getProperty(_STYLE_TEXT_ALIGN);
 }

 /**
  * Gets the text-decoration CSS property.
  */
 String getTextDecoration() {
   return getProperty(_STYLE_TEXT_DECORATION);
 }
 
 /**
  * Get the 'text-indent' CSS property.
  */
 String getTextIndent() {
   return getProperty(_STYLE_TEXT_INDENT);
 }
 
 /**
  * Get the 'text-justify' CSS3 property.
  */
 String getTextJustify() {
   return getProperty(_STYLE_TEXT_JUSTIFY);
 }

 /**
  * Get the 'text-overflow' CSS3 property.
  */
 String getTextOverflow() {
   return getProperty(_STYLE_TEXT_OVERFLOW);
 }

 /**
  * Get the 'text-transform' CSS property.
  */
 String getTextTransform() {
   return getProperty(_STYLE_TEXT_TRANSFORM);
 }

 /**
  * Get the top css property.
  */
 String getTop() {
   return getProperty(_STYLE_TOP);
 }

 /**
  * Gets the vertical-align CSS property.
  */
 String getVerticalAlign() {
   return getProperty(_STYLE_VERTICAL_ALIGN);
 }

 /**
  * Gets the visibility CSS property.
  */
 String getVisibility() {
   return getProperty(_STYLE_VISIBILITY);
 }

 /**
  * Get the 'white-space' CSS property.
  */
 String getWhiteSpace() {
   return getProperty(_STYLE_WHITE_SPACE);
 }

 /**
  * Get the width css property.
  */
 String getWidth() {
   return getProperty(_STYLE_WIDTH);
 }

 /**
  * Get the z-index css property.
  */
 String getZIndex() {
   return event.Dom.getStyleProperty(_el, _STYLE_Z_INDEX);
 }

 /**
  * Set the background-color css property.
  */
 void setBackgroundColor(String value) {
   setProperty(_STYLE_BACKGROUND_COLOR, value);
 }

 /**
  * Set the background-image css property.
  */
 void setBackgroundImage(String value) {
   setProperty(_STYLE_BACKGROUND_IMAGE, value);
 }

 /**
  * Set the border-color css property.
  */
 void setBorderColor(String value) {
   setProperty(_STYLE_BORDER_COLOR, value);
 }

 /**
  * Sets the border-style CSS property.
  */
 void setBorderStyle(BorderStyle value) {
   setProperty(_STYLE_BORDER_STYLE, value.value);
 }

 /**
  * Set the border-width css property.
  */
 void setBorderWidth(double value, Unit unit) {
   setProperty(_STYLE_BORDER_WIDTH, value, unit);
 }

 /**
  * Set the bottom css property.
  */
 void setBottom(double value, Unit unit) {
   setProperty(_STYLE_BOTTOM, value, unit);
 }

 /**
  * Sets the 'clear' CSS property.
  */
 void setClear(Clear value) {
   setProperty(_STYLE_CLEAR, value.value);
 }

 /**
  * Sets the color CSS property.
  */
 void setColor(String value) {
   setProperty(_STYLE_COLOR, value);
 }

 /**
  * Sets the cursor CSS property.
  */
 void setCursor(Cursor value) {
   setProperty(_STYLE_CURSOR, value.value);
 }

 /**
  * Sets the display CSS property.
  */
 void setDisplay(Display value) {
   setProperty(_STYLE_DISPLAY, value.value);
 }

 /**
  * Set the float css property.
  */
 void setFloat(Float value) {
   setProperty(event.Dom.cssFloatPropertyName(), value.value);
 }

 /**
  * Set the font-size css property.
  */
 void setFontSize(double value, Unit unit) {
   setProperty(_STYLE_FONT_SIZE, value, unit);
 }

 /**
  * Sets the font-style CSS property.
  */
 void setFontStyle(FontStyle value) {
   setProperty(_STYLE_FONT_STYLE, value.value);
 }

 /**
  * Sets the font-weight CSS property.
  */
 void setFontWeight(FontWeight value) {
   setProperty(_STYLE_FONT_WEIGHT, value.value);
 }

 /**
  * Set the height css property.
  */
 void setHeight(double value, Unit unit) {
   setProperty(_STYLE_HEIGHT, value, unit);
 }

 /**
  * Set the left css property.
  */
 void setLeft(double value, Unit unit) {
   setProperty(_STYLE_LEFT, value, unit);
 }

 /**
  * Set the line-height css property.
  */
 void setLineHeight(double value, Unit unit) {
   setProperty(_STYLE_LINE_HEIGHT, value, unit);
 }

 /**
  * Sets the list-style-type CSS property.
  */
 void setListStyleType(ListStyleType value) {
   setProperty(_STYLE_LIST_STYLE_TYPE, value.value);
 }

 /**
  * Set the margin css property.
  */
 void setMargin(double value, Unit unit) {
   setProperty(_STYLE_MARGIN, value, unit);
 }

 /**
  * Set the margin-bottom css property.
  */
 void setMarginBottom(double value, Unit unit) {
   setProperty(_STYLE_MARGIN_BOTTOM, value, unit);
 }

 /**
  * Set the margin-left css property.
  */
 void setMarginLeft(double value, Unit unit) {
   setProperty(_STYLE_MARGIN_LEFT, value, unit);
 }

 /**
  * Set the margin-right css property.
  */
 void setMarginRight(double value, Unit unit) {
   setProperty(_STYLE_MARGIN_RIGHT, value, unit);
 }

 /**
  * Set the margin-top css property.
  */
 void setMarginTop(double value, Unit unit) {
   setProperty(_STYLE_MARGIN_TOP, value, unit);
 }

 /**
  * Set the opacity css property.
  */
 void setOpacity(double value) {
   event.Dom.cssSetOpacity(_el, value);
 }

 /**
  * Set the outline-color css property.
  */
 void setOutlineColor(String value) {
   setProperty(_STYLE_OUTLINE_COLOR, value);
 }

 /**
  * Sets the outline-style CSS property.
  */
 void setOutlineStyle(OutlineStyle value) {
   setProperty(_STYLE_OUTLINE_STYLE, value.value);
 }

 /**
  * Set the outline-width css property.
  */
 void setOutlineWidth(double value, Unit unit) {
   setProperty(_STYLE_OUTLINE_WIDTH, value, unit);
 }

 /**
  * Sets the overflow CSS property.
  */
 void setOverflow(Overflow value) {
   setProperty(_STYLE_OVERFLOW, value.value);
 }

 /**
  * Sets the overflow-x CSS property.
  */
 void setOverflowX(Overflow value) {
   setProperty(_STYLE_OVERFLOW_X, value.value);
 }

 /**
  * Sets the overflow-y CSS property.
  */
 void setOverflowY(Overflow value) {
   setProperty(_STYLE_OVERFLOW_Y, value.value);
 }

 /**
  * Set the padding css property.
  */
 void setPadding(double value, Unit unit) {
   setProperty(_STYLE_PADDING, value, unit);
 }

 /**
  * Set the padding-bottom css property.
  */
 void setPaddingBottom(double value, Unit unit) {
   setProperty(_STYLE_PADDING_BOTTOM, value, unit);
 }

 /**
  * Set the padding-left css property.
  */
 void setPaddingLeft(double value, Unit unit) {
   setProperty(_STYLE_PADDING_LEFT, value, unit);
 }

 /**
  * Set the padding-right css property.
  */
 void setPaddingRight(double value, Unit unit) {
   setProperty(_STYLE_PADDING_RIGHT, value, unit);
 }

 /**
  * Set the padding-top css property.
  */
 void setPaddingTop(double value, Unit unit) {
   setProperty(_STYLE_PADDING_TOP, value, unit);
 }

 /**
  * Sets the position CSS property.
  */
 void setPosition(Position value) {
   setProperty(_STYLE_POSITION, value.value);
 }

 /**
  * Sets the value of a named property in the specified units.
  */
 void setProperty(String name, value, [Unit unit = null]) {
   assert(value != null);
   _assertCamelCase(name);
   if (unit == null) {
     _setPropertyImpl(name, value.toString());
   } else {
     _setPropertyImpl(name, value.toString() + unit.value);
   }
 }

 /**
  * Sets the value of a named property, in pixels.
  * 
  * This is shorthand for <code>value + "px"</code>.
  */
 void setPropertyPx(String name, int value) {
   setProperty(name, value, Unit.PX);
 }

 /**
  * Set the right css property.
  */
 void setRight(double value, Unit unit) {
   setProperty(_STYLE_RIGHT, value, unit);
 }

 /**
  * Set the table-layout CSS property.
  */
 void setTableLayout(TableLayout value) {
   setProperty(_STYLE_TABLE_LAYOUT, value.value);
 }

 /**
  * Set the 'text-align' CSS property.
  */
 void setTextAlign(TextAlign value) {
   setProperty(_STYLE_TEXT_ALIGN, value.value);
 }

 /**
  * Sets the text-decoration CSS property.
  */
 void setTextDecoration(TextDecoration value) {
   setProperty(_STYLE_TEXT_DECORATION, value.value);
 }
 
 /**
  * Set the 'text-indent' CSS property.
  */
 void setTextIndent(double value, Unit unit) {
   setProperty(_STYLE_TEXT_INDENT, value, unit);
 }

 /**
  * Set the 'text-justify' CSS3 property.
  */
 void setTextJustify(TextJustify value) {
   setProperty(_STYLE_TEXT_JUSTIFY, value.value);
 }

 /**
  * Set the 'text-overflow' CSS3 property.
  */
 void setTextOverflow(TextOverflow value) {
   setProperty(_STYLE_TEXT_OVERFLOW, value.value);
 }

 /**
  * Set the 'text-transform' CSS property.
  */
 void setTextTransform(TextTransform value) {
   setProperty(_STYLE_TEXT_TRANSFORM, value.value);
 }

 /**
  * Set the top css property.
  */
 void setTop(double value, Unit unit) {
   setProperty(_STYLE_TOP, value, unit);
 }

 /**
  * Sets the vertical-align CSS property.
  */
 void setVerticalAlign(value, [Unit unit = null]) {
   if (value is VerticalAlign) {
     setProperty(_STYLE_VERTICAL_ALIGN, value.value);
   } else {
     setProperty(_STYLE_VERTICAL_ALIGN, value, unit);
   }
 }

 /**
  * Sets the visibility CSS property.
  */
 void setVisibility(Visibility value) {
   setProperty(_STYLE_VISIBILITY, value.value);
 }

 /**
  * Set the 'white-space' CSS property.
  */
 void setWhiteSpace(WhiteSpace value) {
   setProperty(_STYLE_WHITE_SPACE, value.value);
 }

 /**
  * Set the width css property.
  */
 void setWidth(double value, Unit unit) {
   setProperty(_STYLE_WIDTH, value, unit);
 }

 /**
  * Set the z-index css property.
  */
 void setZIndex(int value) {
   setProperty(_STYLE_Z_INDEX, "%value");
 }

 /**
  * Assert that the specified property does not contain a hyphen.
  * 
  * @param name the property name
  */
 void _assertCamelCase(String name) {
   assert (!name.contains("-")); // : "The style name '" + name + "' should be in camelCase format";
 }

 /**
  * Gets the value of a named property.
  */
 String _getPropertyImpl(String name) {
   return event.Dom.getStyleProperty(_el, name); 
 }

 /**
  * Sets the value of a named property.
  */
 void _setPropertyImpl(String name, String value) {
   event.Dom.setStyleProperty(_el, name, value);
 }
}

Methods

void clearBackgroundColor() #

Clear the background-color css property.

void clearBackgroundColor() {
  clearProperty(_STYLE_BACKGROUND_COLOR);
}

void clearBackgroundImage() #

Clear the background-image css property.

void clearBackgroundImage() {
  clearProperty(_STYLE_BACKGROUND_IMAGE);
}

void clearBorderColor() #

Clear the border-color css property.

void clearBorderColor() {
  clearProperty(_STYLE_BORDER_COLOR);
}

void clearBorderStyle() #

Clears the border-style CSS property.

void clearBorderStyle() {
 clearProperty(_STYLE_BORDER_STYLE);
}

void clearBorderWidth() #

Clear the border-width css property.

void clearBorderWidth() {
  clearProperty(_STYLE_BORDER_WIDTH);
}

void clearBottom() #

Clear the bottom css property.

void clearBottom() {
  clearProperty(_STYLE_BOTTOM);
}

void clearClear() #

Clear the 'clear' CSS property.

void clearClear() {
  clearProperty(_STYLE_CLEAR);
}

void clearColor() #

Clear the color css property.

void clearColor() {
  clearProperty(_STYLE_COLOR);
}

void clearCursor() #

Clears the cursor CSS property.

void clearCursor() {
 clearProperty(_STYLE_CURSOR);
}

void clearDisplay() #

Clears the display CSS property.

void clearDisplay() {
 clearProperty(_STYLE_DISPLAY);
}

void clearFloat() #

Clear the float css property.

void clearFloat() {
 clearProperty(event.Dom.cssFloatPropertyName());
}

void clearFontSize() #

Clear the font-size css property.

void clearFontSize() {
 clearProperty(_STYLE_FONT_SIZE);
}

void clearFontStyle() #

Clears the font-style CSS property.

void clearFontStyle() {
 clearProperty(_STYLE_FONT_STYLE);
}

void clearFontWeight() #

Clears the font-weight CSS property.

void clearFontWeight() {
 clearProperty(_STYLE_FONT_WEIGHT);
}

void clearHeight() #

Clear the height css property.

void clearHeight() {
  clearProperty(_STYLE_HEIGHT);
}

void clearLeft() #

Clear the left css property.

void clearLeft() {
  clearProperty(_STYLE_LEFT);
}

void clearLineHeight() #

Clear the line-height css property.

void clearLineHeight() {
  clearProperty(_STYLE_LINE_HEIGHT);
}

void clearListStyleType() #

Clears the list-style-type CSS property.

void clearListStyleType() {
 clearProperty(_STYLE_LIST_STYLE_TYPE);
}

void clearMargin() #

Clear the margin css property.

void clearMargin() {
  clearProperty(_STYLE_MARGIN);
}

void clearMarginBottom() #

Clear the margin-bottom css property.

void clearMarginBottom() {
  clearProperty(_STYLE_MARGIN_BOTTOM);
}

void clearMarginLeft() #

Clear the margin-left css property.

void clearMarginLeft() {
  clearProperty(_STYLE_MARGIN_LEFT);
}

void clearMarginRight() #

Clear the margin-right css property.

void clearMarginRight() {
  clearProperty(_STYLE_MARGIN_RIGHT);
}

void clearMarginTop() #

Clear the margin-top css property.

void clearMarginTop() {
  clearProperty(_STYLE_MARGIN_TOP);
}

void clearOpacity() #

Clear the opacity css property.

void clearOpacity() {
 event.Dom.cssClearOpacity(_el);
}

void clearOutlineColor() #

Clear the outline-color css property.

void clearOutlineColor() {
  clearProperty(_STYLE_OUTLINE_COLOR);
}

void clearOutlineStyle() #

Clears the outline-style CSS property.

void clearOutlineStyle() {
 clearProperty(_STYLE_OUTLINE_STYLE);
}

void clearOutlineWidth() #

Clear the outline-width css property.

void clearOutlineWidth() {
  clearProperty(_STYLE_OUTLINE_WIDTH);
}

void clearOverflow() #

Clears the overflow CSS property.

void clearOverflow() {
 clearProperty(_STYLE_OVERFLOW);
}

void clearOverflowX() #

Clears the overflow-x CSS property.

void clearOverflowX() {
 clearProperty(_STYLE_OVERFLOW_X);
}

void clearOverflowY() #

Clears the overflow-y CSS property.

void clearOverflowY() {
 clearProperty(_STYLE_OVERFLOW_Y);
}

void clearPadding() #

Clear the padding css property.

void clearPadding() {
  clearProperty(_STYLE_PADDING);
}

void clearPaddingBottom() #

Clear the padding-bottom css property.

void clearPaddingBottom() {
  clearProperty(_STYLE_PADDING_BOTTOM);
}

void clearPaddingLeft() #

Clear the padding-left css property.

void clearPaddingLeft() {
  clearProperty(_STYLE_PADDING_LEFT);
}

void clearPaddingRight() #

Clear the padding-right css property.

void clearPaddingRight() {
  clearProperty(_STYLE_PADDING_RIGHT);
}

void clearPaddingTop() #

Clear the padding-top css property.

void clearPaddingTop() {
  clearProperty(_STYLE_PADDING_TOP);
}

void clearPosition() #

Clears the position CSS property.

void clearPosition() {
 clearProperty(_STYLE_POSITION);
}

void clearProperty(String name) #

Clears the value of a named property, causing it to revert to its default.

void clearProperty(String name) {
 setProperty(name, "");
}

void clearRight() #

Clear the right css property.

void clearRight() {
  clearProperty(_STYLE_RIGHT);
}

void clearTableLayout() #

Clear the table-layout css property.

void clearTableLayout() {
 clearProperty(_STYLE_TABLE_LAYOUT);
}

void clearTextAlign() #

Clear the 'text-align' CSS property.

void clearTextAlign() {
 clearProperty(_STYLE_TEXT_ALIGN);
}

void clearTextDecoration() #

Clears the text-decoration CSS property.

void clearTextDecoration() {
 clearProperty(_STYLE_TEXT_DECORATION);
}

void clearTextIndent() #

Clear the 'text-indent' CSS property.

void clearTextIndent() {
 clearProperty(_STYLE_TEXT_INDENT);
}

void clearTextJustify() #

Clear the 'text-justify' CSS3 property.

void clearTextJustify() {
 clearProperty(_STYLE_TEXT_JUSTIFY);
}

void clearTextOverflow() #

Clear the 'text-overflow' CSS3 property.

void clearTextOverflow() {
 clearProperty(_STYLE_TEXT_OVERFLOW);
}

void clearTextTransform() #

Clear the 'text-transform' CSS property.

void clearTextTransform() {
 clearProperty(_STYLE_TEXT_TRANSFORM);
}

void clearTop() #

Clear the top css property.

void clearTop() {
  clearProperty(_STYLE_TOP);
}

void clearVisibility() #

Clears the visibility CSS property.

void clearVisibility() {
 clearProperty(_STYLE_VISIBILITY);
}

void clearWhiteSpace() #

Clear the 'white-space' CSS property.

void clearWhiteSpace() {
 clearProperty(_STYLE_WHITE_SPACE);
}

void clearWidth() #

Clear the width css property.

void clearWidth() {
  clearProperty(_STYLE_WIDTH);
}

void clearZIndex() #

Clear the z-index css property.

void clearZIndex() {
  clearProperty(_STYLE_Z_INDEX);
}

String getBackgroundColor() #

Get the background-color css property.

String getBackgroundColor() {
 return getProperty(_STYLE_BACKGROUND_COLOR);
}

String getBackgroundImage() #

Get the background-image css property.

String getBackgroundImage() {
 return getProperty(_STYLE_BACKGROUND_IMAGE);
}

String getBorderColor() #

Get the border-color css property.

String getBorderColor() {
 return getProperty(_STYLE_BORDER_COLOR);
}

String getBorderStyle() #

Gets the border-style CSS property.

String getBorderStyle() {
 return getProperty(_STYLE_BORDER_STYLE);
}

String getBorderWidth() #

Get the border-width css property.

String getBorderWidth() {
 return getProperty(_STYLE_BORDER_WIDTH);
}

String getBottom() #

Get the bottom css property.

String getBottom() {
 return getProperty(_STYLE_BOTTOM);
}

String getClear() #

Get the 'clear' CSS property.

String getClear() {
 return getProperty(_STYLE_CLEAR);
}

String getColor() #

Get the color css property.

String getColor() {
 return getProperty(_STYLE_COLOR);
}

String getCursor() #

Gets the cursor CSS property.

String getCursor() {
 return getProperty(_STYLE_CURSOR);
}

String getDisplay() #

Gets the display CSS property.

String getDisplay() {
 return getProperty(_STYLE_DISPLAY);
}

String getFontSize() #

Get the font-size css property.

String getFontSize() {
 return getProperty(_STYLE_FONT_SIZE);
}

String getFontStyle() #

Gets the font-style CSS property.

String getFontStyle() {
 return getProperty(_STYLE_FONT_STYLE);
}

String getFontWeight() #

Gets the font-weight CSS property.

String getFontWeight() {
 return getProperty(_STYLE_FONT_WEIGHT);
}

String getHeight() #

Get the height css property.

String getHeight() {
 return getProperty(_STYLE_HEIGHT);
}

String getLeft() #

Get the left css property.

String getLeft() {
 return getProperty(_STYLE_LEFT);
}

String getLineHeight() #

Get the line-height css property.

String getLineHeight() {
 return getProperty(_STYLE_LINE_HEIGHT);
}

String getListStyleType() #

Gets the list-style-type CSS property.

String getListStyleType() {
 return getProperty(_STYLE_LIST_STYLE_TYPE);
}

String getMargin() #

Get the margin css property.

String getMargin() {
 return getProperty(_STYLE_MARGIN);
}

String getMarginBottom() #

Get the margin-bottom css property.

String getMarginBottom() {
 return getProperty(_STYLE_MARGIN_BOTTOM);
}

String getMarginLeft() #

Get the margin-left css property.

String getMarginLeft() {
 return getProperty(_STYLE_MARGIN_LEFT);
}

String getMarginRight() #

Get the margin-right css property.

String getMarginRight() {
 return getProperty(_STYLE_MARGIN_RIGHT);
}

String getMarginTop() #

Get the margin-top css property.

String getMarginTop() {
 return getProperty(_STYLE_MARGIN_TOP);
}

String getOpacity() #

Get the opacity css property.

String getOpacity() {
 return getProperty(_STYLE_OPACITY);
}

String getOverflow() #

Gets the overflow CSS property.

String getOverflow() {
 return getProperty(_STYLE_OVERFLOW);
}

String getOverflowX() #

Gets the overflow-x CSS property.

String getOverflowX() {
 return getProperty(_STYLE_OVERFLOW_X);
}

String getOverflowY() #

Gets the overflow-y CSS property.

String getOverflowY() {
 return getProperty(_STYLE_OVERFLOW_Y);
}

String getPadding() #

Get the padding css property.

String getPadding() {
 return getProperty(_STYLE_PADDING);
}

String getPaddingBottom() #

Get the padding-bottom css property.

String getPaddingBottom() {
 return getProperty(_STYLE_PADDING_BOTTOM);
}

String getPaddingLeft() #

Get the padding-left css property.

String getPaddingLeft() {
 return getProperty(_STYLE_PADDING_LEFT);
}

String getPaddingRight() #

Get the padding-right css property.

String getPaddingRight() {
 return getProperty(_STYLE_PADDING_RIGHT);
}

String getPaddingTop() #

Get the padding-top css property.

String getPaddingTop() {
 return getProperty(_STYLE_PADDING_TOP);
}

String getPosition() #

Gets the position CSS property.

String getPosition() {
 return getProperty(_STYLE_POSITION);
}

String getProperty(String name) #

Gets the value of a named property.

String getProperty(String name) {
 _assertCamelCase(name);
 return _getPropertyImpl(name);
}

String getRight() #

Get the right css property.

String getRight() {
 return getProperty(_STYLE_RIGHT);
}

String getTableLayout() #

Gets the table-layout property.

String getTableLayout() {
 return getProperty(_STYLE_TABLE_LAYOUT);
}

String getTextAlign() #

Get the 'text-align' CSS property.

String getTextAlign() {
 return getProperty(_STYLE_TEXT_ALIGN);
}

String getTextDecoration() #

Gets the text-decoration CSS property.

String getTextDecoration() {
 return getProperty(_STYLE_TEXT_DECORATION);
}

String getTextIndent() #

Get the 'text-indent' CSS property.

String getTextIndent() {
 return getProperty(_STYLE_TEXT_INDENT);
}

String getTextJustify() #

Get the 'text-justify' CSS3 property.

String getTextJustify() {
 return getProperty(_STYLE_TEXT_JUSTIFY);
}

String getTextOverflow() #

Get the 'text-overflow' CSS3 property.

String getTextOverflow() {
 return getProperty(_STYLE_TEXT_OVERFLOW);
}

String getTextTransform() #

Get the 'text-transform' CSS property.

String getTextTransform() {
 return getProperty(_STYLE_TEXT_TRANSFORM);
}

String getTop() #

Get the top css property.

String getTop() {
 return getProperty(_STYLE_TOP);
}

String getVerticalAlign() #

Gets the vertical-align CSS property.

String getVerticalAlign() {
 return getProperty(_STYLE_VERTICAL_ALIGN);
}

String getVisibility() #

Gets the visibility CSS property.

String getVisibility() {
 return getProperty(_STYLE_VISIBILITY);
}

String getWhiteSpace() #

Get the 'white-space' CSS property.

String getWhiteSpace() {
 return getProperty(_STYLE_WHITE_SPACE);
}

String getWidth() #

Get the width css property.

String getWidth() {
 return getProperty(_STYLE_WIDTH);
}

String getZIndex() #

Get the z-index css property.

String getZIndex() {
 return event.Dom.getStyleProperty(_el, _STYLE_Z_INDEX);
}

void setBackgroundColor(String value) #

Set the background-color css property.

void setBackgroundColor(String value) {
 setProperty(_STYLE_BACKGROUND_COLOR, value);
}

void setBackgroundImage(String value) #

Set the background-image css property.

void setBackgroundImage(String value) {
 setProperty(_STYLE_BACKGROUND_IMAGE, value);
}

void setBorderColor(String value) #

Set the border-color css property.

void setBorderColor(String value) {
 setProperty(_STYLE_BORDER_COLOR, value);
}

void setBorderStyle(BorderStyle value) #

Sets the border-style CSS property.

void setBorderStyle(BorderStyle value) {
 setProperty(_STYLE_BORDER_STYLE, value.value);
}

void setBorderWidth(double value, Unit unit) #

Set the border-width css property.

void setBorderWidth(double value, Unit unit) {
 setProperty(_STYLE_BORDER_WIDTH, value, unit);
}

void setBottom(double value, Unit unit) #

Set the bottom css property.

void setBottom(double value, Unit unit) {
 setProperty(_STYLE_BOTTOM, value, unit);
}

void setClear(Clear value) #

Sets the 'clear' CSS property.

void setClear(Clear value) {
 setProperty(_STYLE_CLEAR, value.value);
}

void setColor(String value) #

Sets the color CSS property.

void setColor(String value) {
 setProperty(_STYLE_COLOR, value);
}

void setCursor(Cursor value) #

Sets the cursor CSS property.

void setCursor(Cursor value) {
 setProperty(_STYLE_CURSOR, value.value);
}

void setDisplay(Display value) #

Sets the display CSS property.

void setDisplay(Display value) {
 setProperty(_STYLE_DISPLAY, value.value);
}

void setElement(Element el) #

void setElement(dart_html.Element el) {
 this._el = el;
}

void setFloat(Float value) #

Set the float css property.

void setFloat(Float value) {
 setProperty(event.Dom.cssFloatPropertyName(), value.value);
}

void setFontSize(double value, Unit unit) #

Set the font-size css property.

void setFontSize(double value, Unit unit) {
 setProperty(_STYLE_FONT_SIZE, value, unit);
}

void setFontStyle(FontStyle value) #

Sets the font-style CSS property.

void setFontStyle(FontStyle value) {
 setProperty(_STYLE_FONT_STYLE, value.value);
}

void setFontWeight(FontWeight value) #

Sets the font-weight CSS property.

void setFontWeight(FontWeight value) {
 setProperty(_STYLE_FONT_WEIGHT, value.value);
}

void setHeight(double value, Unit unit) #

Set the height css property.

void setHeight(double value, Unit unit) {
 setProperty(_STYLE_HEIGHT, value, unit);
}

void setLeft(double value, Unit unit) #

Set the left css property.

void setLeft(double value, Unit unit) {
 setProperty(_STYLE_LEFT, value, unit);
}

void setLineHeight(double value, Unit unit) #

Set the line-height css property.

void setLineHeight(double value, Unit unit) {
 setProperty(_STYLE_LINE_HEIGHT, value, unit);
}

void setListStyleType(ListStyleType value) #

Sets the list-style-type CSS property.

void setListStyleType(ListStyleType value) {
 setProperty(_STYLE_LIST_STYLE_TYPE, value.value);
}

void setMargin(double value, Unit unit) #

Set the margin css property.

void setMargin(double value, Unit unit) {
 setProperty(_STYLE_MARGIN, value, unit);
}

void setMarginBottom(double value, Unit unit) #

Set the margin-bottom css property.

void setMarginBottom(double value, Unit unit) {
 setProperty(_STYLE_MARGIN_BOTTOM, value, unit);
}

void setMarginLeft(double value, Unit unit) #

Set the margin-left css property.

void setMarginLeft(double value, Unit unit) {
 setProperty(_STYLE_MARGIN_LEFT, value, unit);
}

void setMarginRight(double value, Unit unit) #

Set the margin-right css property.

void setMarginRight(double value, Unit unit) {
 setProperty(_STYLE_MARGIN_RIGHT, value, unit);
}

void setMarginTop(double value, Unit unit) #

Set the margin-top css property.

void setMarginTop(double value, Unit unit) {
 setProperty(_STYLE_MARGIN_TOP, value, unit);
}

void setOpacity(double value) #

Set the opacity css property.

void setOpacity(double value) {
 event.Dom.cssSetOpacity(_el, value);
}

void setOutlineColor(String value) #

Set the outline-color css property.

void setOutlineColor(String value) {
 setProperty(_STYLE_OUTLINE_COLOR, value);
}

void setOutlineStyle(OutlineStyle value) #

Sets the outline-style CSS property.

void setOutlineStyle(OutlineStyle value) {
 setProperty(_STYLE_OUTLINE_STYLE, value.value);
}

void setOutlineWidth(double value, Unit unit) #

Set the outline-width css property.

void setOutlineWidth(double value, Unit unit) {
 setProperty(_STYLE_OUTLINE_WIDTH, value, unit);
}

void setOverflow(Overflow value) #

Sets the overflow CSS property.

void setOverflow(Overflow value) {
 setProperty(_STYLE_OVERFLOW, value.value);
}

void setOverflowX(Overflow value) #

Sets the overflow-x CSS property.

void setOverflowX(Overflow value) {
 setProperty(_STYLE_OVERFLOW_X, value.value);
}

void setOverflowY(Overflow value) #

Sets the overflow-y CSS property.

void setOverflowY(Overflow value) {
 setProperty(_STYLE_OVERFLOW_Y, value.value);
}

void setPadding(double value, Unit unit) #

Set the padding css property.

void setPadding(double value, Unit unit) {
 setProperty(_STYLE_PADDING, value, unit);
}

void setPaddingBottom(double value, Unit unit) #

Set the padding-bottom css property.

void setPaddingBottom(double value, Unit unit) {
 setProperty(_STYLE_PADDING_BOTTOM, value, unit);
}

void setPaddingLeft(double value, Unit unit) #

Set the padding-left css property.

void setPaddingLeft(double value, Unit unit) {
 setProperty(_STYLE_PADDING_LEFT, value, unit);
}

void setPaddingRight(double value, Unit unit) #

Set the padding-right css property.

void setPaddingRight(double value, Unit unit) {
 setProperty(_STYLE_PADDING_RIGHT, value, unit);
}

void setPaddingTop(double value, Unit unit) #

Set the padding-top css property.

void setPaddingTop(double value, Unit unit) {
 setProperty(_STYLE_PADDING_TOP, value, unit);
}

void setPosition(Position value) #

Sets the position CSS property.

void setPosition(Position value) {
 setProperty(_STYLE_POSITION, value.value);
}

void setProperty(String name, value, [Unit unit = null]) #

Sets the value of a named property in the specified units.

void setProperty(String name, value, [Unit unit = null]) {
 assert(value != null);
 _assertCamelCase(name);
 if (unit == null) {
   _setPropertyImpl(name, value.toString());
 } else {
   _setPropertyImpl(name, value.toString() + unit.value);
 }
}

void setPropertyPx(String name, int value) #

Sets the value of a named property, in pixels.

This is shorthand for <code>value + "px"</code>.

void setPropertyPx(String name, int value) {
 setProperty(name, value, Unit.PX);
}

void setRight(double value, Unit unit) #

Set the right css property.

void setRight(double value, Unit unit) {
 setProperty(_STYLE_RIGHT, value, unit);
}

void setTableLayout(TableLayout value) #

Set the table-layout CSS property.

void setTableLayout(TableLayout value) {
 setProperty(_STYLE_TABLE_LAYOUT, value.value);
}

void setTextAlign(TextAlign value) #

Set the 'text-align' CSS property.

void setTextAlign(TextAlign value) {
 setProperty(_STYLE_TEXT_ALIGN, value.value);
}

void setTextDecoration(TextDecoration value) #

Sets the text-decoration CSS property.

void setTextDecoration(TextDecoration value) {
 setProperty(_STYLE_TEXT_DECORATION, value.value);
}

void setTextIndent(double value, Unit unit) #

Set the 'text-indent' CSS property.

void setTextIndent(double value, Unit unit) {
 setProperty(_STYLE_TEXT_INDENT, value, unit);
}

void setTextJustify(TextJustify value) #

Set the 'text-justify' CSS3 property.

void setTextJustify(TextJustify value) {
 setProperty(_STYLE_TEXT_JUSTIFY, value.value);
}

void setTextOverflow(TextOverflow value) #

Set the 'text-overflow' CSS3 property.

void setTextOverflow(TextOverflow value) {
 setProperty(_STYLE_TEXT_OVERFLOW, value.value);
}

void setTextTransform(TextTransform value) #

Set the 'text-transform' CSS property.

void setTextTransform(TextTransform value) {
 setProperty(_STYLE_TEXT_TRANSFORM, value.value);
}

void setTop(double value, Unit unit) #

Set the top css property.

void setTop(double value, Unit unit) {
 setProperty(_STYLE_TOP, value, unit);
}

void setVerticalAlign(value, [Unit unit = null]) #

Sets the vertical-align CSS property.

void setVerticalAlign(value, [Unit unit = null]) {
 if (value is VerticalAlign) {
   setProperty(_STYLE_VERTICAL_ALIGN, value.value);
 } else {
   setProperty(_STYLE_VERTICAL_ALIGN, value, unit);
 }
}

void setVisibility(Visibility value) #

Sets the visibility CSS property.

void setVisibility(Visibility value) {
 setProperty(_STYLE_VISIBILITY, value.value);
}

void setWhiteSpace(WhiteSpace value) #

Set the 'white-space' CSS property.

void setWhiteSpace(WhiteSpace value) {
 setProperty(_STYLE_WHITE_SPACE, value.value);
}

void setWidth(double value, Unit unit) #

Set the width css property.

void setWidth(double value, Unit unit) {
 setProperty(_STYLE_WIDTH, value, unit);
}

void setZIndex(int value) #

Set the z-index css property.

void setZIndex(int value) {
 setProperty(_STYLE_Z_INDEX, "%value");
}