public enum ScaleType extends Enum<ScaleType>
Modifier and Type | Class and Description |
---|---|
static class |
ScaleType.Adapter |
Enum Constant and Description |
---|
DONOTSCALE |
ENSUREFIT |
MAXIMIZE |
Modifier and Type | Method and Description |
---|---|
static ScaleType |
fromValue(String text) |
String |
getValue() |
static ScaleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScaleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScaleType DONOTSCALE
public static final ScaleType ENSUREFIT
public static final ScaleType MAXIMIZE
public static ScaleType[] values()
for (ScaleType c : ScaleType.values()) System.out.println(c);
public static ScaleType 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 getValue()
Copyright © 2021. All rights reserved.