public class PovrayPreferences
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActiveIni() |
Color |
getColor(java.lang.String key)
Fetches a specific color from the preference store.
|
static PovrayPreferences |
getInstance() |
RGB |
getRGB(java.lang.String key)
Fetches a specific RGB color from the preference store.
|
void |
setActiveIni(java.lang.String name) |
public static PovrayPreferences getInstance()
public RGB getRGB(java.lang.String key)
key
- The preference store key for which the color is to be fetchedpublic Color getColor(java.lang.String key)
key
- The preference store key for which the color is to be fetchedpublic java.lang.String getActiveIni()
public void setActiveIni(java.lang.String name)