public class ResponsiveHelper extends Object
IsResponsive interface.IsResponsive,
Device| Constructor and Description |
|---|
ResponsiveHelper() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends HasStyle> |
setHideOn(T widget,
Device device)
Sets the kind of device, this widget is hidden on.
|
static <T extends HasStyle> |
setShowOn(T widget,
Device device)
Sets the kind of device, this widget is shown on.
|
public ResponsiveHelper()
public static <T extends HasStyle> void setShowOn(T widget, Device device)
The widget is not shown on any other device.
Only works if responsive design is turned on! Testlink
widget - The widget to be applyed responsive.device - The device to show widget.Configurator.hasResponsiveDesign(),
setHideOn(HasStyle, Device)public static <T extends HasStyle> void setHideOn(T widget, Device device)
The widget is not hidden on any other device.
Only works if responsive design is turned on!
widget - The widget to be applyed responsive.device - The device to hide widget.Configurator.hasResponsiveDesign(),
setShowOn(HasStyle, Device)Copyright © 2012-2014 gwtbootstrap. All Rights Reserved.