Class sap.ui.vbm.ClusterGridModule: sap/ui/vbm/ClusterGrid
Cluster definition element for grid based clusters. Visual objects are clustered based on a grid. It is possible to have multiple grid based clusters. The visualization object is placed in the center of the grid cell plus a given offset.
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
- gridSize : string (default: 256;256)
- limit : int (default: 2)
- limitTotal : int (default: 2)
- orderIndex : int
- offset : string (default: 0;0)
- cellSpacing : int (default: 4)
In addition, all settings applicable to the base type sap.ui.vbm.ClusterBase 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.ClusterBase.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 |
cellSpacing
. Space between grid cells if cell area is shown
Default value is 4
.
{int} | Value of property cellSpacing |
gridSize
. Size of grid cells in pixels. Format is "distanceX;distanceY"
Default value is 256;256
.
{string} | Value of property gridSize |
limit
. Minimal number of objects covered by grid cell fullfilling the cluster rule until clustering is applied.
Default value is 2
.
{int} | Value of property limit |
limitTotal
. Minimal total number of objects covered by grid cell until clustering is applied.
Default value is 2
.
{int} | Value of property limitTotal |
offset
. Offset for the visualization object from the center of the grid cell. This can be used to show multiple visualization objects in on grid cell without overlapping. Format is "offsetX;offsetY"
Default value is 0;0
.
{string} | Value of property offset |
orderIndex
. Ordering index of given cluster in the sequence of all grid based clusters
{int} | Value of property orderIndex |
cellSpacing
. Space between grid cells if cell area is shown
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 4
.
{int} | iCellSpacing | New value for property cellSpacing |
{sap.ui.vbm.ClusterGrid} | Reference to this in order to allow method chaining |
gridSize
. Size of grid cells in pixels. Format is "distanceX;distanceY"
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 256;256
.
{string} | sGridSize | New value for property gridSize |
{sap.ui.vbm.ClusterGrid} | Reference to this in order to allow method chaining |
limit
. Minimal number of objects covered by grid cell fullfilling the cluster rule until clustering is applied.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 2
.
{int} | iLimit | New value for property limit |
{sap.ui.vbm.ClusterGrid} | Reference to this in order to allow method chaining |
limitTotal
. Minimal total number of objects covered by grid cell until clustering is applied.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 2
.
{int} | iLimitTotal | New value for property limitTotal |
{sap.ui.vbm.ClusterGrid} | Reference to this in order to allow method chaining |
offset
. Offset for the visualization object from the center of the grid cell. This can be used to show multiple visualization objects in on grid cell without overlapping. Format is "offsetX;offsetY"
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 0;0
.
{string} | sOffset | New value for property offset |
{sap.ui.vbm.ClusterGrid} | Reference to this in order to allow method chaining |
orderIndex
. Ordering index of given cluster in the sequence of all grid based clusters
When called with a value of null
or undefined
, the default value of the property will be restored.
{int} | iOrderIndex | New value for property orderIndex |
{sap.ui.vbm.ClusterGrid} | Reference to this in order to allow method chaining |