Class sap.ui.vbm.ClusterModule: sap/ui/vbm/Cluster
Cluster control to visualize clustered objects on a map. The Cluster control does not cluster anything itself, instead it only shows a predefined image. The image can be configured with the properties type, color, icon and text. If a text is given it is shown in the upper right corner of the control with a rounded border around. With the color property any color can be chosen. The type property overwrites a property color with semantic color of the type and provides a particular semantic icon in the middle of the control. With the icon property an icon can be defined and may overrule the semantic icon; if no icon is defined ( and no type) then the semantic icon for type inactive is chosen.
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
In addition, all settings applicable to the base type sap.ui.core.Control 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.core.Control.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
. Set the color of the control. If a type is set then the semantic color of the type is taken instead.
{sap.ui.core.CSSColor} | Value of property color |
icon
. Set the icon of the control. If a type is set then the semantic icon of the type can be overwritten with this property. If no icon and no type is set then the icon for the semantic type 'inactive' is taken.
{string} | Value of property icon |
text
. Set the text of the control.
{string} | Value of property text |
type
. semantic type for cluster. The type specifies the icon and the color of the cluster control.
Default value is None
.
{sap.ui.vbm.SemanticType} | Value of property type |
color
. Set the color of the control. If a type is set then the semantic color of the type is taken instead.
When called with a value of null
or undefined
, the default value of the property will be restored.
{sap.ui.core.CSSColor} | sColor | New value for property color |
{sap.ui.vbm.Cluster} | Reference to this in order to allow method chaining |
icon
. Set the icon of the control. If a type is set then the semantic icon of the type can be overwritten with this property. If no icon and no type is set then the icon for the semantic type 'inactive' is taken.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sIcon | New value for property icon |
{sap.ui.vbm.Cluster} | Reference to this in order to allow method chaining |
text
. Set the text of the control.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sText | New value for property text |
{sap.ui.vbm.Cluster} | Reference to this in order to allow method chaining |
type
. semantic type for cluster. The type specifies the icon and the color of the cluster control.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is None
.
{sap.ui.vbm.SemanticType} | sType | New value for property type |
{sap.ui.vbm.Cluster} | Reference to this in order to allow method chaining |