Class sap.me.CalendarLegendModule: sap/me/CalendarLegend
Legend for the calendar control
Deprecated API:Since version 1.34.0. This control was experimental since 1.12. Please use the sap.ui.unified.CalendarLegend instead!
sClassName
and enriches it with the information contained in oClassInfo
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
- Properties
- legendForType00 : string
- legendForType01 : string
- legendForType04 : string
- legendForType06 : string
- legendForType07 : string
- legendForToday : string
- legendForSelected : string
- legendForSelected00 : string
- legendForNormal : string
- expandable : boolean (default: true)
- expanded : boolean (default: true)
- width : sap.ui.core.CSSSize (default: auto)
- legendWidth : sap.ui.core.CSSSize (default: 12.5rem)
- visible : boolean (default: true)
- design : sap.me.CalendarDesign (default: Approval)
- Aggregations
In addition, all settings applicable to the base type sap.ui.core.Control can be used as well.
{string} | sId? | id for the new control, generated automatically if no id is given |
{object} | mSettings? | initial settings for the new control |
- Deprecated:
- Since version 1.34.0. This control was experimental since 1.12. Please use the sap.ui.unified.CalendarLegend instead!
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.core.Control.extend.
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
design
. design name for the legend
Default value is Approval
.
{sap.me.CalendarDesign} | Value of property design |
expandable
. Indicates if the legend can be collapsed and expanded
Default value is true
.
{boolean} | Value of property expandable |
expanded
. Indicates if the legend is expanded or not
Default value is true
.
{boolean} | Value of property expanded |
legendForNormal
. legend for normal
{string} | Value of property legendForNormal |
legendForSelected
. legend for selected
{string} | Value of property legendForSelected |
legendForSelected00
. legend for selected 00
{string} | Value of property legendForSelected00 |
legendForToday
. legend for today
{string} | Value of property legendForToday |
legendForType00
. legend for type 00
{string} | Value of property legendForType00 |
legendForType01
. legend for type 01
{string} | Value of property legendForType01 |
legendForType04
. legend for type 04
{string} | Value of property legendForType04 |
legendForType06
. legend for type 06
{string} | Value of property legendForType06 |
legendForType07
. legend for type 07
{string} | Value of property legendForType07 |
legendWidth
. Indicates the legend items width
Default value is 12.5rem
.
{sap.ui.core.CSSSize} | Value of property legendWidth |
visible
. Indicates if the legend is visible
Default value is true
.
{boolean} | Value of property visible |
width
. Indicates the whole component width
Default value is auto
.
{sap.ui.core.CSSSize} | Value of property width |
design
. design name for the legend
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Approval
.
{sap.me.CalendarDesign} | sDesign | New value for property design |
{sap.me.CalendarLegend} | Reference to this in order to allow method chaining |
expandable
. Indicates if the legend can be collapsed and expanded
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
{boolean} | bExpandable | New value for property expandable |
{sap.me.CalendarLegend} | Reference to this in order to allow method chaining |
expanded
. Indicates if the legend is expanded or not
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
{boolean} | bExpanded | New value for property expanded |
{sap.me.CalendarLegend} | Reference to this in order to allow method chaining |
legendForNormal
. legend for normal
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sLegendForNormal | New value for property legendForNormal |
{sap.me.CalendarLegend} | Reference to this in order to allow method chaining |
legendForSelected
. legend for selected
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sLegendForSelected | New value for property legendForSelected |
{sap.me.CalendarLegend} | Reference to this in order to allow method chaining |
legendForSelected00
. legend for selected 00
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sLegendForSelected00 | New value for property legendForSelected00 |
{sap.me.CalendarLegend} | Reference to this in order to allow method chaining |
legendForToday
. legend for today
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sLegendForToday | New value for property legendForToday |
{sap.me.CalendarLegend} | Reference to this in order to allow method chaining |
legendForType00
. legend for type 00
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sLegendForType00 | New value for property legendForType00 |
{sap.me.CalendarLegend} | Reference to this in order to allow method chaining |
legendForType01
. legend for type 01
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sLegendForType01 | New value for property legendForType01 |
{sap.me.CalendarLegend} | Reference to this in order to allow method chaining |
legendForType04
. legend for type 04
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sLegendForType04 | New value for property legendForType04 |
{sap.me.CalendarLegend} | Reference to this in order to allow method chaining |
legendForType06
. legend for type 06
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sLegendForType06 | New value for property legendForType06 |
{sap.me.CalendarLegend} | Reference to this in order to allow method chaining |
legendForType07
. legend for type 07
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sLegendForType07 | New value for property legendForType07 |
{sap.me.CalendarLegend} | Reference to this in order to allow method chaining |
legendWidth
. Indicates the legend items width
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 12.5rem
.
{sap.ui.core.CSSSize} | sLegendWidth | New value for property legendWidth |
{sap.me.CalendarLegend} | Reference to this in order to allow method chaining |
visible
. Indicates if the legend is visible
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
{boolean} | bVisible | New value for property visible |
{sap.me.CalendarLegend} | Reference to this in order to allow method chaining |
width
. Indicates the whole component width
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is auto
.
{sap.ui.core.CSSSize} | sWidth | New value for property width |
{sap.me.CalendarLegend} | Reference to this in order to allow method chaining |