Class DocumentMetaDataDialog

    • Constructor Detail

      • DocumentMetaDataDialog

        public DocumentMetaDataDialog()
                               throws HeadlessException
        Creates a non-modal dialog without a title and without a specified Frame owner. A shared, hidden frame will be set as the owner of the dialog.

        This constructor sets the component's locale property to the value returned by JComponent.getDefaultLocale.

        Throws:
        HeadlessException - if GraphicsEnvironment.isHeadless() returns true.
        See Also:
        GraphicsEnvironment.isHeadless(), JComponent.getDefaultLocale()
      • DocumentMetaDataDialog

        public DocumentMetaDataDialog​(Frame owner)
                               throws HeadlessException
        Creates a non-modal dialog without a title with the specified Frame as its owner. If owner is null, a shared, hidden frame will be set as the owner of the dialog.

        This constructor sets the component's locale property to the value returned by JComponent.getDefaultLocale.

        Parameters:
        owner - the Frame from which the dialog is displayed
        Throws:
        HeadlessException - if GraphicsEnvironment.isHeadless() returns true.
        See Also:
        GraphicsEnvironment.isHeadless(), JComponent.getDefaultLocale()
      • DocumentMetaDataDialog

        public DocumentMetaDataDialog​(Dialog owner)
                               throws HeadlessException
        Creates a non-modal dialog without a title with the specified Dialog as its owner.

        This constructor sets the component's locale property to the value returned by JComponent.getDefaultLocale.

        Parameters:
        owner - the non-null Dialog from which the dialog is displayed
        Throws:
        HeadlessException - if GraphicsEnvironment.isHeadless() returns true.
        See Also:
        GraphicsEnvironment.isHeadless(), JComponent.getDefaultLocale()
    • Method Detail

      • init

        protected void init()
        Overrides:
        init in class org.pentaho.reporting.libraries.designtime.swing.CommonDialog
      • performInitialResize

        protected void performInitialResize()
        Overrides:
        performInitialResize in class org.pentaho.reporting.libraries.designtime.swing.CommonDialog
      • getDialogId

        protected String getDialogId()
        Specified by:
        getDialogId in class org.pentaho.reporting.libraries.designtime.swing.CommonDialog
      • createContentPane

        protected Component createContentPane()
        Specified by:
        createContentPane in class org.pentaho.reporting.libraries.designtime.swing.CommonDialog
      • performEdit

        public org.pentaho.reporting.libraries.docbundle.DocumentMetaData performEdit​(org.pentaho.reporting.libraries.docbundle.DocumentMetaData metaData,
                                                                                      org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager,
                                                                                      org.pentaho.reporting.libraries.resourceloader.ResourceKey bundleKey)