public class FSPath extends CayennePreference
| Modifier and Type | Field and Description |
|---|---|
static String |
PATH_PROPERTY |
CAYENNE_PREFERENCES_PATH, EDITOR, LAST_PROJ_FILES| Constructor and Description |
|---|
FSPath(Preferences preferences) |
| Modifier and Type | Method and Description |
|---|---|
File |
getExistingDirectory(boolean create) |
String |
getKey() |
String |
getPath() |
void |
setDirectory(File file) |
void |
setPath(String path) |
void |
updateChooser(JFileChooser chooser) |
void |
updateFromChooser(JFileChooser chooser) |
filePathToPrefereceNodePath, getCayennePreference, getCurrentPreference, getNode, getRootPreference, saveObjectPreference, setCurrentNodeForPreference, setCurrentPreference, setObjectpublic static final String PATH_PROPERTY
public FSPath(Preferences preferences)
public void updateFromChooser(JFileChooser chooser)
public void updateChooser(JFileChooser chooser)
public void setDirectory(File file)
public File getExistingDirectory(boolean create)
public void setPath(String path)
public String getPath()
public String getKey()
Copyright © 2001–2015 Apache Cayenne. All rights reserved.