public enum BrewerType extends Enum<BrewerType> implements PaletteType
Enum Constant and Description |
---|
ANY
Any (or all) palettes
|
DIVERGING
Diverging palettes -- typically used to represent centered data with extremes
in either direction.
|
QUALITATIVE
Qualitative palettes -- typically used to represent categorical data.
|
SEQUENTIAL
Sequential palettes -- typically used to represent ordered data that progresses from
low to high.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static BrewerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BrewerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrewerType DIVERGING
public static final BrewerType QUALITATIVE
public static final BrewerType SEQUENTIAL
public static final BrewerType ANY
public static BrewerType[] values()
for (BrewerType c : BrewerType.values()) System.out.println(c);
public static BrewerType 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 interface PaletteType
toString
in class Enum<BrewerType>
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.