Class 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 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 event
        file - 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