public enum ResponsiveStyle extends Enum<ResponsiveStyle> implements Style
| Enum Constant and Description |
|---|
HIDDEN_DESKTOP
The widget is hidden on
desktop computers. |
HIDDEN_PHONE
The widget is hidden on
phones. |
HIDDEN_TABLET
The widget is hidden on
tablets. |
VISIBLE_DESKTOP
The widget is only shown on
desktop computers. |
VISIBLE_PHONE
The widget is only shown on
phones. |
VISIBLE_TABLET
The widget is only shown on
tablets. |
| Modifier and Type | Method and Description |
|---|---|
String |
get()
Gets the CSS class name (or a part thereof) associated with this
constant.
|
static ResponsiveStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponsiveStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponsiveStyle VISIBLE_PHONE
phones.public static final ResponsiveStyle HIDDEN_PHONE
phones.public static final ResponsiveStyle VISIBLE_TABLET
tablets.public static final ResponsiveStyle HIDDEN_TABLET
tablets.public static final ResponsiveStyle VISIBLE_DESKTOP
desktop computers.public static final ResponsiveStyle HIDDEN_DESKTOP
desktop computers.public static ResponsiveStyle[] values()
for (ResponsiveStyle c : ResponsiveStyle.values()) System.out.println(c);
public static ResponsiveStyle valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2012-2014 gwtbootstrap. All Rights Reserved.