public class MRUScriptsOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DEFAULT_NODE_NAME |
static java.lang.String |
MRU_SCRIPT_LIST_PROPERTY |
protected java.lang.String |
nodeName |
Modifier | Constructor and Description |
---|---|
protected |
MRUScriptsOptions() |
Modifier and Type | Method and Description |
---|---|
void |
addFile(java.lang.String absolutePath) |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener) |
protected void |
firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue) |
static MRUScriptsOptions |
getInstance()
Returns the single instance, creating one if it's the
first time this method is called.
|
java.util.List<java.lang.String> |
getMRUFileList() |
protected java.util.prefs.Preferences |
getPreferences()
Return the backing store Preferences
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener) |
protected void |
retrieve() |
void |
setMRUFileList(java.util.List<java.lang.String> list) |
protected void |
store() |
protected static java.lang.String DEFAULT_NODE_NAME
protected java.lang.String nodeName
public static final java.lang.String MRU_SCRIPT_LIST_PROPERTY
public static MRUScriptsOptions getInstance()
public java.util.List<java.lang.String> getMRUFileList()
public void setMRUFileList(java.util.List<java.lang.String> list)
public void addFile(java.lang.String absolutePath)
protected void store()
protected void retrieve()
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
protected void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
protected final java.util.prefs.Preferences getPreferences()