com.jtechlabs.ui.widget.directorychooser
Class DirectoryChooserErrorEvent
java.lang.Object
java.util.EventObject
com.jtechlabs.ui.widget.directorychooser.DirectoryChooserErrorEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class DirectoryChooserErrorEvent
- extends java.util.EventObject
An event, that notifies listeners about an error.
- Version:
- 1.0
- Author:
- Aleksey Prochukhan
Constructor Summary |
DirectoryChooserErrorEvent(java.lang.Object source,
java.io.File file,
java.lang.Exception error)
Notifies about error occured in the JDirectoryChooser component. |
Method Summary |
java.lang.Exception |
getException()
Returns exception object that contains information about an error. |
java.io.File |
getFile()
Returns the file object that was not handled because of an error. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DirectoryChooserErrorEvent
public DirectoryChooserErrorEvent(java.lang.Object source,
java.io.File file,
java.lang.Exception error)
- Notifies about error occured in the
JDirectoryChooser
component.
- Parameters:
source
- the source of event (JDirectoryChooser
component).file
- the file object that was not handled because of an error.error
- the exception that caused this error (can be null
).
getFile
public java.io.File getFile()
- Returns the file object that was not handled because of an error.
- Returns:
- the file object that was not handled because of an error.
getException
public java.lang.Exception getException()
- Returns exception object that contains information about an error.
- Returns:
- the exception object that contains information about an error.
Copyright © 2005 JTechLabs.com All Rights Reserved.