net.sf.doolin.gui.swing
Class AbstractFilePath
java.lang.Object
net.sf.doolin.gui.swing.AbstractFilePath
- All Implemented Interfaces:
- IFilePath
- Direct Known Subclasses:
- ComboFilePath, TextFilePath
public abstract class AbstractFilePath
- extends Object
- implements IFilePath
Abstract implementation for a IFilePath that provides support for the
listeners.
- Author:
- Damien Coraboeuf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFilePath
public AbstractFilePath()
addFilePathListener
public void addFilePathListener(FilePathListener filePathListener)
- Description copied from interface:
IFilePath
- Adds a listener for the path change
- Specified by:
addFilePathListener in interface IFilePath
- Parameters:
filePathListener - Listener
fireNewPath
protected void fireNewPath(String text)
- Fires to all listeners that the path has changed.
- Parameters:
text - Next text- See Also:
FilePathListener.filePathChanged(String)
removeFilePathListener
public void removeFilePathListener(FilePathListener filePathListener)
- Description copied from interface:
IFilePath
- Removes a listener for the path change
- Specified by:
removeFilePathListener in interface IFilePath
- Parameters:
filePathListener - Listener
Copyright © 2011. All Rights Reserved.