Class PProfileSharingAvailableDialog

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

public class PProfileSharingAvailableDialog extends JDialog implements ActionListener
See Also:
  • Field Details

  • Constructor Details

    • PProfileSharingAvailableDialog

      public PProfileSharingAvailableDialog(Frame frame, String title, boolean modal, int mode, PModelHandle model, ArrayList<AvailableProfilesObj> addedProfiles)
      Constructs an PProfileSharingAvailableDialog with the specified sharing type key and mode.
      Parameters:
      frame - Frame the CustomerCenter frame
      title - String the dialog title
      modal - boolean weather the dialog is modal or not
      mode - int the dialog mode in which it is going to view
      parent - POwnershipPanel the panel from where this dialog instantiated
      groupPoid - Poid the group for which this dialog opens
    • PProfileSharingAvailableDialog

      public PProfileSharingAvailableDialog(PProfileGroupDialog parent, Frame frame, int mode, Poid groupPoid, PModelHandle model, ArrayList<AvailableProfilesObj> addedProfiles)
      Constructs an PProfileSharingAvailableDialog with the specified sharing type key and mode.
      Parameters:
      parent - POwnershipPanel the panel that instantiated this dialog
      frame - Frame the Customer Center frame
      mode - int the mode in which this dialog is going to construct
      groupPoid - Poid the group for which this dialog is going to give functionality
    • PProfileSharingAvailableDialog

      public PProfileSharingAvailableDialog(int mode, Poid groupPoid, PModelHandle model, ArrayList<AvailableProfilesObj> addedProfiles)
      Constructs an PProfileSharingAvailableDialog with the specified sharing type key and mode.
      Parameters:
      mode - int the mode in which this dialog is going to construct
      groupPoid - Poid the group for which this dialog is going to provide functionality
  • Method Details

    • getTitle

      public String getTitle()
      Gets the title of the dialog. The title is displayed in the dialog's border.
      Overrides:
      getTitle in class Dialog
      Returns:
      the title of this dialog window. The title may be null.
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      actionPerformed method for OK and Cancle Buttons
      Specified by:
      actionPerformed in interface ActionListener
      Parameters:
      e - ActionEvent
    • isModeView

      public boolean isModeView()
      Returns true if the dialog is in view mode otherwise false.
      Returns:
      boolean