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

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

    • StringListChooser

      public StringListChooser()
      Empty default constructor
    • StringListChooser

      public StringListChooser​(Frame parent, ArrayList<String> items, String dialogTitle, String panelTitle, String instructionsLabel, boolean multipleSelection)
      Constructor. Null values will be replaced by default.
      Parameters:
      parent - the parent frame
      items - list of items 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.
    • StringListChooser

      public StringListChooser​(JDialog parent, ArrayList<String> items, String dialogTitle, String panelTitle, String instructionsLabel, boolean multipleSelection)
      Constructor. Null values will be replaced by default.
      Parameters:
      parent - the parent frame
      items - list of items 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.
  • Method Details