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