|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.github.gwtbootstrap.client.ui.base.ResponsiveHelper
public class ResponsiveHelper
The Helper class for IsResponsive
interface.
IsResponsive
,
Device
Constructor Summary | |
---|---|
ResponsiveHelper()
|
Method Summary | ||
---|---|---|
static
|
setHideOn(T widget,
Device device)
Sets the kind of device, this widget is hidden on. |
|
static
|
setShowOn(T widget,
Device device)
Sets the kind of device, this widget is shown on. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResponsiveHelper()
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |