Class sap.ui.vbm.BoxModule: sap/ui/vbm/Box
Specific Visual Object element for a Box. A Box is a rectangle, which is positioned with its centerpoint at the given position. The ratio between width and height can be controlled with property scale. Depending on the property fxsize a box has an absolute or relative size.
Since the actual size of a box may depend on the zoom level it might be only partly visible. Thus detail windows will open at the click position.
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:
- Properties
- position : string (default: 0;0;0)
- scale : string (default: 1;1;1)
- color : string (default: RGB(255;0;0))
- colorBorder : string (default: RGB(255;0;0))
In addition, all settings applicable to the base type sap.ui.vbm.VoBase 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 |
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.vbm.VoBase.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 |
color
. The color of the box.
Default value is RGB(255;0;0)
.
{string} | Value of property color |
colorBorder
. The border color of the box.
Default value is RGB(255;0;0)
.
{string} | Value of property colorBorder |
position
. The position of the Box. The format is "lon;lat;0".
Default value is 0;0;0
.
{string} | Value of property position |
scale
. The scale of the box. The format is "x-Scale;y-Scale;z-Scale" whereas z-Scale is currently ignored.
Default value is 1;1;1
.
{string} | Value of property scale |
color
. The color of the box.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is RGB(255;0;0)
.
{string} | sColor | New value for property color |
{sap.ui.vbm.Box} | Reference to this in order to allow method chaining |
colorBorder
. The border color of the box.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is RGB(255;0;0)
.
{string} | sColorBorder | New value for property colorBorder |
{sap.ui.vbm.Box} | Reference to this in order to allow method chaining |
position
. The position of the Box. The format is "lon;lat;0".
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 0;0;0
.
{string} | sPosition | New value for property position |
{sap.ui.vbm.Box} | Reference to this in order to allow method chaining |
scale
. The scale of the box. The format is "x-Scale;y-Scale;z-Scale" whereas z-Scale is currently ignored.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 1;1;1
.
{string} | sScale | New value for property scale |
{sap.ui.vbm.Box} | Reference to this in order to allow method chaining |