public enum ShowOn extends Enum<ShowOn> implements CssType
Enum Constant and Description |
---|
NONE |
SHOW_ON_LARGE |
SHOW_ON_MED |
SHOW_ON_MED_DOWN |
SHOW_ON_MED_UP |
SHOW_ON_SMALL |
EMPTY_CSS_TYPE
Modifier and Type | Method and Description |
---|---|
static ShowOn |
fromStyleName(String styleName) |
String |
getCssName() |
static ShowOn |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShowOn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShowOn SHOW_ON_SMALL
public static final ShowOn SHOW_ON_LARGE
public static final ShowOn SHOW_ON_MED
public static final ShowOn SHOW_ON_MED_UP
public static final ShowOn SHOW_ON_MED_DOWN
public static ShowOn[] values()
for (ShowOn c : ShowOn.values()) System.out.println(c);
public static ShowOn 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 nullpublic String getCssName()
getCssName
in interface com.google.gwt.dom.client.Style.HasCssName
public static ShowOn fromStyleName(String styleName)
Copyright © 2018. All rights reserved.