Abstract Class sap.gantt.shape.ext.ulc.UlcRectangleModule: sap/gantt/shape/ext/ulc/UlcRectangle

extends Rectangle

Constructor Summary
new sap.gantt.shape.ext.ulc.UlcRectangle(sId?, mSettings?)Creates and initializes a fragment of the Utilization Line Chart.
Method Summary
sap.gantt.shape.ext.ulc.UlcRectangle.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.gantt.shape.ext.ulc.UlcRectangle with name sClassName and enriches it with the information contained in oClassInfo.
sap.gantt.shape.ext.ulc.UlcRectangle.getMetadata()Returns a metadata object for class sap.gantt.shape.ext.ulc.UlcRectangle.
getHeight(oData, oRowInfo)Gets the value of property height.
getWidth(oData, oRowInfo)Gets the value of property width.
getX(oData, oRowInfo)Gets the value of property x.
getY(oData, oRowInfo)Gets the value of property y.
Constructor Detail
new sap.gantt.shape.ext.ulc.UlcRectangle(sId?, mSettings?)
Creates and initializes a fragment of the Utilization Line Chart.
Parameters:
{string}sId? ID for 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.UlcRectangle.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.gantt.shape.ext.ulc.UlcRectangle 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.Rectangle.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.UlcRectangle.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.gantt.shape.ext.ulc.UlcRectangle.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
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 of height is calculated by the over capacity rectangle.

Parameters:
{object}oData Shape data.
{object}oRowInfo Information about the row and row data.
Returns:
{number} Value of property height.
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 the value of width by using the view boundary for the visible area in a Gantt Chart.

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 the 'x' attribute of 'rect'.

Usually an application does not configure this value. Instead, the getter calculates the value of x by using the view boundary for the visible area in a Gantt Chart.

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

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

Usually application does not configure this value. Instead getter calculates the value of y using parameter oRowInfo.

The default value is y coordinate of the top-left point of the row.

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