Java Code Examples for com.google.gwt.dom.client.Style#VerticalAlign
The following examples show how to use
com.google.gwt.dom.client.Style#VerticalAlign .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MaterialWidgetTest.java From gwt-material with Apache License 2.0 | 5 votes |
protected void checkVerticalAlign(MaterialWidget widget, Style.VerticalAlign value, boolean checkElement) { widget.setVerticalAlign(value); assertEquals(value.getCssName(), widget.getVerticalAlign()); if (checkElement) { assertEquals(widget.getVerticalAlign(), widget.getElement().getStyle().getVerticalAlign()); } }
Example 2
Source File: MaterialWidget.java From gwt-material with Apache License 2.0 | 4 votes |
@Override public void setVerticalAlign(Style.VerticalAlign value) { getVerticalAlignMixin().setVerticalAlign(value); }
Example 3
Source File: VerticalAlignMixin.java From gwt-material with Apache License 2.0 | 4 votes |
@Override public void setVerticalAlign(Style.VerticalAlign value) { setProperty(VERTICAL_ALIGN, value.getCssName()); }
Example 4
Source File: HasVerticalAlign.java From gwt-material with Apache License 2.0 | 2 votes |
/** * Set the Vertical alignment of the widget */ void setVerticalAlign(Style.VerticalAlign align);