Abstract Class sap.gantt.shape.ext.ubc.UbcPolygonModule: sap/gantt/shape/ext/ubc/UbcPolygon
extends Polygon
known direct subclasses: UbcOverCapacityZonePolygon, UbcShortageCapacityPolygon, UbcUnderCapacityZonePolygon, UbcUsedPolygon
Base class for sap.gantt.shape.ext.ubc.UbcOverCapacityZonePolygon, sap.gantt.shape.ext.ubc.UbcUnderCapacityZonePolygon, sap.gantt.shape.ext.ubc.UbcShortagePolygon, sap.gantt.shape.ext.ubc.UbcUsedPolygon.
This base class defines a number of shared methods.
Constructor Summary
new sap.gantt.shape.ext.ubc.UbcPolygon(sId?, mSettings?)Creates and initializes a fragment of the Utilization Line Chart.
Method Summary
sap.gantt.shape.ext.ubc.UbcPolygon.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.gantt.shape.ext.ubc.UbcPolygon with name
sClassName and enriches it with the information contained in oClassInfo.sap.gantt.shape.ext.ubc.UbcPolygon.getMetadata()Returns a metadata object for class sap.gantt.shape.ext.ubc.UbcPolygon.
Methods borrowed from class sap.gantt.shape.Polygon
Constructor Detail
Method Detail
sap.gantt.shape.ext.ubc.UbcPolygon.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.gantt.shape.ext.ubc.UbcPolygon 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.Polygon.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.UbcPolygon.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.gantt.shape.ext.ubc.UbcPolygon.
Returns:
| {sap.ui.base.Metadata} | Metadata object describing this class |
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. |