proper.gui.core.event
Class CurrentDirChangeEvent
java.lang.Object
java.util.EventObject
proper.gui.core.event.CurrentDirChangeEvent
- All Implemented Interfaces:
- java.io.Serializable
public class CurrentDirChangeEvent
- extends java.util.EventObject
This Event is fired by a FileTextField
after selecting a file.
Can be used to synchronize several TextFields so that the User doesn't have
to change the directory for each TextField.
- Version:
- $Revision: 1.2 $
- Author:
- FracPete
- See Also:
FileTextField
,
CurrentDirChangeListener
,
Serialized Form
Constructor Summary |
CurrentDirChangeEvent(java.lang.Object source,
java.io.File currentDir)
creates an event with the given directory |
Method Summary |
java.io.File |
getCurrentDir()
returns the File-Object that represents the new current directory. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CurrentDirChangeEvent
public CurrentDirChangeEvent(java.lang.Object source,
java.io.File currentDir)
- creates an event with the given directory
getCurrentDir
public java.io.File getCurrentDir()
- returns the File-Object that represents the new current directory.