Class ShoppingListPriorityDialog

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

public class ShoppingListPriorityDialog extends JDialog
Dialog for reviewing the campaign shopping list and adjusting procurement priority.

The dialog displays the current ShoppingList in a table and provides controls for moving the selected item to the top, up one position, down one position, or to the bottom of the list. Row order shows procurement priority: items nearer the top are attempted first.

Changes are applied directly to the campaign's shopping list as items are moved.

Since:
0.51.0
See Also:
  • Constructor Details

    • ShoppingListPriorityDialog

      public ShoppingListPriorityDialog(Frame owner, Campaign campaign)
      Creates and displays a modal shopping list priority dialog for the supplied campaign.
      Parameters:
      owner - the parent frame used for modality and positioning
      campaign - the campaign whose shopping list is displayed and reordered
      Since:
      0.51.0