Class LaunchSaver

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

public class LaunchSaver extends JDialog
This is a dialog that displays a tree showing tabs to be saved.
Version:
1.0
Author:
Douglas Brown
See Also:
  • Field Details

    • saveStateCheckBox

      protected JCheckBox saveStateCheckBox
  • Constructor Details

    • LaunchSaver

      public LaunchSaver(LaunchBuilder builder)
      Constructor.
      Parameters:
      builder - the LaunchBuilder with tabs to save
  • Method Details

    • setBuilder

      public void setBuilder(LaunchBuilder builder)
      Sets the LaunchBuilder and creates a new tree.
      Parameters:
      builder - the LaunchBuilder
    • setSelectedNode

      public void setSelectedNode(org.opensourcephysics.tools.LaunchSaver.Node node)
      Sets the selected node.
      Parameters:
      node - the node to select
    • getSelectedNode

      public org.opensourcephysics.tools.LaunchSaver.Node getSelectedNode()
      Gets the selected node.
      Returns:
      the selected node
    • isApproved

      public boolean isApproved()
      Returns true if user has clicked the save button, otherwise false.
      Returns:
      true to save