Package PamView
Class ColorSettings
java.lang.Object
PamView.ColorSettings
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getColourBlindName
(int scheme) int
int
Get the number of colour schemes.getScheme
(int schemeIndex) Get, but don't select a colour scheme.void
rebuildSchemes
(int colourBlindPalet2) selectScheme
(int schemeIndex) selectScheme
(String schemeName) void
setColourBlindPalet
(int colourBlindPalet)
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
ACCESSIBLE_95
public static final int ACCESSIBLE_95- See Also:
-
ACCESSIBLE_99
public static final int ACCESSIBLE_99- See Also:
-
ACCESSIBLE_999
public static final int ACCESSIBLE_999- See Also:
-
-
Constructor Details
-
ColorSettings
public ColorSettings()
-
-
Method Details
-
rebuildSchemes
public void rebuildSchemes(int colourBlindPalet2) -
getScheme
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
-
selectScheme
-
getCurrentScheme
-
getColourBlindPalet
public int getColourBlindPalet()- Returns:
- the colourBlindPalet
-
setColourBlindPalet
public void setColourBlindPalet(int colourBlindPalet) - Parameters:
colourBlindPalet
- the colourBlindPalet to set
-
getColourBlindName
-
getColourBlindName
-