public static enum Card.Style extends Enum<Card.Style>
Enum Constant and Description |
---|
APPLICATION |
FILE |
IMAGE |
LINK |
MEDIA |
Modifier and Type | Method and Description |
---|---|
static Card.Style |
fromValue(String value) |
String |
toString() |
String |
value() |
static Card.Style |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Card.Style[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Card.Style FILE
public static final Card.Style IMAGE
public static final Card.Style APPLICATION
public static final Card.Style LINK
public static final Card.Style MEDIA
public static Card.Style[] values()
for (Card.Style c : Card.Style.values()) System.out.println(c);
public static Card.Style 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 toString()
toString
in class Enum<Card.Style>
public String value()
public static Card.Style fromValue(String value)
Copyright © 2016–2018. All rights reserved.