Class WikiAreaSettings
- java.lang.Object
-
- com.jalios.jcms.taglib.settings.BasicSettings<T>
-
- com.jalios.jcms.taglib.settings.AbstractAreaSettings<WikiAreaSettings>
-
- com.jalios.jcms.taglib.settings.impl.WikiAreaSettings
-
- All Implemented Interfaces:
ControlSettings<WikiAreaSettings>
,java.lang.Cloneable
public class WikiAreaSettings extends AbstractAreaSettings<WikiAreaSettings>
Wikiarea Settings.- Author:
- Nicolas Dos Santos
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_WYSIWYG_CONFIG_ID
static java.lang.String
MENTION
-
Fields inherited from class com.jalios.jcms.taglib.settings.AbstractAreaSettings
ROWS
-
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 WikiAreaSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WikiAreaSettings
configurationId(java.lang.String configId)
Specify the ID of WYSIWYG configuration to use on the current control.WikiAreaSettings
disableMention()
Disable the mention feature.<V> V
getOption(java.lang.String optionName)
Returns the value of the specified option.protected WikiAreaSettings
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.void
resolveOptions(TypeFieldEntry tfe)
Set options from the specifiedTypeFieldEntry
.-
Methods inherited from class com.jalios.jcms.taglib.settings.AbstractAreaSettings
onChange, rows
-
Methods inherited from class com.jalios.jcms.taglib.settings.BasicSettings
addOption, append, aria, aria, autofocus, clearOption, clone, css, dataAttribute, dataAttributes, disable, getOptionNames, htmlAttributes, htmlAttributes, id, isChannelReady, maxLength, merge, name, onFocusOut, placeholder, prepend, readonly, removeOption, require, showLanguageChooser, sortSet, title, toStringArray, toStringArray, toStringArray, toStringArray, toStringArray, trigger, value
-
-
-
-
Field Detail
-
DEFAULT_WYSIWYG_CONFIG_ID
public static final java.lang.String DEFAULT_WYSIWYG_CONFIG_ID
- See Also:
- Constant Field Values
-
MENTION
public static final java.lang.String MENTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public ControlType getType()
Description copied from interface:ControlSettings
Returns theControlType
related to the currentControlSettings
implementation.- Returns:
ControlType
-
getThis
protected WikiAreaSettings 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<WikiAreaSettings>
- Returns:
- The exact type of the this reference
-
getOption
public <V> V getOption(java.lang.String optionName)
Description copied from interface:ControlSettings
Returns the value of the specified option.- Specified by:
getOption
in interfaceControlSettings<WikiAreaSettings>
- Overrides:
getOption
in classBasicSettings<WikiAreaSettings>
- Parameters:
optionName
- Option name- Returns:
- Option value
-
resolveOptions
public void resolveOptions(TypeFieldEntry tfe)
Description copied from interface:ControlSettings
Set options from the specifiedTypeFieldEntry
.- Specified by:
resolveOptions
in interfaceControlSettings<WikiAreaSettings>
- Overrides:
resolveOptions
in classAbstractAreaSettings<WikiAreaSettings>
- Parameters:
tfe
-TypeFieldEntry
-
configurationId
public WikiAreaSettings configurationId(java.lang.String configId)
Specify the ID of WYSIWYG configuration to use on the current control.- Parameters:
configId
- WYSIWYG Configuration ID- Returns:
- a reference to this object - used to chain calls
-
disableMention
public WikiAreaSettings disableMention()
Disable the mention feature.- Returns:
- a reference to this object - used to chain calls
-
-