Top Description Fields Constructors Methods
org.controlsfx.dialog

public Class LoginDialog

extends Dialog<Pair<String, String>>
Class Inheritance
Static Imports
impl.org.controlsfx.i18n.Localization.getString

User login Dialog with a username and a password field.
The input fields are clearable by default (can be emptied with a button).

Field Summary

Modifier and TypeField and Description
private final ButtonType
private final CustomPasswordField
private final CustomTextField

Constructor Summary

AccessConstructor and Description
public
LoginDialog(final Pair<String, String> initialUserInfo, final Callback<Pair<String, String>, Void> authenticator)

Method Summary

Inherited from javafx.scene.control.Dialog:
addEventFilteraddEventHandlerbuildEventDispatchChainclosecontentTextPropertydialogPanePropertygetContentTextgetDialogPanegetGraphicgetHeaderTextgetHeightgetModalitygetOnCloseRequestgetOnHiddengetOnHidinggetOnShowinggetOnShowngetOwnergetResultgetResultConvertergetTitlegetWidthgetXgetYgraphicPropertyheaderTextPropertyheightPropertyhideinitModalityinitOwnerinitStyleisResizableisShowingonCloseRequestPropertyonHiddenPropertyonHidingPropertyonShowingPropertyonShownPropertyremoveEventFilterremoveEventHandlerresizablePropertyresultConverterPropertyresultPropertysetContentTextsetDialogPanesetGraphicsetHeaderTextsetHeightsetOnCloseRequestsetOnHiddensetOnHidingsetOnShowingsetOnShownsetResizablesetResultsetResultConvertersetTitlesetWidthsetXsetYshowshowAndWaitshowingPropertytitlePropertywidthPropertyxPropertyyProperty

Field Detail

loginButtonTypeback to summary
private final ButtonType loginButtonType
txPasswordback to summary
private final CustomPasswordField txPassword
txUserNameback to summary
private final CustomTextField txUserName

Constructor Detail

LoginDialogback to summary
public LoginDialog(final Pair<String, String> initialUserInfo, final Callback<Pair<String, String>, Void> authenticator)
Annotations
@SuppressWarnings:deprecation