public enum ColorMap extends Enum<ColorMap>
Enum Constant and Description |
---|
Accent |
Dark2 |
Paired |
Pastel1 |
Pastel2 |
Set1 |
Set2 |
Set3 |
Modifier and Type | Method and Description |
---|---|
Paint[] |
getColors() |
static ColorMap |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColorMap[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorMap Accent
public static final ColorMap Dark2
public static final ColorMap Paired
public static final ColorMap Pastel1
public static final ColorMap Pastel2
public static final ColorMap Set1
public static final ColorMap Set2
public static final ColorMap Set3
public static ColorMap[] values()
for (ColorMap c : ColorMap.values()) System.out.println(c);
public static ColorMap 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 Paint[] getColors()
Copyright © 2020–2024 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.