Class PasswordDialog

    • Field Detail

      • m_LabelPassword

        protected JLabel m_LabelPassword
        the password label.
    • Constructor Detail

      • PasswordDialog

        public PasswordDialog​(Dialog owner)
        Creates a modeless dialog without a title with the specified Dialog as its owner.
        Parameters:
        owner - the owning dialog
      • PasswordDialog

        public PasswordDialog​(Dialog owner,
                              Dialog.ModalityType modality)
        Creates a dialog with the specified owner Dialog and modality.
        Parameters:
        owner - the owning dialog
        modality - the type of modality
      • PasswordDialog

        public PasswordDialog​(Dialog owner,
                              String title)
        Creates a modeless dialog with the specified title and with the specified owner dialog.
        Parameters:
        owner - the owning dialog
        title - the title of the dialog
      • PasswordDialog

        public PasswordDialog​(Dialog owner,
                              String title,
                              Dialog.ModalityType modality)
        Creates a dialog with the specified title, modality and the specified owner Dialog.
        Parameters:
        owner - the owning dialog
        title - the title of the dialog
        modality - the type of modality
      • PasswordDialog

        public PasswordDialog​(Frame owner)
        Creates a modeless dialog without a title with the specified Frame as its owner.
        Parameters:
        owner - the owning frame
      • PasswordDialog

        public PasswordDialog​(Frame owner,
                              boolean modal)
        Creates a dialog with the specified owner Frame, modality and an empty title.
        Parameters:
        owner - the owning frame
        modal - whether the dialog is modal or not
      • PasswordDialog

        public PasswordDialog​(Frame owner,
                              String title)
        Creates a modeless dialog with the specified title and with the specified owner frame.
        Parameters:
        owner - the owning frame
        title - the title of the dialog
      • PasswordDialog

        public PasswordDialog​(Frame owner,
                              String title,
                              boolean modal)
        Creates a dialog with the specified owner Frame, modality and title.
        Parameters:
        owner - the owning frame
        title - the title of the dialog
        modal - whether the dialog is modal or not
    • Method Detail

      • initGUI

        protected void initGUI()
        For initializing the GUI.
        Overrides:
        initGUI in class ApprovalDialog
      • setPassword

        public void setPassword​(BasePassword value)
        Sets the initial password to display.
        Parameters:
        value - the password
      • getPassword

        public BasePassword getPassword()
        Returns the current password.
        Returns:
        the password
      • setLabelPassword

        public void setLabelPassword​(String value)
        Sets the text for the password label.
        Parameters:
        value - the label text
      • getLabelPassword

        public String getLabelPassword()
        Returns the text of the password label.
        Returns:
        the label text