Class sap.suite.ui.commons.ThreePanelThingViewerModule: sap/suite/ui/commons/ThreePanelThingViewer
This control extends the sap.ui.ux3.ThingViewer control. The first panel can display a thing icon, a title, the Action Menu button, up to two rows of text descriptions (the first is wrapped, the second is truncated), vertical navigation bar (sap.suite.ui.commons.VerticalNavigationBar), and an image aka key visual. The second panel displays the header area as a vertical panel containing ThingGroup objects. The third panel is a main content area designed to display ThingGroup objects.
Deprecated API:Since version 1.32. Deprecated. Object page should be used instead.
sClassName
and enriches it with the information contained in oClassInfo
.oMenuContent
to the aggregation named menuContent
.sap.ui.commons.Link
in the aggregation named menuContent
and returns its index if found or -1 otherwise.menuContent
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers.
If the name of a setting is ambiguous (e.g. a property has the same name as an event), then the framework assumes property, aggregation, association, event in that order. To override this automatic resolution, one of the prefixes "aggregation:", "association:" or "event:" can be added to the name of the setting (such a prefixed name must be enclosed in single or double quotes).
The supported settings are:
- Properties
- logo : sap.ui.core.URI
- showHeader : boolean
- sidebarWidth : sap.ui.core.CSSSize (default: '244px')
- Aggregations
- menuContent : sap.ui.commons.Link[]
- Associations
- Events
In addition, all settings applicable to the base type sap.ui.ux3.ThingViewer 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 |
- Deprecated:
- Since version 1.32. Deprecated. Object page should be used instead.
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of informations as described in Element.extend.
{string} | sClassName | name of the class to be created |
{object} | oClassInfo? | object literal with informations about the class |
{function} | FNMetaImpl? | constructor function for the metadata object. If not given, it defaults to sap.ui.core.ElementMetadata. |
{function} | the created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
oMenuContent
to the aggregation named menuContent
. {sap.ui.commons.Link} | oMenuContent | the menuContent to add; if empty, nothing is inserted |
{sap.suite.ui.commons.ThreePanelThingViewer} | this to allow method chaining |
menuContent
. {sap.suite.ui.commons.ThreePanelThingViewer} | this to allow method chaining |
logo
. A URL of the source of an image known as key visual. This can be a company logo or other essential graphics. Default value is empty/undefined
{sap.ui.core.URI} | the value of property logo |
menuContent
.This aggregation allows you to add sap.ui.commons.Link items to the Action Menu. The menu appears as a popup when a user chooses a button in the top title section of the navigation panel.
{sap.ui.commons.Link[]} |
showHeader
. Shows or hides a middle panel named Header that contains general information. Default value is empty/undefined
{boolean} | the value of property showHeader |
sidebarWidth
. The width of the first panel that contains thing's title, icon, key visual and navigation bar. The default value is "244px". Default value is 244px
{sap.ui.core.CSSSize} | the value of property sidebarWidth |
sap.ui.commons.Link
in the aggregation named menuContent
and returns its index if found or -1 otherwise. {sap.ui.commons.Link} | oMenuContent | the menuContent whose index is looked for. |
{int} | the index of the provided control in the aggregation if found, or -1 otherwise |
menuContent
. {sap.ui.commons.Link} | oMenuContent | the menuContent to insert; if empty, nothing is inserted |
{int} | iIndex | the 0 -based index the menuContent should be inserted at; for a negative value of iIndex , the menuContent is inserted at position 0; for a value greater than the current size of the aggregation, the menuContent is inserted at the last position |
{sap.suite.ui.commons.ThreePanelThingViewer} | this to allow method chaining |
menuContent
.Additionally unregisters them from the hosting UIArea.
{sap.ui.commons.Link[]} | an array of the removed elements (might be empty) |
menuContent
. {int|string|sap.ui.commons.Link} | vMenuContent | the menuContent to remove or its index or id |
{sap.ui.commons.Link} | the removed menuContent or null |
{sap.suite.ui.commons.ThreePanelThingViewer} |
logo
. Default value is empty/undefined
{sap.ui.core.URI} | sLogo | new value for property logo |
{sap.suite.ui.commons.ThreePanelThingViewer} | this to allow method chaining |
showHeader
. Default value is empty/undefined
{boolean} | bShowHeader | new value for property showHeader |
{sap.suite.ui.commons.ThreePanelThingViewer} | this to allow method chaining |
sidebarWidth
. Default value is 244px
{sap.ui.core.CSSSize} | sSidebarWidth | new value for property sidebarWidth |
{sap.suite.ui.commons.ThreePanelThingViewer} | this to allow method chaining |