Class sap.gantt.shape.ext.ulc.UlcTooltipRectangleModule: sap/gantt/shape/ext/ulc/UlcTooltipRectangle

extends UlcRectangle

This shape is used to create invisible rectangles with tooltips enabled by tag 'title'.

Graphic Effect is:
dimention1: 0-150% dimention2: 0-110%dimention1: 150% dimention2: 110%dimention1: 150%-70% dimention2: 110%-105%dimention1: 70% dimention2: 105%dimention1: 70%-0 dimention2: 105%-0

Constructor Summary
new sap.gantt.shape.ext.ulc.UlcTooltipRectangle(sId?, mSettings?)Creates and initializes a fragment of the Utilization Line Chart.
Method Summary
sap.gantt.shape.ext.ulc.UlcTooltipRectangle.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.gantt.shape.ext.ulc.UlcTooltipRectangle with name sClassName and enriches it with the information contained in oClassInfo.
sap.gantt.shape.ext.ulc.UlcTooltipRectangle.getMetadata()Returns a metadata object for class sap.gantt.shape.ext.ulc.UlcTooltipRectangle.
getFillOpacity(oData, oRowInfo)Gets the value of property fillOpacity.
getHeight(oData, oRowInfo)Gets the value of property height.
getStrokeOpacity(oData, oRowInfo)Gets the value of property strokeOpacity.
getTitle(oData, oRowInfo)Gets the value of property title.
getWidth(oData, oRowInfo)Gets the value of property width.
getX(oData, oRowInfo)Gets the value of property x.
Methods borrowed from class sap.gantt.shape.ext.ulc.UlcRectangle
Constructor Detail
new sap.gantt.shape.ext.ulc.UlcTooltipRectangle(sId?, mSettings?)
Creates and initializes a fragment of the Utilization Line Chart.
Parameters:
{string}sId? ID of the new control, generated automatically if no ID is given
{object}mSettings? Initial settings of the new control
Method Detail
sap.gantt.shape.ext.ulc.UlcTooltipRectangle.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.gantt.shape.ext.ulc.UlcTooltipRectangle 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.shape.ext.ulc.UlcRectangle.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.shape.ext.ulc.UlcTooltipRectangle.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.gantt.shape.ext.ulc.UlcTooltipRectangle.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getFillOpacity(oData, oRowInfo): number
Gets the value of property fillOpacity.

Standard SVG 'fill-Opacity' attribute. See SVG 1.1 specification for 'fill-opacity'. The value of fillOpacity for tooltip rectangles must be 0.

Parameters:
{object}oData Shape data.
{object}oRowInfo Information about the row and row data.
Returns:
{number} Value of property fillOpacity.
getHeight(oData, oRowInfo): number
Gets the value of property height.

Height of the rectangle. See SVG 1.1 specification for the 'height' attribute of 'rect'.

The default value is the height of the row.

Parameters:
{object}oData Shape data.
{object}oRowInfo Information about the row and row data.
Returns:
{number} Value of property height.
getStrokeOpacity(oData, oRowInfo): number
Gets the value of property strokeOpacity.

Standard SVG 'stroke-Opacity' attribute. See SVG 1.1 specification for 'stroke-opacity'. The value of strokeOpacity for tooltip rectangles must be 0.

Parameters:
{object}oData Shape data.
{object}oRowInfo Information about the row and row data.
Returns:
{number} Value of property strokeOpacity.
getTitle(oData, oRowInfo): string
Gets the value of property title.

Title is visualized as a tooltip by browsers. Notes: Use character entities to perform simple text tabbing and breaking. (Use " " for tab and " " for break.) See SVG 1.1 specification for 'title'.

Parameters:
{object}oData Shape data.
{object}oRowInfo Information about the row and row data.
Returns:
{string} Value of property title.
getWidth(oData, oRowInfo): number
Gets the value of property width.

Width of the rectangle. See SVG 1.1 specification for the 'width' attribute of 'rect'.

Usually an application does not configure this value. Instead, the getter calculates value of width by using the from and to properties.

Parameters:
{object}oData Shape data.
{object}oRowInfo Information about the row and row data.
Returns:
{number} Value of property width.
getX(oData, oRowInfo): number
Gets the value of property x.

x coordinate of the rectangle left-top point. See SVG 1.1 specification for 'x' attribute of 'rect'.

Usually an application does not configure this value. Instead, the getter calculates the value of x by using property from.

Parameters:
{object}oData Shape data.
{object}oRowInfo Information about the row and row data.
Returns:
{number} Value of property x.