Class PParticipationDialog

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

public class PParticipationDialog extends JDialog implements ActionListener
PParticipationDialog class has the UI to show the invited members for participating in sharing
See Also:
  • Constructor Details

    • PParticipationDialog

      public PParticipationDialog(String sharingType, JPanel panel, ArrayList v, Frame parentFrame)
      constructs an object of PParticipationDialog with the specified sharingType and data
      Parameters:
      sharingType - String
      panel - JPanel
      v - ArrayList
  • Method Details

    • getInvitedGroups

      public ArrayList getInvitedGroups()
      returns the Groups which has been invited for participation
      Returns:
      ArrayList
    • getParticipatedGroups

      public ArrayList getParticipatedGroups()
      returns the Groups which are accepted for participation
      Returns:
      ArrayList
    • getModifiedData

      public ArrayList getModifiedData(ArrayList modifiedData)
      If data got modified in the ModifyPriority rearranges the Priority here and returns the modified Priority to the TableModel
      Parameters:
      modifiedData - ArrayList
      Returns:
      ArrayList
    • getServices

      public Hashtable getServices()
      returns the participating services as arraylist
      Returns:
      ArrayList
    • getRemovedServices

      public Hashtable getRemovedServices()
      returns the removed Services as ArrayList
      Returns:
      ArrayList
    • actionPerformed

      public void actionPerformed(ActionEvent ae)
      inoves when an action is performed
      Specified by:
      actionPerformed in interface ActionListener
      Parameters:
      ae - ActionEvent
    • isHavingDiscounts

      public boolean isHavingDiscounts()
      returns true if the account has any discounts in it
      Returns:
      boolean