Class sap.gantt.def.cal.CalendarDefsModule: sap/gantt/def/cal/CalendarDefs
Calendar pattern definition. This class generates the 'defs' tag from the 'defs' aggregation.
Calendar (for non-working hours) is a widely used graphic element in a Gantt chart. Calendar is considered to be highly reusable between different rows of resources. A default implementation of patterns is provided. After calendars are rendered from def tags, shape sap.gantt.shape.cal.Calendar
can be used to consume the calendar pattern definition.
This class is extended to provide a specific logic for generating referencing strings for calendar patterns.
Constructor Summary
Method Summary
sap.gantt.def.cal.CalendarDefs.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.gantt.def.cal.CalendarDefs with name
sClassName
and enriches it with the information contained in oClassInfo
.sap.gantt.def.cal.CalendarDefs.getMetadata()Returns a metadata object for class sap.gantt.def.cal.CalendarDefs.
Methods borrowed from class sap.gantt.def.SvgDefs
Constructor Detail
Method Detail
sap.gantt.def.cal.CalendarDefs.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.gantt.def.cal.CalendarDefs with name
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.gantt.def.SvgDefs.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 |
sap.gantt.def.cal.CalendarDefs.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.gantt.def.cal.CalendarDefs.
Returns:
{sap.ui.base.Metadata} | Metadata object describing this class |