Class PasswordSettings
- java.lang.Object
-
- com.jalios.jcms.taglib.settings.BasicSettings<PasswordSettings>
-
- com.jalios.jcms.taglib.settings.impl.PasswordSettings
-
- All Implemented Interfaces:
ControlSettings<PasswordSettings>,java.lang.Cloneable
public class PasswordSettings extends BasicSettings<PasswordSettings>
Password Settings- Author:
- Nicolas Dos Santos
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAUTOCOMPLETEstatic java.lang.StringSHOW_PASSWORD_REVEALstatic booleanSHOW_PASSWORD_REVEAL_DEFAULT_VALUEstatic java.lang.StringSHOW_PASSWORD_REVEAL_PROP-
Fields inherited from class com.jalios.jcms.taglib.settings.BasicSettings
APPEND, ARIA_ATTR_PREFIX, ARIA_ATTRIBUTES, AUTOFOCUS, CLEAR_BUTTON, CSS, DATA_ATTR_PREFIX, DATA_ATTRIBUTES, DISABLED, HIDE_CLEAR_BUTTON, HTML_ATTRIBUTES, ID, LANGUAGE_CHOOSER, MAX_LENGTH, NAME, PLACEHOLDER, PREPEND, READONLY, REQUIRED, TITLE, TRIGGER_ACTION, TRIGGER_EVENT, VALUE
-
-
Constructor Summary
Constructors Constructor Description PasswordSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PasswordSettingsautocomplete(java.lang.String autocomplete)protected PasswordSettingsgetThis()Returns the exact type of the this reference.
It's a way to recover the type of thethisobject in a class hierarchy (cf.ControlTypegetType()Returns theControlTyperelated to the currentControlSettingsimplementation.PasswordSettingsshowRevealPassword(boolean showRevealPassword)-
Methods inherited from class com.jalios.jcms.taglib.settings.BasicSettings
addOption, append, aria, aria, autofocus, clearOption, clone, css, dataAttribute, dataAttribute, dataAttributes, disable, getOption, getOptionNames, htmlAttributes, htmlAttributes, id, isChannelReady, maxLength, merge, name, onChange, onFocusOut, placeholder, prepend, readonly, removeOption, require, resolveOptions, showLanguageChooser, sortSet, title, toStringArray, toStringArray, toStringArray, toStringArray, toStringArray, trigger, value
-
-
-
-
Field Detail
-
SHOW_PASSWORD_REVEAL_PROP
public static final java.lang.String SHOW_PASSWORD_REVEAL_PROP
- See Also:
- Constant Field Values
-
SHOW_PASSWORD_REVEAL_DEFAULT_VALUE
public static final boolean SHOW_PASSWORD_REVEAL_DEFAULT_VALUE
- See Also:
- Constant Field Values
-
SHOW_PASSWORD_REVEAL
public static final java.lang.String SHOW_PASSWORD_REVEAL
- See Also:
- Constant Field Values
-
AUTOCOMPLETE
public static final java.lang.String AUTOCOMPLETE
- See Also:
- Constant Field Values
-
-
Method Detail
-
showRevealPassword
public PasswordSettings showRevealPassword(boolean showRevealPassword)
-
getType
public ControlType getType()
Description copied from interface:ControlSettingsReturns theControlTyperelated to the currentControlSettingsimplementation.- Returns:
ControlType
-
autocomplete
public PasswordSettings autocomplete(java.lang.String autocomplete)
- Parameters:
autocomplete- the autocomplete value (By default, on, you can also set : off, current-password, new-password)- Returns:
- this
- Since:
- jcms-10.0.7
-
getThis
protected PasswordSettings getThis()
Description copied from class:BasicSettingsReturns the exact type of the this reference.
It's a way to recover the type of thethisobject in a class hierarchy (cf. getThis "trick").- Specified by:
getThisin classBasicSettings<PasswordSettings>- Returns:
- The exact type of the this reference
-
-