Class sap.gantt.def.SvgDefs
Constructor Summary
new sap.gantt.def.SvgDefs()
Method Summary
sap.gantt.def.SvgDefs.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.gantt.def.SvgDefs with name
sClassName
and enriches it with the information contained in oClassInfo
. Method Detail
sap.gantt.def.SvgDefs.extend(sClassName, oClassInfo?, FNMetaImpl?): functionModule: sap/gantt/def/SvgDefs
Creates a new subclass of class sap.gantt.def.SvgDefs 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.base.ManagedObject.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.gantt.def.SvgDefs.
Returns:
{sap.ui.base.Metadata} | Metadata object describing this class |
Adds some def to the aggregation
defs
. Parameters:
{sap.gantt.def.DefBase} | oDef | the def to add; if empty, nothing is inserted |
Returns:
{sap.gantt.def.SvgDefs} | Reference to this in order to allow method chaining |
Binds aggregation
defs
to model data. See ManagedObject.bindAggregation for a detailed description of the possible properties of oBindingInfo
.
Parameters:
{object} | oBindingInfo | The binding information |
Returns:
{sap.gantt.def.SvgDefs} | Reference to this in order to allow method chaining |
Destroys all the defs in the aggregation
defs
. Returns:
{sap.gantt.def.SvgDefs} | Reference to this in order to allow method chaining |
Checks for the provided
sap.gantt.def.DefBase
in the aggregation defs
. and returns its index if found or -1 otherwise. Parameters:
{sap.gantt.def.DefBase} | oDef | The def whose index is looked for |
Returns:
{int} | The index of the provided control in the aggregation if found, or -1 otherwise |
Inserts a def into the aggregation
defs
. Parameters:
{sap.gantt.def.DefBase} | oDef | the def to insert; if empty, nothing is inserted |
{int} | iIndex | the 0 -based index the def should be inserted at; for a negative value of iIndex , the def is inserted at position 0; for a value greater than the current size of the aggregation, the def is inserted at the last position |
Returns:
{sap.gantt.def.SvgDefs} | Reference to this in order to allow method chaining |
Removes all the controls from the aggregation
defs
. Additionally, it unregisters them from the hosting UIArea.
Returns:
{sap.gantt.def.DefBase[]} | An array of the removed elements (might be empty) |
Removes a def from the aggregation
defs
. Parameters:
{int|string|sap.gantt.def.DefBase} | vDef | The defto remove or its index or id |
Returns:
{sap.gantt.def.DefBase} | The removed def or null |
Unbinds aggregation
defs
from model data. Returns:
{sap.gantt.def.SvgDefs} | Reference to this in order to allow method chaining |