Package adams.gui.core
Class FilePanel.FileDoubleClickEvent
- java.lang.Object
-
- java.util.EventObject
-
- adams.gui.core.FilePanel.FileDoubleClickEvent
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- FilePanel
public static class FilePanel.FileDoubleClickEvent extends EventObject
Event for double clicks on files.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected FileObject
m_File
the file that got double clicked.-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description FileDoubleClickEvent(FilePanel source, FileObject file)
Initializes the event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileObject
getFile()
Returns the file that got double-clicked.FilePanel
getFilePanel()
Returns the file panel that triggered the event.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Field Detail
-
m_File
protected FileObject m_File
the file that got double clicked.
-
-
Constructor Detail
-
FileDoubleClickEvent
public FileDoubleClickEvent(FilePanel source, FileObject file)
Initializes the event.- Parameters:
source
- the panel that triggered the eventfile
- the file that got double clicked
-
-
Method Detail
-
getFilePanel
public FilePanel getFilePanel()
Returns the file panel that triggered the event.- Returns:
- the panel
-
getFile
public FileObject getFile()
Returns the file that got double-clicked.- Returns:
- the file
-
-