Uses of Enum
com.google.gwt.dom.client.Style.Unit
Package
Description
Classes used to build DOM elements.
Classes used to build DOM elements.
Classes for low-level DOM programming.
Classes for laying out container elements.
Shared classes for creating safe CSS style content.
The "cellview" widget set.
Widgets, Panels, and other user-interface classes.
-
Uses of Style.Unit in com.google.gwt.dom.builder.client
Modifier and TypeMethodDescriptionDomStylesBuilder.borderWidth
(double value, Style.Unit unit) DomStylesBuilder.bottom
(double value, Style.Unit unit) DomStylesBuilder.fontSize
(double value, Style.Unit unit) DomStylesBuilder.height
(double value, Style.Unit unit) DomStylesBuilder.left
(double value, Style.Unit unit) DomStylesBuilder.lineHeight
(double value, Style.Unit unit) DomStylesBuilder.margin
(double value, Style.Unit unit) DomStylesBuilder.marginBottom
(double value, Style.Unit unit) DomStylesBuilder.marginLeft
(double value, Style.Unit unit) DomStylesBuilder.marginRight
(double value, Style.Unit unit) DomStylesBuilder.marginTop
(double value, Style.Unit unit) DomStylesBuilder.outlineWidth
(double value, Style.Unit unit) DomStylesBuilder.padding
(double value, Style.Unit unit) DomStylesBuilder.paddingBottom
(double value, Style.Unit unit) DomStylesBuilder.paddingLeft
(double value, Style.Unit unit) DomStylesBuilder.paddingRight
(double value, Style.Unit unit) DomStylesBuilder.paddingTop
(double value, Style.Unit unit) DomStylesBuilder.right
(double value, Style.Unit unit) DomStylesBuilder.textIndent
(double value, Style.Unit unit) DomStylesBuilder.top
(double value, Style.Unit unit) DomStylesBuilder.trustedProperty
(String name, double value, Style.Unit unit) DomStylesBuilder.verticalAlign
(double value, Style.Unit unit) DomStylesBuilder.width
(double value, Style.Unit unit) -
Uses of Style.Unit in com.google.gwt.dom.client
Modifier and TypeMethodDescriptionstatic Style.Unit
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.Modifier and TypeMethodDescriptionfinal void
Style.setBorderWidth
(double value, Style.Unit unit) Set the border-width css property.final void
Style.setBottom
(double value, Style.Unit unit) Set the bottom css property.final void
Style.setFontSize
(double value, Style.Unit unit) Set the font-size css property.final void
Style.setHeight
(double value, Style.Unit unit) Set the height css property.final void
Style.setLeft
(double value, Style.Unit unit) Set the left css property.final void
Style.setLineHeight
(double value, Style.Unit unit) Set the line-height css property.final void
Style.setMargin
(double value, Style.Unit unit) Set the margin css property.final void
Style.setMarginBottom
(double value, Style.Unit unit) Set the margin-bottom css property.final void
Style.setMarginLeft
(double value, Style.Unit unit) Set the margin-left css property.final void
Style.setMarginRight
(double value, Style.Unit unit) Set the margin-right css property.final void
Style.setMarginTop
(double value, Style.Unit unit) Set the margin-top css property.final void
Style.setOutlineWidth
(double value, Style.Unit unit) Set the outline-width css property.final void
Style.setPadding
(double value, Style.Unit unit) Set the padding css property.final void
Style.setPaddingBottom
(double value, Style.Unit unit) Set the padding-bottom css property.final void
Style.setPaddingLeft
(double value, Style.Unit unit) Set the padding-left css property.final void
Style.setPaddingRight
(double value, Style.Unit unit) Set the padding-right css property.final void
Style.setPaddingTop
(double value, Style.Unit unit) Set the padding-top css property.final void
Style.setProperty
(String name, double value, Style.Unit unit) Sets the value of a named property in the specified units.final void
Style.setRight
(double value, Style.Unit unit) Set the right css property.final void
Style.setTextIndent
(double value, Style.Unit unit) Set the 'text-indent' CSS property.final void
Style.setTop
(double value, Style.Unit unit) Set the top css property.final void
Style.setVerticalAlign
(double value, Style.Unit unit) Sets the vertical-align CSS property.final void
Style.setWidth
(double value, Style.Unit unit) Set the width css property. -
Uses of Style.Unit in com.google.gwt.layout.client
Modifier and TypeFieldDescription(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
Modifier and TypeMethodDescriptionprotected 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.user.cellview.client
Modifier and TypeMethodDescriptionvoid
AbstractCellTable.setColumnWidth
(int column, double width, Style.Unit unit) Set the width of aColumn
.void
AbstractCellTable.setColumnWidth
(Column<T, ?> column, double width, Style.Unit unit) Set the width of aColumn
.void
CellTable.setColumnWidth
(Column<T, ?> column, double width, Style.Unit unit) Set the width of aColumn
.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
Modifier and TypeMethodDescriptionvoid
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.ModifierConstructorDescriptionDockLayoutPanel
(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.