Class PathParametersDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class PathParametersDialog extends JDialog
Dialog used to set paths.
Author:
Marc Vaudel
See Also:
  • Constructor Details

    • PathParametersDialog

      public PathParametersDialog()
      Empty default constructor
    • PathParametersDialog

      public PathParametersDialog(Frame parent, String toolName, HashMap<PathKey,String> keyToPathMap)
      Creates a new PathSettingsDialog.
      Parameters:
      parent - the parent frame
      toolName - the tool name
      keyToPathMap - the initial path settings
  • Method Details

    • setUpGUI

      public void setUpGUI(Frame parent, String toolName)
      Sets up the GUI components.
      Parameters:
      parent - the parent frame
      toolName - the tool name
    • isCanceled

      public boolean isCanceled()
      Indicates whether the action was canceled by the user. (Or if no changes where made to the settings.)
      Returns:
      true if the action was canceled by the user
    • getKeyToPathMap

      public HashMap<PathKey,String> getKeyToPathMap()
      Returns the path settings in a map: key | path.
      Returns:
      the path settings in a map