Class ImagePathSettings
- java.lang.Object
-
- com.jalios.jcms.taglib.settings.BasicSettings<T>
-
- com.jalios.jcms.taglib.settings.AbstractTextSettings<T>
-
- com.jalios.jcms.taglib.settings.AbstractTextChooserSettings<ImagePathSettings>
-
- com.jalios.jcms.taglib.settings.impl.ImagePathSettings
-
- All Implemented Interfaces:
ControlSettings<ImagePathSettings>,java.lang.Cloneable
public class ImagePathSettings extends AbstractTextChooserSettings<ImagePathSettings>
Image path Settings- Author:
- Nicolas Dos Santos
-
-
Field Summary
-
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 ImagePathSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetChooserName()Chooser name used by the databroker when there is a click event in the chooser button.protected java.lang.StringgetChooserOption(java.util.Map<java.lang.String,java.lang.String[]> customOptionMap)Options used by the databroker when there is a click event in the chooser button.protected ImagePathSettingsgetThis()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.protected booleanuseCurrentWorkspace()Override this method and return 'true' to add current Workspace in chooser option if not defined by WORKSPACE option.-
Methods inherited from class com.jalios.jcms.taglib.settings.AbstractTextChooserSettings
addAcChooserOption, addChooserOption, getAcChooserName, getAcChooserOption, getChooserIcon, getChooserTitle, getOption, popupHeight, popupWidth, superGetOption, workspace, workspace
-
Methods inherited from class com.jalios.jcms.taglib.settings.AbstractTextSettings
onChange
-
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, resolveOptions, showLanguageChooser, sortSet, title, toStringArray, toStringArray, toStringArray, toStringArray, toStringArray, trigger, value
-
-
-
-
Method Detail
-
getType
public ControlType getType()
Description copied from interface:ControlSettingsReturns theControlTyperelated to the currentControlSettingsimplementation.- Returns:
ControlType
-
getThis
protected ImagePathSettings 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<ImagePathSettings>- Returns:
- The exact type of the this reference
-
getChooserName
protected java.lang.String getChooserName()
Description copied from class:AbstractTextChooserSettingsChooser name used by the databroker when there is a click event in the chooser button.- Specified by:
getChooserNamein classAbstractTextChooserSettings<ImagePathSettings>- Returns:
- The chooser name
- See Also:
- "/js/jalios/core/jalios-widget-chooser.js"
-
getChooserOption
protected java.lang.String getChooserOption(java.util.Map<java.lang.String,java.lang.String[]> customOptionMap)
Description copied from class:AbstractTextChooserSettingsOptions used by the databroker when there is a click event in the chooser button.- Specified by:
getChooserOptionin classAbstractTextChooserSettings<ImagePathSettings>- Parameters:
customOptionMap- Extra chooser options forwarded by the optionChooserConstants.EXTRA_CHOOSER_OPTIONand appended to the query string- Returns:
Stringrepresenting the options as query string
-
useCurrentWorkspace
protected boolean useCurrentWorkspace()
Description copied from class:AbstractTextChooserSettingsOverride this method and return 'true' to add current Workspace in chooser option if not defined by WORKSPACE option.- Overrides:
useCurrentWorkspacein classAbstractTextChooserSettings<ImagePathSettings>- Returns:
trueto use the current workspace,falseinstead
-
-