public class DurationSettings extends BasicSettings<DurationSettings>
Modifier and Type | Class and Description |
---|---|
static class |
DurationSettings.Resolution
Enumeration that lists the possible resolutions of a duration.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MAX_RESOLUTION |
static java.lang.String |
RESOLUTION |
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, TRIGGER_ACTION, TRIGGER_EVENT, VALUE
Constructor and Description |
---|
DurationSettings() |
Modifier and Type | Method and Description |
---|---|
protected DurationSettings |
getThis()
Returns the exact type of the this reference.
It's a way to recover the type of the this object in a class hierarchy (cf. |
ControlType |
getType()
Returns the
ControlType related to the current ControlSettings implementation. |
DurationSettings |
maxResolution(java.lang.String maxResolution) |
DurationSettings |
resolution(DurationSettings.Resolution resolution)
Specify the
DurationSettings.Resolution to use for the current duration. |
DurationSettings |
resolution(java.lang.String resolution)
Specify the
DurationSettings.Resolution to use for the current duration from the given String representing one of the words or abbreviation associated with the Resolution. |
void |
resolveOptions(TypeFieldEntry tfe)
Set options from the specified
TypeFieldEntry . |
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, showLanguageChooser, sortSet, toStringArray, toStringArray, toStringArray, toStringArray, toStringArray, trigger, value
public static final java.lang.String RESOLUTION
public static final java.lang.String MAX_RESOLUTION
public ControlType getType()
ControlSettings
ControlType
related to the current ControlSettings
implementation.ControlType
protected DurationSettings getThis()
BasicSettings
this
object in a class hierarchy (cf. getThis "trick").getThis
in class BasicSettings<DurationSettings>
public void resolveOptions(TypeFieldEntry tfe)
ControlSettings
TypeFieldEntry
.resolveOptions
in interface ControlSettings<DurationSettings>
resolveOptions
in class BasicSettings<DurationSettings>
tfe
- TypeFieldEntry
public DurationSettings resolution(DurationSettings.Resolution resolution)
DurationSettings.Resolution
to use for the current duration.resolution
- Resolution to useDurationSettings.Resolution
public DurationSettings resolution(java.lang.String resolution)
DurationSettings.Resolution
to use for the current duration from the given String representing one of the words or abbreviation associated with the Resolution.resolution
- String representing one of the words or abbreviation associated with the resolution.DurationSettings.Resolution
public DurationSettings maxResolution(java.lang.String maxResolution)
Copyright © 2001-2022 Jalios SA. All Rights Reserved.