|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvlcskineditor.Config
public class Config
Class to manage the configuration
| Constructor Summary | |
|---|---|
Config()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
get(java.lang.String key)
Gets the configured value of a certain key |
static int |
getInt(java.lang.String key)
Gets the configured value of a certain key as an integer |
static void |
load()
Loads the configuration |
static void |
save()
Saves the configuration |
static void |
set(java.lang.String key,
java.lang.Object value)
Configures a certain key |
static void |
setMainInstance(Main m)
|
static void |
showOptions()
Shows a dialog to edit the configuration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Config()
| Method Detail |
|---|
public static void load()
public static java.lang.String get(java.lang.String key)
key - The key to look for
public static int getInt(java.lang.String key)
key - The key to look for
public static void set(java.lang.String key,
java.lang.Object value)
key - The key to setvalue - The key's new valuepublic static void save()
public static void showOptions()
public static void setMainInstance(Main m)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||