public interface Communication
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Adds the property change listener.
|
void |
ensureFileIsVisible(File f)
Scrolls the specified file into view
|
File |
getCurrentDirectory()
Returns the current directory.
|
File[] |
getSelectedFiles()
Returns all the selected files.
|
void |
removePropertyChangeListener(PropertyChangeListener l)
Removes the property change listener.
|
void |
setCurrentDirectory(File dir)
Sets the current directory.
|
void setCurrentDirectory(File dir)
dir - the directory to useFile getCurrentDirectory()
File[] getSelectedFiles()
void ensureFileIsVisible(File f)
f - the file to scroll into viewvoid addPropertyChangeListener(PropertyChangeListener l)
l - the listener to addvoid removePropertyChangeListener(PropertyChangeListener l)
l - the listener to removeCopyright © 2022. All rights reserved.