Class PrometheusSecurityDefaultDialog
java.lang.Object
io.github.tonywasher.joceanus.prometheus.security.PrometheusSecurityDefaultDialog
- All Implemented Interfaces:
PrometheusSecurityDialogController
public class PrometheusSecurityDefaultDialog
extends Object
implements PrometheusSecurityDialogController
DialogControl.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateTheDialog(String pTitle, boolean pNeedConfirm) Create the dialog.char[]Obtain the password.voidRelease dialog.voidreportBadPassword(String pError) report bad password.booleanShow the dialog under an invokeAndWait clause.voidshowTheSpinner(boolean pShow) Show the spinner.
-
Constructor Details
-
PrometheusSecurityDefaultDialog
Constructor.- Parameters:
pFactory- the factory
-
-
Method Details
-
createTheDialog
Description copied from interface:PrometheusSecurityDialogControllerCreate the dialog.- Specified by:
createTheDialogin interfacePrometheusSecurityDialogController- Parameters:
pTitle- the titlepNeedConfirm- true/false
-
showTheDialog
public boolean showTheDialog()Description copied from interface:PrometheusSecurityDialogControllerShow the dialog under an invokeAndWait clause.- Specified by:
showTheDialogin interfacePrometheusSecurityDialogController- Returns:
- successful dialog usage true/false
-
showTheSpinner
public void showTheSpinner(boolean pShow) Description copied from interface:PrometheusSecurityDialogControllerShow the spinner.- Specified by:
showTheSpinnerin interfacePrometheusSecurityDialogController- Parameters:
pShow- show spinner true/false
-
getPassword
public char[] getPassword()Description copied from interface:PrometheusSecurityDialogControllerObtain the password.- Specified by:
getPasswordin interfacePrometheusSecurityDialogController- Returns:
- the password
-
reportBadPassword
Description copied from interface:PrometheusSecurityDialogControllerreport bad password.- Specified by:
reportBadPasswordin interfacePrometheusSecurityDialogController- Parameters:
pError- the error
-
releaseDialog
public void releaseDialog()Description copied from interface:PrometheusSecurityDialogControllerRelease dialog.- Specified by:
releaseDialogin interfacePrometheusSecurityDialogController
-