public class OrientationMixin<T extends MaterialWidget & HasOrientation> extends Object implements HasOrientation
| Constructor and Description |
|---|
OrientationMixin(T widget) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addOrientationChangeHandler(OrientationChangeEvent.OrientationChangeHandler handler) |
protected void |
detectAndApplyOrientation() |
CssNameMixin<MaterialWidget,Orientation> |
getNameMixin() |
Orientation |
getOrientation() |
boolean |
isDetectOrientation() |
void |
setDetectOrientation(boolean detectOrientation) |
void |
setOrientation(Orientation orientation) |
void |
setUiObject(T uiObject) |
public OrientationMixin(T widget)
public void setOrientation(Orientation orientation)
setOrientation in interface HasOrientationpublic Orientation getOrientation()
getOrientation in interface HasOrientationpublic void setDetectOrientation(boolean detectOrientation)
setDetectOrientation in interface HasOrientationprotected void detectAndApplyOrientation()
public boolean isDetectOrientation()
isDetectOrientation in interface HasOrientationpublic com.google.gwt.event.shared.HandlerRegistration addOrientationChangeHandler(OrientationChangeEvent.OrientationChangeHandler handler)
addOrientationChangeHandler in interface HasOrientationChangeHandlerpublic CssNameMixin<MaterialWidget,Orientation> getNameMixin()
public void setUiObject(T uiObject)
Copyright © 2018. All rights reserved.