public class FileCleanerModel extends Object
Constructor and Description |
---|
FileCleanerModel() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Add a property change listener.
|
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Add a property change listener for a named property.
|
File |
getFile()
Retrieves the file selected by the user.
|
boolean |
getShowDialog()
Retrieves the show dialog flag.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Remove a property change listener.
|
void |
setFile(File file)
Sets the file selected by the user.
|
void |
setShowDialog(boolean showDialog)
Sets the show dialog flag.
|
public boolean getShowDialog()
public void setShowDialog(boolean showDialog)
showDialog
- show dialog flagpublic File getFile()
public void setFile(File file)
file
- file selected by the user.public void addPropertyChangeListener(PropertyChangeListener listener)
listener
- property change listenerpublic void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
propertyName
- property namelistener
- listenerpublic void removePropertyChangeListener(PropertyChangeListener listener)
listener
- property change listenerCopyright © 2000–2024 Packwood Software. All rights reserved.