## Uses of Class
com.google.gwt.dom.client.Style.Unit

- Packages that use Style.Unit
  Package | Description
  --- | ---
  com.google.gwt.dom.builder.client | Classes used to build DOM elements.
  com.google.gwt.dom.builder.shared | Classes used to build DOM elements.
  com.google.gwt.dom.client | Classes for low-level DOM programming.
  com.google.gwt.layout.client | Classes for laying out container elements.
  com.google.gwt.safecss.shared | Shared classes for creating safe CSS style content.
  com.google.gwt.user.cellview.client | The "cellview" widget set.
  com.google.gwt.user.client.ui | Widgets, Panels, and other user-interface classes.

- - ### Uses of Style.Unit in com.google.gwt.dom.builder.client

    Methods in com.google.gwt.dom.builder.client with parameters of type Style.Unit
    Modifier and Type | Method | Description
    --- | --- | ---
    `StylesBuilder` | DomStylesBuilder.`borderWidth​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`bottom​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`fontSize​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`height​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`left​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`lineHeight​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`margin​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`marginBottom​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`marginLeft​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`marginRight​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`marginTop​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`outlineWidth​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`padding​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`paddingBottom​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`paddingLeft​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`paddingRight​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`paddingTop​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`right​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`textIndent​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`top​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`trustedProperty​(java.lang.String name, double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`verticalAlign​(double value, Style.Unit unit)` |
    `StylesBuilder` | DomStylesBuilder.`width​(double value, Style.Unit unit)` |

  - ### Uses of Style.Unit in com.google.gwt.dom.builder.shared

    Methods in com.google.gwt.dom.builder.shared with parameters of type Style.Unit
    Modifier and Type | Method | Description
    --- | --- | ---
    `StylesBuilder` | HtmlStylesBuilder.`borderWidth​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`borderWidth​(double value, Style.Unit unit)` | Set the border-width css property.
    `StylesBuilder` | HtmlStylesBuilder.`bottom​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`bottom​(double value, Style.Unit unit)` | Set the bottom css property.
    `StylesBuilder` | HtmlStylesBuilder.`fontSize​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`fontSize​(double value, Style.Unit unit)` | Set the font-size css property.
    `StylesBuilder` | HtmlStylesBuilder.`height​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`height​(double value, Style.Unit unit)` | Set the height css property.
    `StylesBuilder` | HtmlStylesBuilder.`left​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`left​(double value, Style.Unit unit)` | Set the left css property.
    `StylesBuilder` | HtmlStylesBuilder.`lineHeight​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`lineHeight​(double value, Style.Unit unit)` | Set the line-height css property.
    `StylesBuilder` | HtmlStylesBuilder.`margin​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`margin​(double value, Style.Unit unit)` | Set the margin css property.
    `StylesBuilder` | HtmlStylesBuilder.`marginBottom​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`marginBottom​(double value, Style.Unit unit)` | Set the margin-bottom css property.
    `StylesBuilder` | HtmlStylesBuilder.`marginLeft​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`marginLeft​(double value, Style.Unit unit)` | Set the margin-left css property.
    `StylesBuilder` | HtmlStylesBuilder.`marginRight​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`marginRight​(double value, Style.Unit unit)` | Set the margin-right css property.
    `StylesBuilder` | HtmlStylesBuilder.`marginTop​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`marginTop​(double value, Style.Unit unit)` | Set the margin-top css property.
    `StylesBuilder` | HtmlStylesBuilder.`outlineWidth​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`outlineWidth​(double value, Style.Unit unit)` | Set the outline-width css property.
    `StylesBuilder` | HtmlStylesBuilder.`padding​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`padding​(double value, Style.Unit unit)` | Set the padding css property.
    `StylesBuilder` | HtmlStylesBuilder.`paddingBottom​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`paddingBottom​(double value, Style.Unit unit)` | Set the padding-bottom css property.
    `StylesBuilder` | HtmlStylesBuilder.`paddingLeft​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`paddingLeft​(double value, Style.Unit unit)` | Set the padding-left css property.
    `StylesBuilder` | HtmlStylesBuilder.`paddingRight​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`paddingRight​(double value, Style.Unit unit)` | Set the padding-right css property.
    `StylesBuilder` | HtmlStylesBuilder.`paddingTop​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`paddingTop​(double value, Style.Unit unit)` | Set the padding-top css property.
    `StylesBuilder` | HtmlStylesBuilder.`right​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`right​(double value, Style.Unit unit)` | Set the right css property.
    `StylesBuilder` | HtmlStylesBuilder.`textIndent​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`textIndent​(double value, Style.Unit unit)` | Set the text-indent CSS property.
    `StylesBuilder` | HtmlStylesBuilder.`top​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`top​(double value, Style.Unit unit)` | Set the top css property.
    `StylesBuilder` | HtmlStylesBuilder.`trustedProperty​(java.lang.String name, double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`trustedProperty​(java.lang.String name, double value, Style.Unit unit)` | Set a style property from a trusted name and a trusted value, i.e., without escaping the name and value.
    `StylesBuilder` | HtmlStylesBuilder.`verticalAlign​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`verticalAlign​(double value, Style.Unit unit)` | Sets the vertical-align CSS property.
    `StylesBuilder` | HtmlStylesBuilder.`width​(double value, Style.Unit unit)` |
    `StylesBuilder` | StylesBuilder.`width​(double value, Style.Unit unit)` | Set the width css property.

  - ### Uses of Style.Unit in com.google.gwt.dom.client

    Methods in com.google.gwt.dom.client that return Style.Unit
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Style.Unit` | Style.Unit.`valueOf​(java.lang.String name)` | Returns the enum constant of this type with the specified name.
    `static Style.Unit[]` | Style.Unit.`values()` | Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in com.google.gwt.dom.client with parameters of type Style.Unit
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | Style.`setBorderWidth​(double value, Style.Unit unit)` | Set the border-width css property.
    `void` | Style.`setBottom​(double value, Style.Unit unit)` | Set the bottom css property.
    `void` | Style.`setFontSize​(double value, Style.Unit unit)` | Set the font-size css property.
    `void` | Style.`setHeight​(double value, Style.Unit unit)` | Set the height css property.
    `void` | Style.`setLeft​(double value, Style.Unit unit)` | Set the left css property.
    `void` | Style.`setLineHeight​(double value, Style.Unit unit)` | Set the line-height css property.
    `void` | Style.`setMargin​(double value, Style.Unit unit)` | Set the margin css property.
    `void` | Style.`setMarginBottom​(double value, Style.Unit unit)` | Set the margin-bottom css property.
    `void` | Style.`setMarginLeft​(double value, Style.Unit unit)` | Set the margin-left css property.
    `void` | Style.`setMarginRight​(double value, Style.Unit unit)` | Set the margin-right css property.
    `void` | Style.`setMarginTop​(double value, Style.Unit unit)` | Set the margin-top css property.
    `void` | Style.`setOutlineWidth​(double value, Style.Unit unit)` | Set the outline-width css property.
    `void` | Style.`setPadding​(double value, Style.Unit unit)` | Set the padding css property.
    `void` | Style.`setPaddingBottom​(double value, Style.Unit unit)` | Set the padding-bottom css property.
    `void` | Style.`setPaddingLeft​(double value, Style.Unit unit)` | Set the padding-left css property.
    `void` | Style.`setPaddingRight​(double value, Style.Unit unit)` | Set the padding-right css property.
    `void` | Style.`setPaddingTop​(double value, Style.Unit unit)` | Set the padding-top css property.
    `void` | Style.`setProperty​(java.lang.String name, double value, Style.Unit unit)` | Sets the value of a named property in the specified units.
    `void` | Style.`setRight​(double value, Style.Unit unit)` | Set the right css property.
    `void` | Style.`setTextIndent​(double value, Style.Unit unit)` | Set the 'text-indent' CSS property.
    `void` | Style.`setTop​(double value, Style.Unit unit)` | Set the top css property.
    `void` | Style.`setVerticalAlign​(double value, Style.Unit unit)` | Sets the vertical-align CSS property.
    `void` | Style.`setWidth​(double value, Style.Unit unit)` | Set the width css property.

  - ### Uses of Style.Unit in com.google.gwt.layout.client

    Fields in com.google.gwt.layout.client declared as Style.Unit
    Modifier and Type | Field | Description
    --- | --- | ---
    `(package private) Style.Unit` | Layout.Layer.`bottomUnit` |
    `(package private) Style.Unit` | Layout.Layer.`heightUnit` |
    `(package private) Style.Unit` | Layout.Layer.`leftUnit` |
    `(package private) Style.Unit` | Layout.Layer.`rightUnit` |
    `(package private) Style.Unit` | Layout.Layer.`targetBottomUnit` |
    `(package private) Style.Unit` | Layout.Layer.`targetHeightUnit` |
    `(package private) Style.Unit` | Layout.Layer.`targetLeftUnit` |
    `(package private) Style.Unit` | Layout.Layer.`targetRightUnit` |
    `(package private) Style.Unit` | Layout.Layer.`targetTopUnit` |
    `(package private) Style.Unit` | Layout.Layer.`targetWidthUnit` |
    `(package private) Style.Unit` | Layout.Layer.`topUnit` |
    `(package private) Style.Unit` | Layout.Layer.`widthUnit` |

    Methods in com.google.gwt.layout.client with parameters of type Style.Unit
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected static DivElement` | LayoutImpl.`createRuler​(Style.Unit widthUnit, Style.Unit heightUnit)` | Deprecated.
    `double` | Layout.`getUnitSize​(Style.Unit unit, boolean vertical)` | Returns the size of one unit, in pixels, in the context of this layout.
    `double` | LayoutImpl.`getUnitSizeInPixels​(Element parent, Style.Unit unit, boolean vertical)` | Deprecated.
    `void` | Layout.Layer.`setBottomHeight​(double bottom, Style.Unit bottomUnit, double height, Style.Unit heightUnit)` | Sets the layer's bottom and height values.
    `void` | Layout.Layer.`setLeftRight​(double left, Style.Unit leftUnit, double right, Style.Unit rightUnit)` | Sets the layer's left and right values.
    `void` | Layout.Layer.`setLeftWidth​(double left, Style.Unit leftUnit, double width, Style.Unit widthUnit)` | Sets the layer's left and width values.
    `void` | Layout.Layer.`setRightWidth​(double right, Style.Unit rightUnit, double width, Style.Unit widthUnit)` | Sets the layer's right and width values.
    `void` | Layout.Layer.`setTopBottom​(double top, Style.Unit topUnit, double bottom, Style.Unit bottomUnit)` | Sets the layer's top and bottom values.
    `void` | Layout.Layer.`setTopHeight​(double top, Style.Unit topUnit, double height, Style.Unit heightUnit)` | Sets the layer's top and height values.

  - ### Uses of Style.Unit in com.google.gwt.safecss.shared

    Methods in com.google.gwt.safecss.shared with parameters of type Style.Unit
    Modifier and Type | Method | Description
    --- | --- | ---
    `SafeStylesBuilder` | SafeStylesBuilder.`borderWidth​(double value, Style.Unit unit)` | Append the border-width css property.
    `SafeStylesBuilder` | SafeStylesBuilder.`bottom​(double value, Style.Unit unit)` | Append the bottom css property.
    `SafeStylesBuilder` | SafeStylesBuilder.`fontSize​(double value, Style.Unit unit)` | Append the font-size css property.
    `static SafeStyles` | SafeStylesUtils.`forBorderWidth​(double value, Style.Unit unit)` | Set the border-width css property.
    `static SafeStyles` | SafeStylesUtils.`forBottom​(double value, Style.Unit unit)` | Set the bottom css property.
    `static SafeStyles` | SafeStylesUtils.`forFontSize​(double value, Style.Unit unit)` | Set the font-size css property.
    `static SafeStyles` | SafeStylesUtils.`forHeight​(double value, Style.Unit unit)` | Set the height css property.
    `static SafeStyles` | SafeStylesUtils.`forLeft​(double value, Style.Unit unit)` | Set the left css property.
    `static SafeStyles` | SafeStylesUtils.`forLineHeight​(double value, Style.Unit unit)` | Set the line-height css property.
    `static SafeStyles` | SafeStylesUtils.`forMargin​(double value, Style.Unit unit)` | Set the margin css property.
    `static SafeStyles` | SafeStylesUtils.`forMarginBottom​(double value, Style.Unit unit)` | Set the margin-bottom css property.
    `static SafeStyles` | SafeStylesUtils.`forMarginLeft​(double value, Style.Unit unit)` | Set the margin-left css property.
    `static SafeStyles` | SafeStylesUtils.`forMarginRight​(double value, Style.Unit unit)` | Set the margin-right css property.
    `static SafeStyles` | SafeStylesUtils.`forMarginTop​(double value, Style.Unit unit)` | Set the margin-top css property.
    `static SafeStyles` | SafeStylesUtils.`forOutlineWidth​(double value, Style.Unit unit)` | Set the outline-width css property.
    `static SafeStyles` | SafeStylesUtils.`forPadding​(double value, Style.Unit unit)` | Set the padding css property.
    `static SafeStyles` | SafeStylesUtils.`forPaddingBottom​(double value, Style.Unit unit)` | Set the padding-bottom css property.
    `static SafeStyles` | SafeStylesUtils.`forPaddingLeft​(double value, Style.Unit unit)` | Set the padding-left css property.
    `static SafeStyles` | SafeStylesUtils.`forPaddingRight​(double value, Style.Unit unit)` | Set the padding-right css property.
    `static SafeStyles` | SafeStylesUtils.`forPaddingTop​(double value, Style.Unit unit)` | Set the padding-top css property.
    `static SafeStyles` | SafeStylesUtils.`forRight​(double value, Style.Unit unit)` | Set the right css property.
    `static SafeStyles` | SafeStylesUtils.`forTextIndent​(double value, Style.Unit unit)` | Set the 'text-indent' CSS property.
    `static SafeStyles` | SafeStylesUtils.`forTop​(double value, Style.Unit unit)` | Set the top css property.
    `static SafeStyles` | SafeStylesUtils.`forVerticalAlign​(double value, Style.Unit unit)` | Sets the vertical-align CSS property.
    `static SafeStyles` | SafeStylesUtils.`forWidth​(double value, Style.Unit unit)` | Set the width css property.
    `static SafeStyles` | SafeStylesUtils.`fromTrustedNameAndValue​(java.lang.String name, double value, Style.Unit unit)` | Returns a `SafeStyles` constructed from a trusted name and a trusted value, i.e., without escaping the name and value.
    `SafeStylesBuilder` | SafeStylesBuilder.`height​(double value, Style.Unit unit)` | Append the height css property.
    `SafeStylesBuilder` | SafeStylesBuilder.`left​(double value, Style.Unit unit)` | Append the left css property.
    `SafeStylesBuilder` | SafeStylesBuilder.`margin​(double value, Style.Unit unit)` | Append the margin css property.
    `SafeStylesBuilder` | SafeStylesBuilder.`marginBottom​(double value, Style.Unit unit)` | Append the margin-bottom css property.
    `SafeStylesBuilder` | SafeStylesBuilder.`marginLeft​(double value, Style.Unit unit)` | Append the margin-left css property.
    `SafeStylesBuilder` | SafeStylesBuilder.`marginRight​(double value, Style.Unit unit)` | Append the margin-right css property.
    `SafeStylesBuilder` | SafeStylesBuilder.`marginTop​(double value, Style.Unit unit)` | Append the margin-top css property.
    `SafeStylesBuilder` | SafeStylesBuilder.`padding​(double value, Style.Unit unit)` | Append the padding css property.
    `SafeStylesBuilder` | SafeStylesBuilder.`paddingBottom​(double value, Style.Unit unit)` | Append the padding-bottom css property.
    `SafeStylesBuilder` | SafeStylesBuilder.`paddingLeft​(double value, Style.Unit unit)` | Append the padding-left css property.
    `SafeStylesBuilder` | SafeStylesBuilder.`paddingRight​(double value, Style.Unit unit)` | Append the padding-right css property.
    `SafeStylesBuilder` | SafeStylesBuilder.`paddingTop​(double value, Style.Unit unit)` | Append the padding-top css property.
    `SafeStylesBuilder` | SafeStylesBuilder.`right​(double value, Style.Unit unit)` | Append the right css property.
    `SafeStylesBuilder` | SafeStylesBuilder.`textIndent​(double value, Style.Unit unit)` | Append the 'text-indent' CSS property.
    `SafeStylesBuilder` | SafeStylesBuilder.`top​(double value, Style.Unit unit)` | Append the top css property.
    `SafeStylesBuilder` | SafeStylesBuilder.`trustedNameAndValue​(java.lang.String name, double value, Style.Unit unit)` | Append a `SafeStyles` constructed from a trusted name and a trusted value, i.e., without escaping the name and value.
    `SafeStylesBuilder` | SafeStylesBuilder.`verticalAlign​(double value, Style.Unit unit)` | Append the vertical-align CSS property.
    `SafeStylesBuilder` | SafeStylesBuilder.`width​(double value, Style.Unit unit)` | Append the width css property.

  - ### Uses of Style.Unit in com.google.gwt.user.cellview.client

    Methods in com.google.gwt.user.cellview.client with parameters of type Style.Unit
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | AbstractCellTable.`setColumnWidth​(int column, double width, Style.Unit unit)` | Set the width of a `Column`.
    `void` | AbstractCellTable.`setColumnWidth​(Column<T,​?> column, double width, Style.Unit unit)` | Set the width of a `Column`.
    `void` | CellTable.`setColumnWidth​(Column<T,​?> column, double width, Style.Unit unit)` | Set the width of a `Column`.
    `void` | DataGrid.`setMinimumTableWidth​(double value, Style.Unit unit)` | Set the minimum width of the tables in this widget.
    `void` | DataGrid.`setTableWidth​(double value, Style.Unit unit)` | Set the width of the tables in this widget.

  - ### Uses of Style.Unit in com.google.gwt.user.client.ui

    Methods in com.google.gwt.user.client.ui that return Style.Unit
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected Style.Unit` | DockLayoutPanel.`getUnit()` |

    Methods in com.google.gwt.user.client.ui with parameters of type Style.Unit
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | LayoutPanel.`setWidgetBottomHeight​(IsWidget child, double bottom, Style.Unit bottomUnit, double height, Style.Unit heightUnit)` | Overloaded version for IsWidget.
    `void` | LayoutPanel.`setWidgetBottomHeight​(Widget child, double bottom, Style.Unit bottomUnit, double height, Style.Unit heightUnit)` | Sets the child widget's bottom and height values.
    `void` | LayoutPanel.`setWidgetLeftRight​(IsWidget child, double left, Style.Unit leftUnit, double right, Style.Unit rightUnit)` | Overloaded version for IsWidget.
    `void` | LayoutPanel.`setWidgetLeftRight​(Widget child, double left, Style.Unit leftUnit, double right, Style.Unit rightUnit)` | Sets the child widget's left and right values.
    `void` | LayoutPanel.`setWidgetLeftWidth​(IsWidget child, double left, Style.Unit leftUnit, double width, Style.Unit widthUnit)` | Overloaded version for IsWidget.
    `void` | LayoutPanel.`setWidgetLeftWidth​(Widget child, double left, Style.Unit leftUnit, double width, Style.Unit widthUnit)` | Sets the child widget's left and width values.
    `void` | LayoutPanel.`setWidgetRightWidth​(IsWidget child, double right, Style.Unit rightUnit, double width, Style.Unit widthUnit)` | Overloaded version for IsWidget.
    `void` | LayoutPanel.`setWidgetRightWidth​(Widget child, double right, Style.Unit rightUnit, double width, Style.Unit widthUnit)` | Sets the child widget's right and width values.
    `void` | LayoutPanel.`setWidgetTopBottom​(IsWidget child, double top, Style.Unit topUnit, double bottom, Style.Unit bottomUnit)` | Overloaded version for IsWidget.
    `void` | LayoutPanel.`setWidgetTopBottom​(Widget child, double top, Style.Unit topUnit, double bottom, Style.Unit bottomUnit)` | Sets the child widget's top and bottom values.
    `void` | LayoutPanel.`setWidgetTopHeight​(IsWidget child, double top, Style.Unit topUnit, double height, Style.Unit heightUnit)` | Overloaded version for IsWidget.
    `void` | LayoutPanel.`setWidgetTopHeight​(Widget child, double top, Style.Unit topUnit, double height, Style.Unit heightUnit)` | Sets the child widget's top and height values.

    Constructors in com.google.gwt.user.client.ui with parameters of type Style.Unit
    Constructor | Description
    --- | ---
    `DockLayoutPanel​(Style.Unit unit)` | Creates an empty dock panel.
    `StackLayoutPanel​(Style.Unit unit)` | Creates an empty stack panel.
    `TabLayoutPanel​(double barHeight, Style.Unit barUnit)` | Creates an empty tab panel.