Class sap.landvisz.ConnectorModule: sap/landvisz/Connector

extends Control

Connector of the entities

Constructor Summary
new sap.landvisz.Connector(sId?, mSettings?)Constructor for a new Connector.
Events borrowed from class sap.ui.core.Control
Method Summary
sap.landvisz.Connector.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.landvisz.Connector with name sClassName and enriches it with the information contained in oClassInfo.
sap.landvisz.Connector.getMetadata()Returns a metadata object for class sap.landvisz.Connector.
getSource()Getter for property source.
getTarget()Getter for property target.
setSource(sSource)Setter for property source.
setTarget(sTarget)Setter for property target.
Constructor Detail
new sap.landvisz.Connector(sId?, mSettings?)
Constructor for a new Connector.

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers.

If the name of a setting is ambiguous (e.g. a property has the same name as an event), then the framework assumes property, aggregation, association, event in that order. To override this automatic resolution, one of the prefixes "aggregation:", "association:" or "event:" can be added to the name of the setting (such a prefixed name must be enclosed in single or double quotes).

The supported settings are:

  • Properties
  • Aggregations
    • Associations
      • Events
        Parameters:
        {string}sId? id for the new control, generated automatically if no id is given
        {object}mSettings? initial settings for the new control
        Method Detail
        sap.landvisz.Connector.extend(sClassName, oClassInfo?, FNMetaImpl?): function
        Creates a new subclass of class sap.landvisz.Connector with name sClassName and enriches it with the information contained in oClassInfo.

        oClassInfo might contain the same kind of informations as described in Element.extend.

        Parameters:
        {string}sClassName name of the class to be created
        {object}oClassInfo? object literal with informations about the class
        {function}FNMetaImpl? constructor function for the metadata object. If not given, it defaults to sap.ui.core.ElementMetadata.
        Returns:
        {function} the created class / constructor function
        sap.landvisz.Connector.getMetadata(): sap.ui.base.Metadata
        Returns a metadata object for class sap.landvisz.Connector.
        Returns:
        {sap.ui.base.Metadata} Metadata object describing this class
        getSource(): string
        Getter for property source. source of a connection to be drawn

        Default value is empty/undefined

        Returns:
        {string} the value of property source
        getTarget(): string
        Getter for property target. destination of the connection

        Default value is empty/undefined

        Returns:
        {string} the value of property target
        setSource(sSource): sap.landvisz.Connector
        Setter for property source.

        Default value is empty/undefined

        Parameters:
        {string}sSource new value for property source
        Returns:
        {sap.landvisz.Connector}this to allow method chaining
        setTarget(sTarget): sap.landvisz.Connector
        Setter for property target.

        Default value is empty/undefined

        Parameters:
        {string}sTarget new value for property target
        Returns:
        {sap.landvisz.Connector}this to allow method chaining