public static enum Storefront.FilterPresentation extends java.lang.Enum<Storefront.FilterPresentation>
| Enum Constant and Description |
|---|
IMAGE
Image presentation, filter values display an image.
|
SWATCH
Swatch presentation, filter values display color or image patterns.
|
TEXT
Text presentation, no additional visual display for filter values.
|
UNKNOWN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static Storefront.FilterPresentation |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.FilterPresentation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.FilterPresentation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.FilterPresentation IMAGE
public static final Storefront.FilterPresentation SWATCH
public static final Storefront.FilterPresentation TEXT
public static final Storefront.FilterPresentation UNKNOWN_VALUE
public static Storefront.FilterPresentation[] values()
for (Storefront.FilterPresentation c : Storefront.FilterPresentation.values()) System.out.println(c);
public static Storefront.FilterPresentation valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static Storefront.FilterPresentation fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.FilterPresentation>