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.StringDEFAULT_WYSIWYG_CONFIG_IDstatic java.lang.StringMENTION-
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 WikiAreaSettingsconfigurationId(java.lang.String configId)Specify the ID of WYSIWYG configuration to use on the current control.WikiAreaSettingsdisableMention()Disable the mention feature.<V> VgetOption(java.lang.String optionName)Returns the value of the specified option.protected WikiAreaSettingsgetThis()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.voidresolveOptions(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, 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:ControlSettingsReturns theControlTyperelated to the currentControlSettingsimplementation.- Returns:
ControlType
-
getThis
protected WikiAreaSettings 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<WikiAreaSettings>- Returns:
- The exact type of the this reference
-
getOption
public <V> V getOption(java.lang.String optionName)
Description copied from interface:ControlSettingsReturns the value of the specified option.- Specified by:
getOptionin interfaceControlSettings<WikiAreaSettings>- Overrides:
getOptionin classBasicSettings<WikiAreaSettings>- Parameters:
optionName- Option name- Returns:
- Option value
-
resolveOptions
public void resolveOptions(TypeFieldEntry tfe)
Description copied from interface:ControlSettingsSet options from the specifiedTypeFieldEntry.- Specified by:
resolveOptionsin interfaceControlSettings<WikiAreaSettings>- Overrides:
resolveOptionsin 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
-
-