Package org.sm.smtools.swing.util
Enum JGradientColorMap.EColorMap
java.lang.Object
java.lang.Enum<JGradientColorMap.EColorMap>
org.sm.smtools.swing.util.JGradientColorMap.EColorMap
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<JGradientColorMap.EColorMap>
,java.lang.constant.Constable
- Enclosing class:
- JGradientColorMap
public static enum JGradientColorMap.EColorMap extends java.lang.Enum<JGradientColorMap.EColorMap>
The various supported colour maps.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description kBlackAndWhite
Black and white colour map.kBlue
Blue colour map.kBlues
Blues colour map.kBlueWhite
Blue-white colour map.kBone
Bone colour map.kCopper
Copper colour map.kCustom
Custom colour map.kCyan
Cyan colour map.kDarkPastel
Dark pastel colour map.kDeepSpace
Deep space colour map.kDiscontinuousBlueWhiteGreen
Discontinuous blue-white-green colour map.kDiscontinuousDarkRedYellow
Discontinuous dark-red-yellow colour map.kGrayScale
Gray scale colour map.kGrayScaleTrimmed
Trimmed gray scale colour map.kGreen
Green colour map.kGreenRedDiverging
Green-red diverging colour map.kGreens
Greens colour map.kHot
Hot colour map.kHueSaturationBrightness
Hue-saturation-brightness (HSV) colour map.kJet
Jet colour map.kLightPastel
Light pastel colour map.kMagenta
Magenta colour map.kRandom
Random colours colour map.kRed
Red colour map.kSeparatedRGB
Separated red-green-blue (RGB) colour map.kUltraLightPastel
Ultra-light pastel colour map.kVioletPurples
Violet-purples colour map.kYellow
Yellow colour map.kYellowBrowns
Yellow-browns colour map. -
Method Summary
Modifier and Type Method Description static JGradientColorMap.EColorMap
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static JGradientColorMap.EColorMap[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
kBone
Bone colour map. -
kCopper
Copper colour map. -
kDiscontinuousBlueWhiteGreen
Discontinuous blue-white-green colour map. -
kDiscontinuousDarkRedYellow
Discontinuous dark-red-yellow colour map. -
kBlackAndWhite
Black and white colour map. -
kGrayScale
Gray scale colour map. -
kGrayScaleTrimmed
Trimmed gray scale colour map. -
kGreenRedDiverging
Green-red diverging colour map. -
kHot
Hot colour map. -
kJet
Jet colour map. -
kHueSaturationBrightness
Hue-saturation-brightness (HSV) colour map. -
kSeparatedRGB
Separated red-green-blue (RGB) colour map. -
kRed
Red colour map. -
kGreen
Green colour map. -
kBlue
Blue colour map. -
kYellow
Yellow colour map. -
kCyan
Cyan colour map. -
kMagenta
Magenta colour map. -
kUltraLightPastel
Ultra-light pastel colour map. -
kLightPastel
Light pastel colour map. -
kDarkPastel
Dark pastel colour map. -
kGreens
Greens colour map. -
kBlues
Blues colour map. -
kYellowBrowns
Yellow-browns colour map. -
kVioletPurples
Violet-purples colour map. -
kDeepSpace
Deep space colour map. -
kBlueWhite
Blue-white colour map. -
kCustom
Custom colour map. -
kRandom
Random colours colour map.
-
-
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
-