Package org.cytoscape.util.color
Enum Class BrewerType
- All Implemented Interfaces:
Serializable
,Comparable<BrewerType>
,java.lang.constant.Constable
,PaletteType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAny (or all) palettesDiverging palettes -- typically used to represent centered data with extremes in either direction.Qualitative palettes -- typically used to represent categorical data.Sequential palettes -- typically used to represent ordered data that progresses from low to high. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static BrewerType
Returns the enum constant of this class with the specified name.static BrewerType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DIVERGING
Diverging palettes -- typically used to represent centered data with extremes in either direction. In Cytoscape, these palettes might be used for a continuous mapping that has both positive and nevative values. -
QUALITATIVE
Qualitative palettes -- typically used to represent categorical data. Choose this kind of palette for discrate mappings. -
SEQUENTIAL
Sequential palettes -- typically used to represent ordered data that progresses from low to high. In Cytoscape, these palettes might be used for a continuous mapping that has either positive or negative values, but not both. -
ANY
Any (or all) palettes
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Specified by:
toString
in interfacePaletteType
- Overrides:
toString
in classEnum<BrewerType>
-