|
JSampler v0.8a |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jsampler.Prefs
public class Prefs
This class represents the preferences of the JSampler package.
| Constructor Summary | |
|---|---|
Prefs()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getInterfaceCountry()
Gets the interface country. |
static java.lang.String |
getInterfaceFont()
Gets the interface font. |
static java.lang.String |
getInterfaceLanguage()
Gets the interface language. |
static java.lang.String |
getJSamplerHome()
Gets the absolute path of JSampler home directory. |
static java.lang.String |
getLSAddress()
Gets the LinuxSampler address. |
static int |
getLSPort()
Gets the LinuxSampler port. |
static java.lang.String |
getView()
Gets the name of the current View. |
static boolean |
setInterfaceCountry(java.lang.String country)
Sets the interface country. |
static boolean |
setInterfaceFont(java.lang.String font)
Sets the interface font. |
static boolean |
setInterfaceLanguage(java.lang.String language)
Sets the interface language. |
static boolean |
setJSamplerHome(java.lang.String home)
Sets the JSampler home directory. |
static void |
setLSAddress(java.lang.String address)
Sets the LinuxSampler address. |
static void |
setLSPort(int port)
Sets the LinuxSampler port number. |
static void |
setView(java.lang.String view)
Sets the current View of JSampler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Prefs()
| Method Detail |
|---|
public static java.lang.String getView()
public static void setView(java.lang.String view)
view - the name of the new View.public static java.lang.String getInterfaceLanguage()
public static boolean setInterfaceLanguage(java.lang.String language)
true if the interface language has changed and false
otherwise.public static java.lang.String getInterfaceCountry()
public static boolean setInterfaceCountry(java.lang.String country)
true if the interface country has changed and false
otherwise.public static java.lang.String getInterfaceFont()
public static boolean setInterfaceFont(java.lang.String font)
true if the interface font has changed and false
otherwise.public static java.lang.String getJSamplerHome()
null if the JSampler home directory is not set.public static boolean setJSamplerHome(java.lang.String home)
home - The absolute path of JSampler home directory.
true if the JSampler home directory has
been changed and false otherwise.public static java.lang.String getLSAddress()
public static void setLSAddress(java.lang.String address)
address - The LinuxSampler address.public static int getLSPort()
public static void setLSPort(int port)
port - the port number. Use -1 to reset to default value.
|
JSampler v0.8a |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||