Class JavaArgumentsDialog

    • Constructor Detail

      • JavaArgumentsDialog

        public JavaArgumentsDialog​(JFrame parent,
                                   JavaArguments javaArguments,
                                   org.forgerock.i18n.LocalizableMessage title,
                                   org.forgerock.i18n.LocalizableMessage message)
                            throws IllegalArgumentException
        Constructor of the JavaArgumentsDialog.
        Parameters:
        parent - the parent frame for this dialog.
        javaArguments - the java arguments used to populate this dialog.
        title - the title of the dialog.
        message - the message to be displayed in top.
        Throws:
        IllegalArgumentException - if options is null.
    • Method Detail

      • isCanceled

        public boolean isCanceled()
        Returns true if the user clicked on cancel and false otherwise.
        Returns:
        true if the user clicked on cancel and false otherwise.
      • getJavaArguments

        public JavaArguments getJavaArguments()
        Returns the java arguments object representing the input of the user in this panel. The method assumes that the values in the panel are valid.
        Returns:
        the java arguments object representing the input of the user in this panel.
      • main

        public static void main​(String[] args)
        Method written for testing purposes.
        Parameters:
        args - the arguments to be passed to the test program.