Modifier and Type | Class and Description |
---|---|
class |
PreferencesManager.PrefNode |
Constructor and Description |
---|
PreferencesManager(java.io.File file) |
Modifier and Type | Method and Description |
---|---|
void |
addProps(java.lang.String pathname,
java.lang.String internalName,
Preferences props) |
PreferencesManager.PrefNode |
getFirstProps() |
PreferencesManager.PrefNode |
getTree() |
boolean |
isWritable()
Returns
true if this component should in fact be written to
secondary storage. |
boolean |
loadOrCreate()
Load the preferences file if it is there, or create it if it is not.
|
void |
reloadEditPanelProperties() |
void |
resetAllDefaults() |
void |
restoreEditPanelProperties() |
boolean |
save() |
void |
scan(ReaderTokenizer rtok,
java.lang.Object ref)
Scans this element from a ReaderTokenizer.
|
void |
write(java.io.PrintWriter pw,
NumberFormat fmt,
java.lang.Object ref)
Writes a text description of this element to a PrintWriter.
|
public PreferencesManager.PrefNode getTree()
public PreferencesManager.PrefNode getFirstProps()
public void addProps(java.lang.String pathname, java.lang.String internalName, Preferences props)
public void reloadEditPanelProperties()
public void restoreEditPanelProperties()
public void resetAllDefaults()
public boolean loadOrCreate()
public void scan(ReaderTokenizer rtok, java.lang.Object ref) throws java.io.IOException
Scannable
write
.public boolean save()
public void write(java.io.PrintWriter pw, NumberFormat fmt, java.lang.Object ref) throws java.io.IOException
Scannable
scan
and complete
enough to allow full reconstruction of the element.public boolean isWritable()
Scannable
true
if this component should in fact be written to
secondary storage. This gives subclasses control over whether or
not they are actually written out.isWritable
in interface Scannable
true
if this component should be written to
secondary storage.