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 Link icon

  • Constructor Details Link icon

    • ColorSettings Link icon

      public ColorSettings()
  • Method Details Link icon

    • rebuildSchemes Link icon

      public void rebuildSchemes(int colourBlindPalet2)
    • getScheme Link icon

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

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

      public ColourScheme selectScheme(int schemeIndex)
    • selectScheme Link icon

      public ColourScheme selectScheme(String schemeName)
    • getCurrentScheme Link icon

      public String getCurrentScheme()
    • getColourBlindPalet Link icon

      public int getColourBlindPalet()
      Returns:
      the colourBlindPalet
    • setColourBlindPalet Link icon

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

      public String getColourBlindName()
    • getColourBlindName Link icon

      public static String getColourBlindName(int scheme)