The base class for the sap.f.semantic.SemanticButton.
Constructor for a new SemanticControl
.
Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject#constructor for a general description of the syntax of the settings object.
new sap.f.semantic.SemanticControl(sId?, mSettings?)
Param | Type | Default Value | Description |
---|---|---|---|
sId? | string | ID for the new control, generated automatically if no ID is given |
|
mSettings? | object | Initial settings for the new control |
Default Aggregation:
Name | Cardinality | Type | Description |
---|---|---|---|
_control | 0..1 | sap.ui.core.Control |
Hidden aggregation. |
Method | Description |
---|---|
sap.f.semantic.SemanticControl.extend |
Creates a new subclass of class sap.f.semantic.SemanticControl with name
|
sap.f.semantic.SemanticControl.getMetadata |
Returns a metadata object for class sap.f.semantic.SemanticControl. |
getVisible |
Gets current value of property visible. Determines whether the Default value is |
setVisible |
Sets a new value for property visible. Determines whether the When called with a value of Default value is |
Creates a new subclass of class sap.f.semantic.SemanticControl with name 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.
Param | Type | DefaultValue | Description |
---|---|---|---|
sClassName | string |
Name of the class being created |
|
oClassInfo | object |
Object literal with information about the class |
|
FNMetaImpl | function |
Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class |
Returns a metadata object for class sap.f.semantic.SemanticControl.
Gets current value of property visible.
Determines whether the SemanticControl
is visible.
Default value is true
.
Sets a new value for property visible.
Determines whether the SemanticControl
is visible.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Param | Type | DefaultValue | Description |
---|---|---|---|
bVisible | boolean | true |
New value for property |