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.String
AUTOCOMPLETE
static java.lang.String
SHOW_PASSWORD_REVEAL
static boolean
SHOW_PASSWORD_REVEAL_DEFAULT_VALUE
static java.lang.String
SHOW_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 PasswordSettings
autocomplete(java.lang.String autocomplete)
protected PasswordSettings
getThis()
Returns the exact type of the this reference.
It's a way to recover the type of thethis
object in a class hierarchy (cf.ControlType
getType()
Returns theControlType
related to the currentControlSettings
implementation.PasswordSettings
showRevealPassword(boolean showRevealPassword)
-
Methods inherited from class com.jalios.jcms.taglib.settings.BasicSettings
addOption, append, aria, aria, autofocus, clearOption, clone, css, 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:ControlSettings
Returns theControlType
related to the currentControlSettings
implementation.- 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:BasicSettings
Returns the exact type of the this reference.
It's a way to recover the type of thethis
object in a class hierarchy (cf. getThis "trick").- Specified by:
getThis
in classBasicSettings<PasswordSettings>
- Returns:
- The exact type of the this reference
-
-