Class sap.gantt.shape.ext.ubc.UbcShortageCapacityPolygonModule: sap/gantt/shape/ext/ubc/UbcShortageCapacityPolygon

extends UbcPolygon

This shape is used to represent a shortage capacity area.

Graphic Effect is:

Constructor Summary
new sap.gantt.shape.ext.ubc.UbcShortageCapacityPolygon(sId?, mSettings?)Creates and initializes a fragment of the Utilization Line Chart.
Method Summary
sap.gantt.shape.ext.ubc.UbcShortageCapacityPolygon.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.gantt.shape.ext.ubc.UbcShortageCapacityPolygon with name sClassName and enriches it with the information contained in oClassInfo.
sap.gantt.shape.ext.ubc.UbcShortageCapacityPolygon.getMetadata()Returns a metadata object for class sap.gantt.shape.ext.ubc.UbcShortageCapacityPolygon.
getFill(oData, oRowInfo)Gets the value of property fill.
getPoints(oData, oRowInfo)Gets current value of property points.
getStroke(oData, oRowInfo)Gets current value of property stroke.
getStrokeWidth(oData, oRowInfo)Gets the value of property strokeWidth.
Methods borrowed from class sap.gantt.shape.Polygon
Constructor Detail
new sap.gantt.shape.ext.ubc.UbcShortageCapacityPolygon(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.ubc.UbcShortageCapacityPolygon.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.gantt.shape.ext.ubc.UbcShortageCapacityPolygon 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.ubc.UbcPolygon.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.UbcShortageCapacityPolygon.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.gantt.shape.ext.ubc.UbcShortageCapacityPolygon.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getFill(oData, oRowInfo): string
Gets the value of property fill.

Standard SVG 'fill' attribute. See SVG 1.1 specification for 'fill'. Note: You can provide the fill attribute with HTML colors and the URL reference to a paint server. 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 "#FF0000".

Parameters:
{object}oData Shape data.
{object}oRowInfo Information of the row and row data.
Returns:
{string} Value of property fill.
getPoints(oData, oRowInfo): string
Gets current value of property points.

points attribute of polygon element. See SVG 1.1 specification for the 'points' attribute of 'polygon'. The value of 'points' is calculated by using the coordinates of all points for the shortage capacity area.

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

Standard SVG 'stroke' attribute. See SVG 1.1 specification for 'stroke'. Note: HTML color and url reference to paint server can be provided to stroke. Paint server definitions usually comes from paint servers rendered by sap.gantt.GanttChartContainer, sap.gantt.GanttChartWithTable or sap.gantt.GanttChart.

The default value is "#CAC7BA".

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.