Class OptionsDialog

    • Constructor Detail

      • OptionsDialog

        public OptionsDialog​(java.lang.String title,
                             java.lang.String rootNodeName,
                             Options[] options,
                             OptionsEditorListener listener)
        Construct a new OptionsDialog.
        Parameters:
        title - dialog title
        rootNodeName - name to display for the root node in the tree
        options - editable options
        listener - listener notified when the apply button is hit.
      • OptionsDialog

        public OptionsDialog​(java.lang.String title,
                             java.lang.String rootNodeName,
                             Options[] options,
                             OptionsEditorListener listener,
                             boolean showRestoreDefaultsButton)
    • Method Detail

      • dispose

        public void dispose()
      • getSelectedPath

        public javax.swing.tree.TreePath getSelectedPath()
      • setSelectedPath

        public void setSelectedPath​(javax.swing.tree.TreePath path)
      • cancelCallback

        protected void cancelCallback()
        Description copied from class: DialogComponentProvider
        The callback method for when the "Cancel" button is pressed. The default behavior is to call setVisible(false) and dispose() on the dialog.
        Overrides:
        cancelCallback in class DialogComponentProvider
      • displayCategory

        public void displayCategory​(java.lang.String category,
                                    java.lang.String filterText)