Class sap.gantt.shape.ext.ubc.UbcBorderPathModule: sap/gantt/shape/ext/ubc/UbcBorderPath

extends Path

This shape is used to represent a planned capacity line.

Graphic Effect is:

Constructor Summary
new sap.gantt.shape.ext.ubc.UbcBorderPath(sId?, mSettings?)Creates and initializes a fragment of the Utilization Bar Chart.
Method Summary
sap.gantt.shape.ext.ubc.UbcBorderPath.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.gantt.shape.ext.ubc.UbcBorderPath with name sClassName and enriches it with the information contained in oClassInfo.
sap.gantt.shape.ext.ubc.UbcBorderPath.getMetadata()Returns a metadata object for class sap.gantt.shape.ext.ubc.UbcBorderPath.
getD(oData, oRowInfo)Gets the value of property d.
getEnableSelection(oData, oRowInfo)Gets the value of property enableSelection.
getStroke(oData, oRowInfo)Gets the value of property stroke.
getStrokeWidth(oData, oRowInfo)Gets the value of property strokeWidth.
Constructor Detail
new sap.gantt.shape.ext.ubc.UbcBorderPath(sId?, mSettings?)
Creates and initializes a fragment of the Utilization Bar 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.ubc.UbcBorderPath.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.gantt.shape.ext.ubc.UbcBorderPath 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.Path.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.ubc.UbcBorderPath.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.gantt.shape.ext.ubc.UbcBorderPath.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getD(oData, oRowInfo): string
Gets the value of property d.

d attribute of the path element. See SVG 1.1 specification for 'd' attribute of 'path'. 'd' attribute has powerful usages. For more information, see BNF grammar for detail.

Parameters:
{object}oData Shape data.
{object}oRowInfo Information about the row and row data.
Returns:
{string} Value of property d.
getEnableSelection(oData, oRowInfo): boolean
Gets the value of property enableSelection.

This property determines whether a shape is enabled for a selection behavior. The default value for a Utilization Line Chart is false.

Parameters:
{object}oData Shape data.
{object}oRowInfo Information about the row and row data.
Returns:
{boolean} Value of property enableSelection.
getStroke(oData, oRowInfo): string
Gets the value of property stroke.

Standard SVG 'stroke' attribute. See SVG 1.1 specification for 'stroke'. Note:You can provide stroke with HTML colors and the URL reference to a paint server can be provided. Paint server definitions can be retrieved from paint servers rendered by sap.gantt.GanttChartContainer, sap.gantt.GanttChartWithTable, or sap.gantt.GanttChart.

The default value is "blue".

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

Standard SVG 'stroke-width' attribute. See SVG 1.1 specification for 'stroke-width'.

The default value is 0.3.

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