Class PreviewBrowserDialog

    • Constructor Detail

      • PreviewBrowserDialog

        public PreviewBrowserDialog()
        Creates a modeless dialog without a title and without a specified Frame owner.
      • PreviewBrowserDialog

        public PreviewBrowserDialog​(Dialog owner)
        Creates a modeless dialog without a title with the specified Dialog as its owner.
        Parameters:
        owner - the owning dialog
      • PreviewBrowserDialog

        public PreviewBrowserDialog​(Dialog owner,
                                    Dialog.ModalityType modality)
        Creates a dialog with the specified owner Dialog and modality.
        Parameters:
        owner - the owning dialog
        modality - the type of modality
      • PreviewBrowserDialog

        public PreviewBrowserDialog​(Frame owner)
        Creates a modeless dialog without a title with the specified Frame as its owner.
        Parameters:
        owner - the owning frame
      • PreviewBrowserDialog

        public PreviewBrowserDialog​(Frame owner,
                                    boolean modal)
        Creates a dialog with the specified owner Frame, modality and an empty title.
        Parameters:
        owner - the owning frame
        modal - whether the dialog is modal or not
    • Method Detail

      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class BaseDialog
      • open

        public void open​(PlaceholderFile file)
        Previews the specified file.
        Parameters:
        file - the file to preview
      • open

        public void open​(PlaceholderDirectory dir)
        Previews the specified directory.
        Parameters:
        dir - the dir to preview
      • getPreviewPanel

        public PreviewBrowserPanel getPreviewPanel()
        Returns the preview panel.
        Returns:
        the panel