Class sap.ui.commons.AreaModule: sap/ui/commons/Area
Used for defining areas in an image map. At runtime, the user can trigger an action, or start a URL, from the single image areas.
Deprecated API:Since version 1.38.
sClassName and enriches it with the information contained in oClassInfo. Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
In addition, all settings applicable to the base type sap.ui.core.Element can be used as well.
| {string} | sId? | id for the new control, generated automatically if no id is given |
| {object} | mSettings? | initial settings for the new control |
- Deprecated:
- Since version 1.38.
sClassName and enriches it with the information contained in oClassInfo. oClassInfo might contain the same kind of information as described in sap.ui.core.Element.extend.
| {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 |
| {function} | Created class / constructor function |
| {sap.ui.base.Metadata} | Metadata object describing this class |
alt. Alternative text that is displayed in the case the image is not available
| {string} | Value of property alt |
coords. Coordinates of the area
| {string} | Value of property coords |
href. Hyper link that is executed when the area is clicked
| {sap.ui.core.URI} | Value of property href |
shape. The value is a string and can be 'rect' for rectangle, 'poly' for poligon, 'circle', or default.
| {string} | Value of property shape |
alt. Alternative text that is displayed in the case the image is not available
When called with a value of null or undefined, the default value of the property will be restored.
| {string} | sAlt | New value for property alt |
| {sap.ui.commons.Area} | Reference to this in order to allow method chaining |
coords. Coordinates of the area
When called with a value of null or undefined, the default value of the property will be restored.
| {string} | sCoords | New value for property coords |
| {sap.ui.commons.Area} | Reference to this in order to allow method chaining |
href. Hyper link that is executed when the area is clicked
When called with a value of null or undefined, the default value of the property will be restored.
| {sap.ui.core.URI} | sHref | New value for property href |
| {sap.ui.commons.Area} | Reference to this in order to allow method chaining |
shape. The value is a string and can be 'rect' for rectangle, 'poly' for poligon, 'circle', or default.
When called with a value of null or undefined, the default value of the property will be restored.
| {string} | sShape | New value for property shape |
| {sap.ui.commons.Area} | Reference to this in order to allow method chaining |