Enum TableauScheme

  • All Implemented Interfaces:
    Serializable, Comparable<TableauScheme>, Key, ColorScheme

    public enum TableauScheme
    extends Enum<TableauScheme>
    Contains all scheme definitions to map the Tableau schemes.
    To configure ColorSchemes.ID plugin, where category is "tableau".
    Every color scheme has a number at the end of its name, which indicates the number of that colors included in the scheme. If the number of the datasets is larger than it, the same colors will appear repeatedly. A color is not modified if it is specified by dataset options.
    Author:
    Andrea "Stock" Stocchero
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BLUE_GREEN7
      Color scheme name "BlueGreen7" -                                                  
      BLUE_LIGHT7
      Color scheme name "BlueLight7" -                                                  
      BLUE_TEAL20
      Color scheme name "BlueTeal20" -                                                                                                                                             
      BLUE20
      Color scheme name "Blue20" -                                                                                                                                             
      BROWN20
      Color scheme name "Brown20" -                                                                                                                                             
      CLASSIC_AREA_BROWN11
      Color scheme name "ClassicAreaBrown11" -                                                                              
      CLASSIC_AREA_GREEN11
      Color scheme name "ClassicAreaGreen11" -                                                                              
      CLASSIC_AREA_RED_GREEN21
      Color scheme name "ClassicAreaRedGreen21" -                                                                                                                                                    
      CLASSIC_AREA_RED11
      Color scheme name "ClassicAreaRed11" -                                                                              
      CLASSIC_BLUE_RED12
      Color scheme name "ClassicBlueRed12" -                                                                                     
      CLASSIC_BLUE_RED6
      Color scheme name "ClassicBlueRed6" -                                           
      CLASSIC_BLUE7
      Color scheme name "ClassicBlue7" -                                                  
      CLASSIC_COLOR_BLIND10
      Color scheme name "ClassicColorBlind10" -                                                                       
      CLASSIC_CYCLIC13
      Color scheme name "ClassicCyclic13" -                                                                                            
      CLASSIC_GRAY13
      Color scheme name "ClassicGray13" -                                                                                            
      CLASSIC_GRAY5
      Color scheme name "ClassicGray5" -                                    
      CLASSIC_GREEN_BLUE11
      Color scheme name "ClassicGreenBlue11" -                                                                              
      CLASSIC_GREEN_ORANGE12
      Color scheme name "ClassicGreenOrange12" -                                                                                     
      CLASSIC_GREEN_ORANGE6
      Color scheme name "ClassicGreenOrange6" -                                           
      CLASSIC_GREEN7
      Color scheme name "ClassicGreen7" -                                                  
      CLASSIC_LIGHT10
      Color scheme name "ClassicLight10" -                                                                       
      CLASSIC_MEDIUM10
      Color scheme name "ClassicMedium10" -                                                                       
      CLASSIC_ORANGE_BLUE13
      Color scheme name "ClassicOrangeBlue13" -                                                                                            
      CLASSIC_ORANGE_WHITE_BLUE_LIGHT11
      Color scheme name "ClassicOrangeWhiteBlueLight11" -                                                                              
      CLASSIC_ORANGE_WHITE_BLUE11
      Color scheme name "ClassicOrangeWhiteBlue11" -                                                                              
      CLASSIC_ORANGE7
      Color scheme name "ClassicOrange7" -                                                  
      CLASSIC_PURPLE_GRAY12
      Color scheme name "ClassicPurpleGray12" -                                                                                     
      CLASSIC_PURPLE_GRAY6
      Color scheme name "ClassicPurpleGray6" -                                           
      CLASSIC_RED_BLACK11
      Color scheme name "ClassicRedBlack11" -                                                                              
      CLASSIC_RED_BLUE11
      Color scheme name "ClassicRedBlue11" -                                                                              
      CLASSIC_RED_GREEN_LIGHT11
      Color scheme name "ClassicRedGreenLight11" -                                                                              
      CLASSIC_RED_GREEN11
      Color scheme name "ClassicRedGreen11" -                                                                              
      CLASSIC_RED_WHITE_BLACK_LIGHT10
      Color scheme name "ClassicRedWhiteBlackLight10" -                                                                       
      CLASSIC_RED_WHITE_BLACK11
      Color scheme name "ClassicRedWhiteBlack11" -                                                                              
      CLASSIC_RED_WHITE_GREEN_LIGHT11
      Color scheme name "ClassicRedWhiteGreenLight11" -                                                                              
      CLASSIC_RED_WHITE_GREEN11
      Color scheme name "ClassicRedWhiteGreen11" -                                                                              
      CLASSIC_RED9
      Color scheme name "ClassicRed9" -                                                                
      CLASSIC_TRAFFIC_LIGHT9
      Color scheme name "ClassicTrafficLight9" -                                                                
      CLASSIC10
      Color scheme name "Classic10" -                                                                       
      CLASSIC20
      Color scheme name "Classic20" -                                                                                                                                             
      COLOR_BLIND10
      Color scheme name "ColorBlind10" -                                                                       
      GOLD_PURPLE7
      Color scheme name "GoldPurple7" -                                                  
      GRAY_WARM20
      Color scheme name "GrayWarm20" -                                                                                                                                             
      GRAY20
      Color scheme name "Gray20" -                                                                                                                                             
      GREEN_BLUE_WHITE7
      Color scheme name "GreenBlueWhite7" -                                                  
      GREEN_BLUE7
      Color scheme name "GreenBlue7" -                                                  
      GREEN_GOLD20
      Color scheme name "GreenGold20" -                                                                                                                                             
      GREEN_ORANGE_TEAL12
      Color scheme name "GreenOrangeTeal12" -                                                                                     
      GREEN20
      Color scheme name "Green20" -                                                                                                                                             
      HUE_CIRCLE19
      Color scheme name "HueCircle19" -                                                                                                                                      
      JEWEL_BRIGHT9
      Color scheme name "JewelBright9" -                                                                
      MILLER_STONE11
      Color scheme name "MillerStone11" -                                                                              
      NURIEL_STONE9
      Color scheme name "NurielStone9" -                                                                
      ORANGE_BLUE_LIGHT7
      Color scheme name "OrangeBlueLight7" -                                                  
      ORANGE_BLUE_WHITE7
      Color scheme name "OrangeBlueWhite7" -                                                  
      ORANGE_BLUE7
      Color scheme name "OrangeBlue7" -                                                  
      ORANGE_GOLD20
      Color scheme name "OrangeGold20" -                                                                                                                                             
      ORANGE_LIGHT7
      Color scheme name "OrangeLight7" -                                                  
      ORANGE20
      Color scheme name "Orange20" -                                                                                                                                             
      PURPLE_PINK_GRAY12
      Color scheme name "PurplePinkGray12" -                                                                                     
      PURPLE20
      Color scheme name "Purple20" -                                                                                                                                             
      RED_BLACK_WHITE7
      Color scheme name "RedBlackWhite7" -                                                  
      RED_BLACK7
      Color scheme name "RedBlack7" -                                                  
      RED_BLUE_BROWN12
      Color scheme name "RedBlueBrown12" -                                                                                     
      RED_BLUE_WHITE7
      Color scheme name "RedBlueWhite7" -                                                  
      RED_BLUE7
      Color scheme name "RedBlue7" -                                                  
      RED_GOLD21
      Color scheme name "RedGold21" -                                                                                                                                                    
      RED_GREEN_GOLD7
      Color scheme name "RedGreenGold7" -                                                  
      RED_GREEN_WHITE7
      Color scheme name "RedGreenWhite7" -                                                  
      RED_GREEN7
      Color scheme name "RedGreen7" -                                                  
      RED20
      Color scheme name "Red20" -                                                                                                                                             
      SEATTLE_GRAYS5
      Color scheme name "SeattleGrays5" -                                    
      SUMMER8
      Color scheme name "Summer8" -                                                         
      SUNSET_SUNRISE7
      Color scheme name "SunsetSunrise7" -                                                  
      SUPERFISHEL_STONE10
      Color scheme name "SuperfishelStone10" -                                                                       
      TABLEAU10
      Color scheme name "Tableau10" -                                                                       
      TABLEAU20
      Color scheme name "Tableau20" -                                                                                                                                             
      TEMPERATURE7
      Color scheme name "Temperature7" -                                                  
      TRAFFIC9
      Color scheme name "Traffic9" -                                                                
      WINTER10
      Color scheme name "Winter10" -                                                                       
    • Enum Constant Detail

      • TABLEAU10

        public static final TableauScheme TABLEAU10
        Color scheme name "Tableau10" -                                                                       
      • TABLEAU20

        public static final TableauScheme TABLEAU20
        Color scheme name "Tableau20" -                                                                                                                                             
      • COLOR_BLIND10

        public static final TableauScheme COLOR_BLIND10
        Color scheme name "ColorBlind10" -                                                                       
      • SEATTLE_GRAYS5

        public static final TableauScheme SEATTLE_GRAYS5
        Color scheme name "SeattleGrays5" -                                    
      • TRAFFIC9

        public static final TableauScheme TRAFFIC9
        Color scheme name "Traffic9" -                                                                
      • MILLER_STONE11

        public static final TableauScheme MILLER_STONE11
        Color scheme name "MillerStone11" -                                                                              
      • SUPERFISHEL_STONE10

        public static final TableauScheme SUPERFISHEL_STONE10
        Color scheme name "SuperfishelStone10" -                                                                       
      • NURIEL_STONE9

        public static final TableauScheme NURIEL_STONE9
        Color scheme name "NurielStone9" -                                                                
      • JEWEL_BRIGHT9

        public static final TableauScheme JEWEL_BRIGHT9
        Color scheme name "JewelBright9" -                                                                
      • SUMMER8

        public static final TableauScheme SUMMER8
        Color scheme name "Summer8" -                                                         
      • WINTER10

        public static final TableauScheme WINTER10
        Color scheme name "Winter10" -                                                                       
      • GREEN_ORANGE_TEAL12

        public static final TableauScheme GREEN_ORANGE_TEAL12
        Color scheme name "GreenOrangeTeal12" -                                                                                     
      • RED_BLUE_BROWN12

        public static final TableauScheme RED_BLUE_BROWN12
        Color scheme name "RedBlueBrown12" -                                                                                     
      • PURPLE_PINK_GRAY12

        public static final TableauScheme PURPLE_PINK_GRAY12
        Color scheme name "PurplePinkGray12" -                                                                                     
      • HUE_CIRCLE19

        public static final TableauScheme HUE_CIRCLE19
        Color scheme name "HueCircle19" -                                                                                                                                      
      • ORANGE_BLUE7

        public static final TableauScheme ORANGE_BLUE7
        Color scheme name "OrangeBlue7" -                                                  
      • RED_GREEN7

        public static final TableauScheme RED_GREEN7
        Color scheme name "RedGreen7" -                                                  
      • GREEN_BLUE7

        public static final TableauScheme GREEN_BLUE7
        Color scheme name "GreenBlue7" -                                                  
      • RED_BLUE7

        public static final TableauScheme RED_BLUE7
        Color scheme name "RedBlue7" -                                                  
      • RED_BLACK7

        public static final TableauScheme RED_BLACK7
        Color scheme name "RedBlack7" -                                                  
      • GOLD_PURPLE7

        public static final TableauScheme GOLD_PURPLE7
        Color scheme name "GoldPurple7" -                                                  
      • RED_GREEN_GOLD7

        public static final TableauScheme RED_GREEN_GOLD7
        Color scheme name "RedGreenGold7" -                                                  
      • SUNSET_SUNRISE7

        public static final TableauScheme SUNSET_SUNRISE7
        Color scheme name "SunsetSunrise7" -                                                  
      • ORANGE_BLUE_WHITE7

        public static final TableauScheme ORANGE_BLUE_WHITE7
        Color scheme name "OrangeBlueWhite7" -                                                  
      • RED_GREEN_WHITE7

        public static final TableauScheme RED_GREEN_WHITE7
        Color scheme name "RedGreenWhite7" -                                                  
      • GREEN_BLUE_WHITE7

        public static final TableauScheme GREEN_BLUE_WHITE7
        Color scheme name "GreenBlueWhite7" -                                                  
      • RED_BLUE_WHITE7

        public static final TableauScheme RED_BLUE_WHITE7
        Color scheme name "RedBlueWhite7" -                                                  
      • RED_BLACK_WHITE7

        public static final TableauScheme RED_BLACK_WHITE7
        Color scheme name "RedBlackWhite7" -                                                  
      • ORANGE_BLUE_LIGHT7

        public static final TableauScheme ORANGE_BLUE_LIGHT7
        Color scheme name "OrangeBlueLight7" -                                                  
      • TEMPERATURE7

        public static final TableauScheme TEMPERATURE7
        Color scheme name "Temperature7" -                                                  
      • BLUE_GREEN7

        public static final TableauScheme BLUE_GREEN7
        Color scheme name "BlueGreen7" -                                                  
      • BLUE_LIGHT7

        public static final TableauScheme BLUE_LIGHT7
        Color scheme name "BlueLight7" -                                                  
      • ORANGE_LIGHT7

        public static final TableauScheme ORANGE_LIGHT7
        Color scheme name "OrangeLight7" -                                                  
      • BLUE20

        public static final TableauScheme BLUE20
        Color scheme name "Blue20" -                                                                                                                                             
      • ORANGE20

        public static final TableauScheme ORANGE20
        Color scheme name "Orange20" -                                                                                                                                             
      • GREEN20

        public static final TableauScheme GREEN20
        Color scheme name "Green20" -                                                                                                                                             
      • RED20

        public static final TableauScheme RED20
        Color scheme name "Red20" -                                                                                                                                             
      • PURPLE20

        public static final TableauScheme PURPLE20
        Color scheme name "Purple20" -                                                                                                                                             
      • BROWN20

        public static final TableauScheme BROWN20
        Color scheme name "Brown20" -                                                                                                                                             
      • GRAY20

        public static final TableauScheme GRAY20
        Color scheme name "Gray20" -                                                                                                                                             
      • GRAY_WARM20

        public static final TableauScheme GRAY_WARM20
        Color scheme name "GrayWarm20" -                                                                                                                                             
      • BLUE_TEAL20

        public static final TableauScheme BLUE_TEAL20
        Color scheme name "BlueTeal20" -                                                                                                                                             
      • ORANGE_GOLD20

        public static final TableauScheme ORANGE_GOLD20
        Color scheme name "OrangeGold20" -                                                                                                                                             
      • GREEN_GOLD20

        public static final TableauScheme GREEN_GOLD20
        Color scheme name "GreenGold20" -                                                                                                                                             
      • RED_GOLD21

        public static final TableauScheme RED_GOLD21
        Color scheme name "RedGold21" -                                                                                                                                                    
      • CLASSIC10

        public static final TableauScheme CLASSIC10
        Color scheme name "Classic10" -                                                                       
      • CLASSIC_MEDIUM10

        public static final TableauScheme CLASSIC_MEDIUM10
        Color scheme name "ClassicMedium10" -                                                                       
      • CLASSIC_LIGHT10

        public static final TableauScheme CLASSIC_LIGHT10
        Color scheme name "ClassicLight10" -                                                                       
      • CLASSIC20

        public static final TableauScheme CLASSIC20
        Color scheme name "Classic20" -                                                                                                                                             
      • CLASSIC_GRAY5

        public static final TableauScheme CLASSIC_GRAY5
        Color scheme name "ClassicGray5" -                                    
      • CLASSIC_COLOR_BLIND10

        public static final TableauScheme CLASSIC_COLOR_BLIND10
        Color scheme name "ClassicColorBlind10" -                                                                       
      • CLASSIC_TRAFFIC_LIGHT9

        public static final TableauScheme CLASSIC_TRAFFIC_LIGHT9
        Color scheme name "ClassicTrafficLight9" -                                                                
      • CLASSIC_PURPLE_GRAY6

        public static final TableauScheme CLASSIC_PURPLE_GRAY6
        Color scheme name "ClassicPurpleGray6" -                                           
      • CLASSIC_PURPLE_GRAY12

        public static final TableauScheme CLASSIC_PURPLE_GRAY12
        Color scheme name "ClassicPurpleGray12" -                                                                                     
      • CLASSIC_GREEN_ORANGE6

        public static final TableauScheme CLASSIC_GREEN_ORANGE6
        Color scheme name "ClassicGreenOrange6" -                                           
      • CLASSIC_GREEN_ORANGE12

        public static final TableauScheme CLASSIC_GREEN_ORANGE12
        Color scheme name "ClassicGreenOrange12" -                                                                                     
      • CLASSIC_BLUE_RED6

        public static final TableauScheme CLASSIC_BLUE_RED6
        Color scheme name "ClassicBlueRed6" -                                           
      • CLASSIC_BLUE_RED12

        public static final TableauScheme CLASSIC_BLUE_RED12
        Color scheme name "ClassicBlueRed12" -                                                                                     
      • CLASSIC_CYCLIC13

        public static final TableauScheme CLASSIC_CYCLIC13
        Color scheme name "ClassicCyclic13" -                                                                                            
      • CLASSIC_GREEN7

        public static final TableauScheme CLASSIC_GREEN7
        Color scheme name "ClassicGreen7" -                                                  
      • CLASSIC_GRAY13

        public static final TableauScheme CLASSIC_GRAY13
        Color scheme name "ClassicGray13" -                                                                                            
      • CLASSIC_BLUE7

        public static final TableauScheme CLASSIC_BLUE7
        Color scheme name "ClassicBlue7" -                                                  
      • CLASSIC_RED9

        public static final TableauScheme CLASSIC_RED9
        Color scheme name "ClassicRed9" -                                                                
      • CLASSIC_ORANGE7

        public static final TableauScheme CLASSIC_ORANGE7
        Color scheme name "ClassicOrange7" -                                                  
      • CLASSIC_AREA_RED11

        public static final TableauScheme CLASSIC_AREA_RED11
        Color scheme name "ClassicAreaRed11" -                                                                              
      • CLASSIC_AREA_GREEN11

        public static final TableauScheme CLASSIC_AREA_GREEN11
        Color scheme name "ClassicAreaGreen11" -                                                                              
      • CLASSIC_AREA_BROWN11

        public static final TableauScheme CLASSIC_AREA_BROWN11
        Color scheme name "ClassicAreaBrown11" -                                                                              
      • CLASSIC_RED_GREEN11

        public static final TableauScheme CLASSIC_RED_GREEN11
        Color scheme name "ClassicRedGreen11" -                                                                              
      • CLASSIC_RED_BLUE11

        public static final TableauScheme CLASSIC_RED_BLUE11
        Color scheme name "ClassicRedBlue11" -                                                                              
      • CLASSIC_RED_BLACK11

        public static final TableauScheme CLASSIC_RED_BLACK11
        Color scheme name "ClassicRedBlack11" -                                                                              
      • CLASSIC_AREA_RED_GREEN21

        public static final TableauScheme CLASSIC_AREA_RED_GREEN21
        Color scheme name "ClassicAreaRedGreen21" -                                                                                                                                                    
      • CLASSIC_ORANGE_BLUE13

        public static final TableauScheme CLASSIC_ORANGE_BLUE13
        Color scheme name "ClassicOrangeBlue13" -                                                                                            
      • CLASSIC_GREEN_BLUE11

        public static final TableauScheme CLASSIC_GREEN_BLUE11
        Color scheme name "ClassicGreenBlue11" -                                                                              
      • CLASSIC_RED_WHITE_GREEN11

        public static final TableauScheme CLASSIC_RED_WHITE_GREEN11
        Color scheme name "ClassicRedWhiteGreen11" -                                                                              
      • CLASSIC_RED_WHITE_BLACK11

        public static final TableauScheme CLASSIC_RED_WHITE_BLACK11
        Color scheme name "ClassicRedWhiteBlack11" -                                                                              
      • CLASSIC_ORANGE_WHITE_BLUE11

        public static final TableauScheme CLASSIC_ORANGE_WHITE_BLUE11
        Color scheme name "ClassicOrangeWhiteBlue11" -                                                                              
      • CLASSIC_RED_WHITE_BLACK_LIGHT10

        public static final TableauScheme CLASSIC_RED_WHITE_BLACK_LIGHT10
        Color scheme name "ClassicRedWhiteBlackLight10" -                                                                       
      • CLASSIC_ORANGE_WHITE_BLUE_LIGHT11

        public static final TableauScheme CLASSIC_ORANGE_WHITE_BLUE_LIGHT11
        Color scheme name "ClassicOrangeWhiteBlueLight11" -                                                                              
      • CLASSIC_RED_WHITE_GREEN_LIGHT11

        public static final TableauScheme CLASSIC_RED_WHITE_GREEN_LIGHT11
        Color scheme name "ClassicRedWhiteGreenLight11" -                                                                              
      • CLASSIC_RED_GREEN_LIGHT11

        public static final TableauScheme CLASSIC_RED_GREEN_LIGHT11
        Color scheme name "ClassicRedGreenLight11" -                                                                              
    • Method Detail

      • values

        public static TableauScheme[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TableauScheme c : TableauScheme.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TableauScheme valueOf​(String name)
        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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public default String value()
        Description copied from interface: Key
        Returns the name value of property
        Specified by:
        value in interface Key
        Returns:
        the name value of property
      • getColors

        public default List<IsColor> getColors()
        Description copied from interface: ColorScheme
        Returns a list of colors which are composing a color scheme.
        Specified by:
        getColors in interface ColorScheme
        Returns:
        a list of colors which are composing a color scheme
      • createGradient

        public default Gradient createGradient()
        Creates a LINEAR gradient, with topDown orientation and chart scope.
        Returns:
        new gradient based on color scheme
      • createGradient

        public default Gradient createGradient​(GradientType type)
        Creates a gradient by a type, with chart scope.
        Parameters:
        type - gradient type
        Returns:
        new gradient based on color scheme
      • createGradient

        public default Gradient createGradient​(GradientType type,
                                               GradientOrientation orientation)
        Creates a gradient by a type and an orientation, with chart scope.
        Parameters:
        type - gradient type
        orientation - orientation of gradient
        Returns:
        new gradient based on color scheme
      • createGradient

        public default Gradient createGradient​(GradientType type,
                                               GradientScope scope)
        Creates a gradient by a type and a scope.
        Parameters:
        type - gradient type
        scope - scope of gradient
        Returns:
        new gradient based on color scheme
      • createGradient

        public default Gradient createGradient​(GradientType type,
                                               GradientOrientation orientation,
                                               GradientScope scope)
        Creates a gradient by a type, an orientation and a scope.
        Parameters:
        type - gradient type
        orientation - orientation of gradient
        scope - scope of gradient
        Returns:
        new gradient based on color scheme