Package org.ametys.core.ui.widgets
Interface ClientSideWidget
- All Superinterfaces:
ClientSideElement
- All Known Implementing Classes:
SearchServiceClientSideWidget
,SkinClientSideWidget
,StaticClientSideWidget
This class is a particular client side element that stands for widgets
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.core.ui.ClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
-
Method Summary
Modifier and TypeMethodDescriptionString[]
getFormTypes
(Map<String, Object> contextParameters) Returns the supported typesboolean
supportsEnumerated
(Map<String, Object> contextParameters) Determine if the widget can handle enumerated valuesboolean
supportsMultiple
(Map<String, Object> contextParameters) Determine if the widget can handle multiple valuesboolean
supportsNonEnumerated
(Map<String, Object> contextParameters) Determine if the widget can handle non-enumerated valuesboolean
supportsNonMultiple
(Map<String, Object> contextParameters) Determine if the widget can handle non-multiple valuesMethods inherited from interface org.ametys.core.ui.ClientSideElement
getDependencies, getId, getPluginName, getRights, getScripts, getScripts
-
Method Details
-
getFormTypes
Returns the supported types- Parameters:
contextParameters
- Contextuals parameters transmitted by the environment.- Returns:
- An non null and non empty list of supported types
-
supportsEnumerated
Determine if the widget can handle enumerated values- Parameters:
contextParameters
- Contextuals parameters transmitted by the environment.- Returns:
- true if it does
-
supportsNonEnumerated
Determine if the widget can handle non-enumerated values- Parameters:
contextParameters
- Contextuals parameters transmitted by the environment.- Returns:
- true if it does
-
supportsMultiple
Determine if the widget can handle multiple values- Parameters:
contextParameters
- Contextuals parameters transmitted by the environment.- Returns:
- true if it does
-
supportsNonMultiple
Determine if the widget can handle non-multiple values- Parameters:
contextParameters
- Contextuals parameters transmitted by the environment.- Returns:
- true if it does
-