|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdiva.gui.AbstractStoragePolicy
public abstract class AbstractStoragePolicy
It is nice if storage policies suggest good pathnames. Usually the file they last opened. This abstract class provides such functionality.
| Constructor Summary | |
|---|---|
AbstractStoragePolicy()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDirectory()
Return a reasonable directory for file choosers to use. |
void |
setDirectory(java.io.File file)
Set the current browsed directory to that given in the file. |
void |
setDirectory(java.lang.String directory)
Set the current browsed directory to that given directory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface diva.gui.StoragePolicy |
|---|
close, open, open, open, save, saveAs |
| Constructor Detail |
|---|
public AbstractStoragePolicy()
| Method Detail |
|---|
public java.lang.String getDirectory()
public void setDirectory(java.io.File file)
public void setDirectory(java.lang.String directory)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||