| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private BooleanProperty | |
| private static final boolean | |
| private static final boolean | |
| private static final boolean | |
| private final ListProperty | |
| private ObjectProperty | |
| private final CustomTextField | |
| private final StringProperty | |
| private static final EmailValidator | |
| private static final PseudoClass | |
| private final StringProperty | |
| private final ListProperty | |
| private final StringProperty | |
| private final BooleanProperty | |
| private final StyleableBooleanProperty | |
| private final StyleableBooleanProperty | |
| private final BooleanProperty | |
| private final ReadOnlyBooleanWrapper | |
| private static final PseudoClass |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final BooleanProperty | Returns: The BooleanProperty representing the state of auto domain completion.Property for enabling or disabling the auto-completion of email domains. |
| protected Skin | createDefaultSkin()
Overrides javafx. Create a new instance of the default skin for this control. |
| public final ObjectProperty | Returns: The ObjectProperty representing the domain list cell factory.Returns the property for the domain list cell factory. |
| public final ListProperty | Returns: list of known domainsStores a list of known domains that are often used for email addreses, e.g. gmail.com or outlook.com. |
| public final StringProperty | |
| public static List | getClassCssMetaData()
Hides javafx. Gets the |
| protected List | getControlCssMetaData()
Overrides javafx. Gets the unmodifiable list of the control's CSS-styleable properties. |
| public final ObservableList | |
| public final Callback | |
| public final CustomTextField | |
| public final String | |
| public final String | Returns: Tooltip text for an invalid email address.Retrieves the tooltip text displayed when the email address validation fails and the user hovers over the invalid icon. |
| public final ObservableList | |
| public final String | |
| public String | getUserAgentStylesheet()
Overrides javafx. An implementation may specify its own user-agent styles for this Region, and its children, by overriding this method. |
| public final StringProperty | Returns: The StringProperty for the tooltip text of an invalid email address.Property for changing the tooltip text, which is displayed when hovering over the invalid icon after email address validation fails. |
| public final boolean | |
| public final boolean | |
| public final boolean | Returns: The mail icon visibilityReturns true if the mail icon is visible, otherwise false. |
| public final boolean | Returns: The validation icon visibilityReturns true if the validation icon is visible, otherwise false. |
| public final boolean | |
| public final boolean | |
| public final ListProperty | Returns: the list of valid email addressesStores the list of valid email addresses entered by the user. |
| public final StringProperty | |
| public final BooleanProperty | Returns: the flag used to determine if the field is requiredA flag signalling that this is a required field. |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | setInvalidText(String
The tooltip text to set for an invalid email address. invalidText)Sets the tooltip text that appears when the user hovers over the icon indicating the email address is invalid. |
| public final void | |
| public final void | |
| public final void | |
| public final void | setShowMailIcon(boolean
true if the mail icon should be visible, otherwise false showMailIcon)Sets the visibility of the mail icon. |
| public final void | setShowValidationIcon(boolean
true if the validation icon should be visible, otherwise false showValidationIcon)Sets the visibility of the validation icon. |
| public final void | |
| public final BooleanProperty | |
| public final BooleanProperty | |
| public final BooleanProperty | Returns: a flag used for controlling input behaviour (single vs. multiple email addresses)A control flag used to determine if the user should be able to enter more than one email address into the field. |
| private void | |
| public final ReadOnlyBooleanProperty | Returns: a boolean property signalling validityA boolean flag used to indicate whether the field is currently in a valid state. |
| autoDomainCompletionEnabled | back to summary |
|---|---|
| private BooleanProperty autoDomainCompletionEnabled | |
| DEFAULT_AUTO_DOMAIN_COMPLETION_ENABLED | back to summary |
|---|---|
| private static final boolean DEFAULT_AUTO_DOMAIN_COMPLETION_ENABLED | |
| DEFAULT_SHOW_MAIL_ICON | back to summary |
|---|---|
| private static final boolean DEFAULT_SHOW_MAIL_ICON | |
| DEFAULT_SHOW_VALIDATION_ICON | back to summary |
|---|---|
| private static final boolean DEFAULT_SHOW_VALIDATION_ICON | |
| domainList | back to summary |
|---|---|
| private final ListProperty<String> domainList | |
| domainListCellFactory | back to summary |
|---|---|
| private ObjectProperty<Callback<ListView<String>, ListCell<String>>> domainListCellFactory | |
| editor | back to summary |
|---|---|
| private final CustomTextField editor | |
| emailAddress | back to summary |
|---|---|
| private final StringProperty emailAddress | |
| emailValidator | back to summary |
|---|---|
| private static final EmailValidator emailValidator | |
| INVALID_PSEUDO_CLASS | back to summary |
|---|---|
| private static final PseudoClass INVALID_PSEUDO_CLASS | |
| invalidText | back to summary |
|---|---|
| private final StringProperty invalidText | |
| multipleEmailAddresses | back to summary |
|---|---|
| private final ListProperty<String> multipleEmailAddresses | |
| promptText | back to summary |
|---|---|
| private final StringProperty promptText | |
| required | back to summary |
|---|---|
| private final BooleanProperty required | |
| showMailIcon | back to summary |
|---|---|
| private final StyleableBooleanProperty showMailIcon | |
| showValidationIcon | back to summary |
|---|---|
| private final StyleableBooleanProperty showValidationIcon | |
| supportingMultipleAddresses | back to summary |
|---|---|
| private final BooleanProperty supportingMultipleAddresses | |
| valid | back to summary |
|---|---|
| private final ReadOnlyBooleanWrapper valid | |
| VALID_PSEUDO_CLASS | back to summary |
|---|---|
| private static final PseudoClass VALID_PSEUDO_CLASS | |
| EmailField | back to summary |
|---|---|
| public EmailField() Constructs a new email field. | |
| EmailField | back to summary |
|---|---|
| public EmailField(String emailAddress) Constructs a new email field with the given initial email address. | |
| autoDomainCompletionEnabledProperty | back to summary |
|---|---|
| public final BooleanProperty autoDomainCompletionEnabledProperty() Property for enabling or disabling the auto-completion of email domains.
| |
| createDefaultSkin | back to summary |
|---|---|
| protected Skin Overrides javafx. Doc from javafx. Create a new instance of the default skin for this control. This is called to create a skin for the control if
no skin is provided via CSS
| |
| domainListCellFactoryProperty | back to summary |
|---|---|
| public final ObjectProperty Returns the property for the domain list cell factory. This property can be used to customize the rendering of the domain suggestions in the ListView. | |
| domainListProperty | back to summary |
|---|---|
| public final ListProperty Stores a list of known domains that are often used for email addreses, e.g. gmail.com or outlook.com.
| |
| emailAddressProperty | back to summary |
|---|---|
| public final StringProperty emailAddressProperty() Stores a valid email address. This property will only be non-null if the user has entered
a valid email address. This property is only used if the field is configured for entering a
single address. If the field is configured for multiple email addresses then this field will
be unused and the address list can be found in
| |
| getClassCssMetaData | back to summary |
|---|---|
| public static List Hides javafx. Doc from javafx. Gets the | |
| getControlCssMetaData | back to summary |
|---|---|
| protected List Overrides javafx. Doc from javafx. Gets the unmodifiable list of the control's CSS-styleable properties.
| |
| getDomainList | back to summary |
|---|---|
| public final ObservableList | |
| getDomainListCellFactory | back to summary |
|---|---|
| public final Callback | |
| getEditor | back to summary |
|---|---|
| public final CustomTextField getEditor() Returns the text field used for editing purposes.
| |
| getEmailAddress | back to summary |
|---|---|
| public final String getEmailAddress() | |
| getInvalidText | back to summary |
|---|---|
| public final String getInvalidText() Retrieves the tooltip text displayed when the email address validation fails and the user hovers over the invalid icon.
| |
| getMultipleEmailAddresses | back to summary |
|---|---|
| public final ObservableList | |
| getPromptText | back to summary |
|---|---|
| public final String getPromptText() | |
| getUserAgentStylesheet | back to summary |
|---|---|
| public String getUserAgentStylesheet() Overrides javafx. Doc from javafx. An implementation may specify its own user-agent styles for this Region, and its children, by overriding this method. These styles are used in addition to whatever user-agent stylesheets are in use. This provides a mechanism for third parties to introduce styles for custom controls. The URL is a hierarchical URI of the form [scheme:][//authority][path]. If the URL does not have a [scheme:] component, the URL is considered to be the [path] component only. Any leading '/' character of the [path] is ignored and the [path] is treated as a path relative to the root of the application's classpath. Subclasses overriding this method should not assume any particular implementation approach as to the number and frequency with which it is called. For this reason, attempting any kind of dynamic implementation (i.e. returning different user agent stylesheet values) based on some state change is highly discouraged, as there is no guarantee when, or even if, this method will be called. Some JavaFX CSS implementations may choose to cache this response for an indefinite period of time, and therefore there should be no expectation around when this method is called.
For additional information about using CSS with the scene graph,
see the CSS Reference Guide.
| |
| invalidTextProperty | back to summary |
|---|---|
| public final StringProperty invalidTextProperty() Property for changing the tooltip text, which is displayed when hovering over the invalid icon after email address validation fails.
| |
| isAutoDomainCompletionEnabled | back to summary |
|---|---|
| public final boolean isAutoDomainCompletionEnabled() | |
| isRequired | back to summary |
|---|---|
| public final boolean isRequired() | |
| isShowMailIcon | back to summary |
|---|---|
| public final boolean isShowMailIcon() Returns true if the mail icon is visible, otherwise false.
| |
| isShowValidationIcon | back to summary |
|---|---|
| public final boolean isShowValidationIcon() Returns true if the validation icon is visible, otherwise false.
| |
| isSupportingMultipleAddresses | back to summary |
|---|---|
| public final boolean isSupportingMultipleAddresses() | |
| isValid | back to summary |
|---|---|
| public final boolean isValid() | |
| multipleEmailAddressesProperty | back to summary |
|---|---|
| public final ListProperty Stores the list of valid email addresses entered by the user. This list is only used when the field supports entering multiple addresses.
| |
| promptTextProperty | back to summary |
|---|---|
| public final StringProperty promptTextProperty() The prompt text to display by the editor.
| |
| requiredProperty | back to summary |
|---|---|
| public final BooleanProperty requiredProperty() A flag signalling that this is a required field. This flag will be taken into account when
updating the state of the
| |
| setAutoDomainCompletionEnabled | back to summary |
|---|---|
| public final void setAutoDomainCompletionEnabled(boolean autoDomainCompletionEnabled) | |
| setDomainList | back to summary |
|---|---|
| public final void setDomainList(ObservableList<String> domainList) | |
| setDomainListCellFactory | back to summary |
|---|---|
| public final void setDomainListCellFactory(Callback<ListView<String>, ListCell<String>> cellFactory) | |
| setEmailAddress | back to summary |
|---|---|
| public final void setEmailAddress(String emailAddress) | |
| setInvalidText | back to summary |
|---|---|
| public final void setInvalidText(String invalidText) Sets the tooltip text that appears when the user hovers over the icon indicating the email address is invalid.
| |
| setMultipleEmailAddresses | back to summary |
|---|---|
| public final void setMultipleEmailAddresses(ObservableList<String> multipleEmailAddresses) | |
| setPromptText | back to summary |
|---|---|
| public final void setPromptText(String promptText) | |
| setRequired | back to summary |
|---|---|
| public final void setRequired(boolean required) | |
| setShowMailIcon | back to summary |
|---|---|
| public final void setShowMailIcon(boolean showMailIcon) Sets the visibility of the mail icon.
| |
| setShowValidationIcon | back to summary |
|---|---|
| public final void setShowValidationIcon(boolean showValidationIcon) Sets the visibility of the validation icon.
| |
| setSupportingMultipleAddresses | back to summary |
|---|---|
| public final void setSupportingMultipleAddresses(boolean supportingMultipleAddresses) | |
| showMailIconProperty | back to summary |
|---|---|
| public final BooleanProperty showMailIconProperty() Property for handling the mail icon visibility. | |
| showValidationIconProperty | back to summary |
|---|---|
| public final BooleanProperty showValidationIconProperty() Property for handling the validation icon visibility. | |
| supportingMultipleAddressesProperty | back to summary |
|---|---|
| public final BooleanProperty supportingMultipleAddressesProperty() A control flag used to determine if the user should be able to enter more than one email address into the field.
| |
| updateValidPseudoClass | back to summary |
|---|---|
| private void updateValidPseudoClass(Boolean isValid) | |
| validProperty | back to summary |
|---|---|
| public final ReadOnlyBooleanProperty validProperty() A boolean flag used to indicate whether the field is currently in a valid state. The field is in a valid state when the entered email addresses are all structurally valid (obviously this does not mean that they do exist, only that they have the proper format).
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final CssMetaData | |
| private static final CssMetaData | |
| private static final List |
| Access | Constructor and Description |
|---|---|
| private |
| SHOW_MAIL_ICON | back to summary |
|---|---|
| private static final CssMetaData<EmailField, Boolean> SHOW_MAIL_ICON | |
| SHOW_VALIDATION_ICON | back to summary |
|---|---|
| private static final CssMetaData<EmailField, Boolean> SHOW_VALIDATION_ICON | |
| STYLEABLES | back to summary |
|---|---|
| private static final List<CssMetaData<? extends Styleable, ?>> STYLEABLES | |
| StyleableProperties | back to summary |
|---|---|
| private StyleableProperties() | |