|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.ToolUtil.EditablePrefs
public static class ToolUtil.EditablePrefs
A simple editable object used to manipulate preferences.
| Constructor Summary | |
|---|---|
ToolUtil.EditablePrefs(Preferences prefs)
Creates a new editable prefs object using the specified underlying preferences. |
|
| Method Summary | |
|---|---|
File |
getResourceDir()
Returns the resource directory. |
void |
init(com.threerings.resource.ResourceManager rsrcmgr)
Initializes the prefs with a reference to the resource manager. |
void |
setResourceDir(File dir)
Sets the resource directory. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToolUtil.EditablePrefs(Preferences prefs)
| Method Detail |
|---|
public void init(com.threerings.resource.ResourceManager rsrcmgr)
@Editable(mode="directory",
nullable=true)
public void setResourceDir(File dir)
@Editable public File getResourceDir()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||