public enum GradientHLAPI extends Enum<GradientHLAPI>
Enum Constant and Description |
---|
DIAGONAL |
HORIZONTAL |
VERTICAL |
Modifier and Type | Method and Description |
---|---|
static GradientHLAPI |
get(int num)
Return one HLAPI enum (used for tests).
|
Gradient |
getContainedItem() |
static GradientHLAPI |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GradientHLAPI[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GradientHLAPI HORIZONTAL
public static final GradientHLAPI VERTICAL
public static final GradientHLAPI DIAGONAL
public static GradientHLAPI[] values()
for (GradientHLAPI c : GradientHLAPI.values()) System.out.println(c);
public static GradientHLAPI 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 static GradientHLAPI get(int num)
public Gradient getContainedItem()
Copyright © 2009–2016 Univ. Paris Ouest, and Univ. Pierre et Marie Curie / CNRS UMR 7606 (LIP6). All rights reserved.