public class Settings
extends Object
Constructor and Description |
---|
Settings(File file) |
Modifier and Type | Method and Description |
---|---|
String |
get(String attribute) |
boolean |
getBoolean(String attribute) |
Color |
getColor(String attribute) |
String |
getDefault(String attribute) |
Font |
getFont(String attr) |
int |
getInteger(String attribute) |
void |
load() |
void |
load(File additions) |
void |
save() |
void |
set(String attribute,
String value) |
void |
setBoolean(String attribute,
boolean value) |
void |
setColor(String attr,
Color what) |
void |
setInteger(String key,
int value) |
public void load()
public void load(File additions)
public void save()
public String get(String attribute)
public String getDefault(String attribute)
public void set(String attribute, String value)
public boolean getBoolean(String attribute)
public void setBoolean(String attribute, boolean value)
public int getInteger(String attribute)
public void setInteger(String key, int value)
public Color getColor(String attribute)
public void setColor(String attr, Color what)
public Font getFont(String attr)