当前位置:网站首页>SAP UI5 ObjectPageLayout 控件使用方法分享
SAP UI5 ObjectPageLayout 控件使用方法分享
2022-07-05 12:39:00 【汪子熙】
SAP UI5 ObjectPageLayout 控件允许应用程序轻松显示与业务对象(Business Object)相关的信息的布局。
ObjectPageLayout 布局由一个抬头区域(标题和内容)、一个可选的 anchor bar
区域和 block content
区域组成。
其中 block content 被包裹在 sections 和 子 sections 中,这些 section 共同组成了 BO 的结构化信息显示。
换言之,ObjectPageLayout 控件用于将对象页面的所有部分放在一起——标题、可选的锚条和节/子节区域。
下图是一个例子:
- headerTitle
- headerContent
- sections
- subSections
header
ObjectPageLayout实现捕获头( snapping header
)的概念。这意味着页眉的上部(页眉标题)始终是可见的,而下部(页眉内容)可以滚动出视图。
标题显示在标题的顶部,并且始终在页面可滚动内容的上方可见。它包含对象的标题和最突出的细节。
页眉内容与页面内容一起滚动,直到它消失(折叠页眉)。当滚动回顶部时,它再次变得可见(扩展标题)。它包含对象的所有附加信息。
如下图所示:
Anchor Bar
中文翻译为锚栏,这是一个自动生成的内部菜单,它显示了各个节和子节的标题,并允许用户滚动到各自的节和子节内容。
Sections, Subsections, Blocks
这些出现在页眉下方的页面内容,由结构成节和子节的块组成。
如下图所示,定义了 General Information
和 Suppliers
两个 section,分别各自包含一个 SimpleForm
和 Table
:
ObjectPageLayout 的使用场景
- 用户需要查看、编辑或创建具有所有详细信息的条目。
- 用户需要了解对象的概况,并与对象的不同部分进行交互。
最后运行时的效果如下:
边栏推荐
- Kotlin variable
- 在家庭智能照明中应用的测距传感芯片4530A
- Four common problems of e-commerce sellers' refund and cash return, with solutions
- 2021.12.16-2021.12.20 empty four hand transaction records
- Time conversion error
- mysql拆分字符串做条件查询
- stirring! 2022 open atom global open source summit registration is hot!
- Introduction to GNN
- NFT: how to make money with unique assets?
- stm32和电机开发(从架构图到文档编写)
猜你喜欢
深度长文探讨Join运算的简化和提速
RHCSA3
Add a new cloud disk to Huawei virtual machine
上午面了个腾讯拿 38K 出来的,让我见识到了基础的天花
【云原生】Nacos中的事件发布与订阅--观察者模式
Taobao, pinduoduo, jd.com, Doudian order & Flag insertion remarks API solution
Pytoch monolayer bidirectional_ LSTM implements MNIST and fashionmnist data classification
Pytoch uses torchnet Classerrormeter in meter
谈谈我写作生涯的画图技巧
C language structure is initialized as a function parameter
随机推荐
NFT: how to make money with unique assets?
2021-12-22 transaction record
RHCSA3
Taobao short video, why the worse the effect
Pytoch monolayer bidirectional_ LSTM implements MNIST and fashionmnist data classification
非技术部门,如何参与 DevOps?
Transactions from December 27 to 28, 2021
自然语言处理系列(一)入门概述
I met Tencent in the morning and took out 38K, which showed me the basic smallpox
Migrate data from Mysql to neo4j database
Detailed steps for upgrading window mysql5.5 to 5.7.36
How can labels/legends be added for all chart types in chart. js (chartjs.org)?
Transactions from December 29, 2021 to January 4, 2022
Pytorch two-layer loop to realize the segmentation of large pictures
CVPR 2022 | single step 3D target recognizer based on sparse transformer
以VMware创新之道,重塑多云产品力
UNIX socket advanced learning diary -ipv4-ipv6 interoperability
Resnet+attention project complete code learning
10 minute fitness method reading notes (2/5)
【Nacos云原生】阅读源码第一步,本地启动Nacos