public static enum Font.Family extends Enum<Font.Family> implements kk.json.JSONAware
Enum Constant and Description |
---|
DECORATIVE
Decorative.
|
MODERN
Modern
|
NOT_APPLICABLE
No applicable
|
ROMAN
Roman
|
SCRIPT
Script
|
SWISS
Swiss
|
Modifier and Type | Method and Description |
---|---|
String |
toJSONString() |
static Font.Family |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Font.Family[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Font.Family NOT_APPLICABLE
public static final Font.Family ROMAN
public static final Font.Family SWISS
public static final Font.Family MODERN
public static final Font.Family SCRIPT
public static final Font.Family DECORATIVE
public static Font.Family[] values()
for (Font.Family c : Font.Family.values()) System.out.println(c);
public static Font.Family 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 toJSONString()
toJSONString
in interface kk.json.JSONAware
Copyright © 2018. All rights reserved.