The class handles the container tag "defs" for all reusable SVG graphic definitions. It provides interfaces for SVG definition strings and referencing strings. The parent class is responsible for rendering the definition strings.
SVG uses the 'defs' tag to represent graphic objects that are defined for reuse at a later time. See 'defs' in SVG. Currently sap.gantt
provides defs including the following definition tags: 'pattern', 'gradient', and 'filter'. Applications can also extend this base class to support more functionality.
addAggregation,
addAssociation,
applySettings,
attachFormatError,
attachModelContextChange,
attachParseError,
attachValidationError,
attachValidationSuccess,
bindAggregation,
bindContext,
bindObject,
bindProperty,
clone,
destroy,
destroyAggregation,
detachFormatError,
detachModelContextChange,
detachParseError,
detachValidationError,
detachValidationSuccess,
findAggregatedObjects,
fireFormatError,
fireModelContextChange,
fireParseError,
fireValidationError,
fireValidationSuccess,
getAggregation,
getAssociation,
getBinding,
getBindingContext,
getBindingInfo,
getBindingPath,
getEventingParent,
getId,
getMetadata,
getModel,
getObjectBinding,
getOriginInfo,
getParent,
getProperty,
hasModel,
indexOfAggregation,
insertAggregation,
invalidate,
isBound,
isInvalidateSuppressed,
isTreeBinding,
propagateMessages,
removeAggregation,
removeAllAggregation,
removeAllAssociation,
removeAssociation,
setAggregation,
setAssociation,
setBindingContext,
setModel,
setProperty,
toString,
unbindAggregation,
unbindContext,
unbindObject,
unbindProperty,
validateAggregation,
validateProperty Constructor Detail
new sap.gantt.def.SvgDef(sId?, mSettings?)
SVG definition tag class.
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:
- Aggregations
- defs : sap.gantt.def.DefBase[]
In addition, all settings applicable to the base type sap.ui.base.ManagedObject can be used as well.
Parameters:
{string} | sId? | ID of the new control, generated automatically if no ID is given |
{object} | mSettings? | Initial settings for the new control |
Method Detail
getDefString(): string
Definition string of the SVG 'defs' tag.
Returns:
{string} | - Definition string to be rendered by caller. |