Class MainWindow

java.lang.Object
passwordmanagergui.group.MainWindow

public class MainWindow extends Object
Main window with a list of groups and elements for manipulating password groups
Since:
2024-01-31
See Also:
  • Field Details

  • Constructor Details

    • MainWindow

      public MainWindow()
  • Method Details

    • create

      public void create()
      Method that creates a window with a list of password groups and additional controls
    • startCreateWindow

      public void startCreateWindow()
      Method for starting to create a window
    • finishCreateWindow

      public void finishCreateWindow()
      A method that packs all static elements of a window and also completes the creation of the window
    • generateComponents

      public void generateComponents()
      Method that fills a window with elements
    • generateMainTitle

      public void generateMainTitle()
      Method for adding a title to a window
    • generateAddButton

      public void generateAddButton()
      Method that adds a button for creating a new password group to a window
    • generateLoadButton

      public void generateLoadButton()
      Method that adds a button to load a group of passwords to a window
    • generateFilterPanel

      public void generateFilterPanel()
      Method that adds a panel to the window to filter the list of password groups
    • generatePasswordGroupsList

      public void generatePasswordGroupsList()
      Method that adds a list to the window in which password groups will be located
    • addPasswordGroupToListGUI

      public void addPasswordGroupToListGUI(String groupName)
      Method that dynamically adds a new group to the list
      Parameters:
      groupName - name of the group to add to the list
    • repaintListFromData

      public void repaintListFromData()
      Method updating the list of groups with all found groups in the standard directory
    • repaintList

      public void repaintList()
      Method updating the list of groups from a given set (necessary for filtering to work correctly)
    • removePasswordGroupFromList

      public void removePasswordGroupFromList(String groupName)
      Method that removes a group from the list of displayed password groups (necessary for filtering to work correctly)
      Parameters:
      groupName - name of the group to be deleted from UI
    • filterPasswordGroups

      public void filterPasswordGroups(String expression)
      Method that filters the list of password groups
      Parameters:
      expression - expression expected in records that satisfy the filter