Class ModificationChooser

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

public class ModificationChooser
extends ListChooser
Dialog for choosing an item in a list of modifications.
Author:
Marc Vaudel
See Also:
Serialized Form
  • Constructor Details

    • ModificationChooser

      public ModificationChooser()
      Empty default constructor
    • ModificationChooser

      public ModificationChooser​(Frame parent, ArrayList<String> modifications, String dialogTitle, String panelTitle, String instructionsLabel, boolean multipleSelection)
      Constructor. Null values will be replaced by default.
      Parameters:
      parent - the parent frame
      modifications - list of the names of the modifications for the user to select
      dialogTitle - the title to give to the dialog
      panelTitle - the title to give to the panel containing the table
      instructionsLabel - the instructions label on top of the table
      multipleSelection - boolean indicating whether the user should be allowed to select multiple items
    • ModificationChooser

      public ModificationChooser​(JDialog parent, ArrayList<String> modifications, String dialogTitle, String panelTitle, String instructionsLabel, boolean multipleSelection)
      Constructor. Null values will be replaced by default.
      Parameters:
      parent - the parent frame
      modifications - list of the names of the modifications for the user to select
      dialogTitle - the title to give to the dialog
      panelTitle - the title to give to the panel containing the table
      instructionsLabel - the instructions label on top of the table
      multipleSelection - boolean indicating whether the user should be allowed to select multiple items
    • ModificationChooser

      public ModificationChooser​(Frame parent, ArrayList<String> modifications, boolean multipleSelection)
      Constructor with default values.
      Parameters:
      parent - the parent frame
      modifications - list of the names of the modifications for the user to select
      multipleSelection - boolean indicating whether the user should be allowed to select multiple items
    • ModificationChooser

      public ModificationChooser​(JDialog parent, ArrayList<String> modifications, boolean multipleSelection)
      Constructor with default values.
      Parameters:
      parent - the parent frame
      modifications - list of the names of the modifications for the user to select
      multipleSelection - boolean indicating whether the user should be allowed to select multiple items
  • Method Details