|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simbrain.gauge.GaugePreferences
public class GaugePreferences
GaugePreferences handles storage and retrieval of user preferences, e.g. background color for the gauge panel, point size, etc.
| Field Summary | |
|---|---|
static String |
FS
File system seperator. |
| Constructor Summary | |
|---|---|
GaugePreferences()
|
|
| Method Summary | |
|---|---|
static String |
getAddMethod()
|
static boolean |
getAutoFind()
|
static int |
getBackgroundColor()
|
static boolean |
getColorDataPoints()
|
static String |
getCurrentDirectory()
|
static String |
getDefaultAddMethod()
|
static boolean |
getDefaultAutoFind()
|
static int |
getDefaultBackgroundColor()
|
static int |
getDefaultColor()
|
static boolean |
getDefaultColorDataPoints()
|
static String |
getDefaultCurrentDirectory()
|
static int |
getDefaultDefaultColor()
|
static String |
getDefaultDefaultProjector()
|
static double |
getDefaultEpsilon()
|
static int |
getDefaultHiDim1()
|
static int |
getDefaultHiDim2()
|
static int |
getDefaultHotColor()
|
static int |
getDefaultIterationsBetweenUpdates()
|
static double |
getDefaultPerturbationAmount()
|
static double |
getDefaultPointSize()
|
static String |
getDefaultProjector()
|
static boolean |
getDefaultShowError()
|
static boolean |
getDefaultShowStatusBar()
|
static double |
getDefaultTolerance()
|
static double |
getEpsilon()
|
static int |
getHiDim1()
|
static int |
getHiDim2()
|
static int |
getHotColor()
|
static int |
getIterationsBetweenUpdates()
|
static double |
getPerturbationAmount()
|
static double |
getPointSize()
|
static boolean |
getShowError()
|
static boolean |
getShowStatusBar()
|
static double |
getTolerance()
|
static void |
restoreCoordinateDefaults()
Restores coordinate preferences to default values. |
static void |
restoreGeneralDefaults()
Restores general preferences to default values. |
static void |
restoreGraphicsDefaults()
Restores graphics preferences to default values. |
static void |
restoreSammonDefaults()
Restores sammon preferences to default values. |
static void |
saveAll()
Save all user preferences. |
static void |
setAddMethod(String addMethod)
|
static void |
setAutoFind(boolean autoFind)
|
static void |
setBackgroundColor(int rgbColor)
|
static void |
setColorDataPoints(boolean dataPoints)
|
static void |
setCurrentDirectory(String dir)
|
static void |
setDefaultColor(int rgbColor)
|
static void |
setDefaultProjector(String defaultProjector)
|
static void |
setEpsilon(double epsilon)
|
static void |
setHiDim1(int dim)
|
static void |
setHiDim2(int dim)
|
static void |
setHotColor(int rgbColor)
|
static void |
setIterationsBetweenUpdates(int iterations)
|
static void |
setPerturbationAmount(double amount)
|
static void |
setPointSize(double size)
|
static void |
setShowError(boolean error)
|
static void |
setShowStatusBar(boolean statusBar)
|
static void |
setTolerance(double tolerance)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String FS
| Constructor Detail |
|---|
public GaugePreferences()
| Method Detail |
|---|
public static void saveAll()
public static void restoreGeneralDefaults()
public static void restoreGraphicsDefaults()
public static void restoreCoordinateDefaults()
public static void restoreSammonDefaults()
public static void setBackgroundColor(int rgbColor)
rgbColor - Sets Background color.public static int getBackgroundColor()
public static int getDefaultBackgroundColor()
public static void setHotColor(int rgbColor)
rgbColor - Sets hot color.public static int getHotColor()
public static int getDefaultHotColor()
public static void setDefaultColor(int rgbColor)
rgbColor - Sets default color.public static int getDefaultColor()
public static int getDefaultDefaultColor()
public static void setTolerance(double tolerance)
tolerance - Sets tolerance.public static double getTolerance()
public static double getDefaultTolerance()
public static void setPerturbationAmount(double amount)
amount - Sets pertubation amount.public static double getPerturbationAmount()
public static double getDefaultPerturbationAmount()
public static void setShowError(boolean error)
error - Sets show error.public static boolean getShowError()
public static boolean getDefaultShowError()
public static void setShowStatusBar(boolean statusBar)
statusBar - Sets show status bar.public static boolean getShowStatusBar()
public static boolean getDefaultShowStatusBar()
public static void setColorDataPoints(boolean dataPoints)
dataPoints - Sets color data points.public static boolean getColorDataPoints()
public static boolean getDefaultColorDataPoints()
public static void setPointSize(double size)
size - Sets the size of data points.public static double getPointSize()
public static double getDefaultPointSize()
public static void setIterationsBetweenUpdates(int iterations)
iterations - Sets number of iterations between updates.public static int getIterationsBetweenUpdates()
public static int getDefaultIterationsBetweenUpdates()
public static void setEpsilon(double epsilon)
epsilon - Sets epsilon value.public static double getEpsilon()
public static double getDefaultEpsilon()
public static void setHiDim1(int dim)
dim - Sets high dimension 1 value.public static int getHiDim1()
public static int getDefaultHiDim1()
public static void setHiDim2(int dim)
dim - Sets high dimension 2 value.public static int getHiDim2()
public static int getDefaultHiDim2()
public static void setAutoFind(boolean autoFind)
autoFind - Sets auto find value.public static boolean getAutoFind()
public static boolean getDefaultAutoFind()
public static void setAddMethod(String addMethod)
addMethod - Sets current add method value.public static String getAddMethod()
public static String getDefaultAddMethod()
public static void setDefaultProjector(String defaultProjector)
defaultProjector - Sets default projector value.public static String getDefaultProjector()
public static String getDefaultDefaultProjector()
public static void setCurrentDirectory(String dir)
dir - Sets current directory value.public static String getCurrentDirectory()
public static String getDefaultCurrentDirectory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||