Represent the data of an event for the overlap calendar
Deprecated API:Since version 1.34.0. This control was experimental since 1.12. Please use the sap.ui.unified.CalendarAppointment instead!
Method Summary
sap.me.OverlapCalendarEvent.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.me.OverlapCalendarEvent with name sClassName
and enriches it with the information contained in oClassInfo
. bindEndDay(oBindingInfo)Binds property endDay
to model data. bindHalfDay(oBindingInfo)Binds property halfDay
to model data. bindName(oBindingInfo)Binds property name
to model data. bindRelevant(oBindingInfo)Binds property relevant
to model data. bindRow(oBindingInfo)Binds property row
to model data. bindStartDay(oBindingInfo)Binds property startDay
to model data. bindType(oBindingInfo)Binds property type
to model data. bindTypeName(oBindingInfo)Binds property typeName
to model data. getEndDay()Gets current value of property endDay
. getHalfDay()Gets current value of property halfDay
. getName()Gets current value of property name
. getRow()Gets current value of property row
. getType()Gets current value of property type
. setEndDay(sEndDay)Sets a new value for property endDay
. setHalfDay(bHalfDay)Sets a new value for property halfDay
. setName(sName)Sets a new value for property name
. setRelevant(bRelevant)Sets a new value for property relevant
. setRow(iRow)Sets a new value for property row
. setStartDay(sStartDay)Sets a new value for property startDay
. setType(sType)Sets a new value for property type
. setTypeName(sTypeName)Sets a new value for property typeName
. unbindName()Unbinds property name
from model data. unbindRow()Unbinds property row
from model data. unbindType()Unbinds property type
from model data. $,
addCustomData,
addDependent,
addEventDelegate,
applyFocusInfo,
bindElement,
clone,
data,
destroy,
destroyCustomData,
destroyDependents,
destroyLayoutData,
destroyTooltip,
enhanceAccessibilityState,
exit,
findElements,
fireEvent,
focus,
getCustomData,
getDependents,
getDomRef,
getElementBinding,
getFocusDomRef,
getFocusInfo,
getInterface,
getLayoutData,
getMetadata,
getTooltip,
getTooltip_AsString,
getTooltip_Text,
indexOfCustomData,
indexOfDependent,
init,
insertCustomData,
insertDependent,
prop,
removeAllCustomData,
removeAllDependents,
removeCustomData,
removeDependent,
removeEventDelegate,
rerender,
setLayoutData,
setTooltip,
toString,
unbindElement addAggregation,
addAssociation,
applySettings,
attachFormatError,
attachModelContextChange,
attachParseError,
attachValidationError,
attachValidationSuccess,
bindAggregation,
bindContext,
bindObject,
bindProperty,
destroyAggregation,
detachFormatError,
detachModelContextChange,
detachParseError,
detachValidationError,
detachValidationSuccess,
findAggregatedObjects,
fireFormatError,
fireModelContextChange,
fireParseError,
fireValidationError,
fireValidationSuccess,
getAggregation,
getAssociation,
getBinding,
getBindingContext,
getBindingInfo,
getBindingPath,
getEventingParent,
getId,
getModel,
getObjectBinding,
getOriginInfo,
getParent,
getProperty,
hasModel,
indexOfAggregation,
insertAggregation,
invalidate,
isBound,
isInvalidateSuppressed,
isTreeBinding,
propagateMessages,
removeAggregation,
removeAllAggregation,
removeAllAssociation,
removeAssociation,
setAggregation,
setAssociation,
setBindingContext,
setModel,
setProperty,
unbindAggregation,
unbindContext,
unbindObject,
unbindProperty,
validateAggregation,
validateProperty Constructor Detail
new sap.me.OverlapCalendarEvent(sId?, mSettings?)
Constructor for a new OverlapCalendarEvent.
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:
In addition, all settings applicable to the base type sap.ui.core.Element can be used as well.
Parameters:
{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.CalendarAppointment instead!
Method Detail
sap.me.OverlapCalendarEvent.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.me.OverlapCalendarEvent with name
sClassName
and enriches it with the information contained in
oClassInfo
.
oClassInfo
might contain the same kind of information as described in sap.ui.core.Element.extend.
Parameters:
{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 |
Returns:
{function} | Created class / constructor function |
Returns a metadata object for class sap.me.OverlapCalendarEvent.
Returns:
Binds property
endDay
to model data.
See ManagedObject.bindProperty for a detailed description of the possible properties of oBindingInfo
Parameters:
{object} | oBindingInfo | The binding information |
Returns:
Binds property
halfDay
to model data.
See ManagedObject.bindProperty for a detailed description of the possible properties of oBindingInfo
Parameters:
{object} | oBindingInfo | The binding information |
Returns:
Binds property
name
to model data.
See ManagedObject.bindProperty for a detailed description of the possible properties of oBindingInfo
Parameters:
{object} | oBindingInfo | The binding information |
Returns:
Binds property
relevant
to model data.
See ManagedObject.bindProperty for a detailed description of the possible properties of oBindingInfo
Parameters:
{object} | oBindingInfo | The binding information |
Returns:
Binds property
row
to model data.
See ManagedObject.bindProperty for a detailed description of the possible properties of oBindingInfo
Parameters:
{object} | oBindingInfo | The binding information |
Returns:
Binds property
startDay
to model data.
See ManagedObject.bindProperty for a detailed description of the possible properties of oBindingInfo
Parameters:
{object} | oBindingInfo | The binding information |
Returns:
Binds property
type
to model data.
See ManagedObject.bindProperty for a detailed description of the possible properties of oBindingInfo
Parameters:
{object} | oBindingInfo | The binding information |
Returns:
Binds property
typeName
to model data.
See ManagedObject.bindProperty for a detailed description of the possible properties of oBindingInfo
Parameters:
{object} | oBindingInfo | The binding information |
Returns:
getEndDay(): string
Gets current value of property
endDay
.
Last day of the event
Returns:
{string} | Value of property endDay |
getHalfDay(): boolean
Gets current value of property
halfDay
.
Is this half a day
Default value is false
.
Returns:
{boolean} | Value of property halfDay |
getName(): string
Gets current value of property
name
.
Name of the row
Returns:
{string} | Value of property name |
getRelevant(): boolean
Gets current value of property
relevant
.
Indicates if this elements is relevant to be consider in the overlap
Returns:
{boolean} | Value of property relevant |
getRow(): int
Gets current value of property
row
.
Id of the row on which to place this event
Default value is -1
.
Returns:
{int} | Value of property row |
getStartDay(): string
Gets current value of property
startDay
.
The first day of the event
Returns:
{string} | Value of property startDay |
getType(): string
Gets current value of property
type
.
Type of the event. Display in the second label (no overlap)
Returns:
{string} | Value of property type |
getTypeName(): string
Gets current value of property
typeName
.
The CSS class to use
Returns:
{string} | Value of property typeName |
Sets a new value for property
endDay
.
Last day of the event
When called with a value of null
or undefined
, the default value of the property will be restored.
Parameters:
{string} | sEndDay | New value for property endDay |
Returns:
Sets a new value for property
halfDay
.
Is this half a day
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is false
.
Parameters:
{boolean} | bHalfDay | New value for property halfDay |
Returns:
Sets a new value for property
name
.
Name of the row
When called with a value of null
or undefined
, the default value of the property will be restored.
Parameters:
{string} | sName | New value for property name |
Returns:
Sets a new value for property
relevant
.
Indicates if this elements is relevant to be consider in the overlap
When called with a value of null
or undefined
, the default value of the property will be restored.
Parameters:
{boolean} | bRelevant | New value for property relevant |
Returns:
Sets a new value for property
row
.
Id of the row on which to place this event
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is -1
.
Parameters:
{int} | iRow | New value for property row |
Returns:
Sets a new value for property
startDay
.
The first day of the event
When called with a value of null
or undefined
, the default value of the property will be restored.
Parameters:
{string} | sStartDay | New value for property startDay |
Returns:
Sets a new value for property
type
.
Type of the event. Display in the second label (no overlap)
When called with a value of null
or undefined
, the default value of the property will be restored.
Parameters:
{string} | sType | New value for property type |
Returns:
Sets a new value for property
typeName
.
The CSS class to use
When called with a value of null
or undefined
, the default value of the property will be restored.
Parameters:
{string} | sTypeName | New value for property typeName |
Returns:
Unbinds property endDay
from model data.
Returns:
Unbinds property halfDay
from model data.
Returns:
Unbinds property name
from model data.
Returns:
Unbinds property relevant
from model data.
Returns:
Unbinds property row
from model data.
Returns:
Unbinds property startDay
from model data.
Returns:
Unbinds property type
from model data.
Returns:
Unbinds property typeName
from model data.
Returns: