Class SimplePreviewBrowserDialog

    • Field Detail

      • m_PanelDisplay

        protected PreviewDisplay m_PanelDisplay
        the preview panel.
      • m_TextFilename

        protected BaseTextField m_TextFilename
        for displaying the filename.
    • Constructor Detail

      • SimplePreviewBrowserDialog

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

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

        public SimplePreviewBrowserDialog​(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
      • SimplePreviewBrowserDialog

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

        public SimplePreviewBrowserDialog​(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