Package PamView

Class ColorSettings

java.lang.Object
PamView.ColorSettings
All Implemented Interfaces:
Serializable, Cloneable

public class ColorSettings extends Object implements Serializable, Cloneable
See Also:
  • Field Details

  • Constructor Details

    • ColorSettings

      public ColorSettings()
  • Method Details

    • rebuildSchemes

      public void rebuildSchemes(int colourBlindPalet2)
    • getScheme

      public ColourScheme getScheme(int schemeIndex)
      Get, but don't select a colour scheme.
      Parameters:
      schemeIndex -
      Returns:
      Colour Scheme.
    • getNumSchemes

      public int getNumSchemes()
      Get the number of colour schemes.
      Returns:
      the number of colour schemes.
    • selectScheme

      public ColourScheme selectScheme(int schemeIndex)
    • selectScheme

      public ColourScheme selectScheme(String schemeName)
    • getCurrentScheme

      public String getCurrentScheme()
    • getColourBlindPalet

      public int getColourBlindPalet()
      Returns:
      the colourBlindPalet
    • setColourBlindPalet

      public void setColourBlindPalet(int colourBlindPalet)
      Parameters:
      colourBlindPalet - the colourBlindPalet to set
    • getColourBlindName

      public String getColourBlindName()
    • getColourBlindName

      public static String getColourBlindName(int scheme)