java.lang.Object
java.lang.Enum<Colorschemes>
de.edgesoft.edgeutils.xchart.Colorschemes
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Colorschemes>,java.lang.constant.Constable
public enum Colorschemes extends java.lang.Enum<Colorschemes>
Color schemes based on color brewer schemes (http://colorbrewer2.org/).
Colors from www.ColorBrewer.org by Cynthia A. Brewer, Geography, Pennsylvania State University.
For enums I use the coding style of jaxb, so there will be no inconsistencies.
Legal stuff
Copyright 2010-2020 Ekkart Kleinod ekleinod@edgesoft.de
This file is part of edgeutils.
edgeutils is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
edgeutils is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with edgeutils. If not, see http://www.gnu.org/licenses/.
- Since:
- 0.10.0
- Author:
- Ekkart Kleinod
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description Paired_qualitative_2Paired_qualitative_3PiYG_diverging_2RdBu_diverging_9RdYlGn_diverging_2 -
Method Summary
Modifier and Type Method Description static ColorschemesfromValue(java.lang.String v)java.lang.Stringvalue()static ColorschemesvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Colorschemes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
value
public java.lang.String value() -
fromValue
-