UI5 Development: Visualization Object Box
Tags:
Box
The box VO is used to render a cuboid. In the HTML implementation the visualization is reduced to a rectangle.
CLSID | {00100000-2012-0004-B001-BFED458C3076} |
These are the attributes of the box VO:
Attribute | Binding | Type | H/N | Default | Description |
type | No | string | Yes/Yes | must be the above CLSID | |
id | No | string | Yes/Yes | specifies the id of the VO | |
datasource | No | string | path to a data node | ||
pos | Yes | vector | Yes/Yes | position of the VO | |
scale | Yes | vector | Yes/Yes | 1,1,1 | scaling of the VO |
tooltip | Yes | string | No/Yes | tooltip text of the VO | |
color | Yes | color | No/Yes | fill color of the box | |
dothotScale | Yes | vector | Yes/Yes | 1;1;1 | x,y,z only x factor is used to scale the box |
hotDeltaColor | Yes | string | No/Yes | relative or absolute color value that is applied to all color values when the VO is hot | |
fxsize | Yes | boolean | Yes/Yes | when set, the VO should not scale | |
fxdir | Yes | boolean | No/Yes | the VO does not rotate when the map is rotated. | |
DragSource | No | object | No/Yes | drag filter information | |
DropSource | No | object | No/Yes | drop filter information |
Events | H/N | Description |
Click | Yes/Yes | fired when the VO is clicked or there is a corresponding touch event on the VO |
ContextMenu | Yes/Yes | fired when there is a right click or a corresponding touch event on the VO |
HandleContextMenu | Yes/No | fired when there is a click or touch on a design handle |
{
"id": "CONTAINER",
"type": "{00100000-2012-0004-B001-BFED458C3076}",
"datasource": "Buildings",
"pos.bind": "Buildings.GeoPosition",
"scale.bind": "Buildings.Scale",
"fxdir": "false",
"fxsize": "true",
"texture": "building.dds"
}
The texture is not taken into account.