当前位置:网站首页>SAP UI5 FlexibleColumnLayout 控件介绍
SAP UI5 FlexibleColumnLayout 控件介绍
2022-07-05 12:39:00 【汪子熙】
该控件位于命名空间 sap.f 之下。
该控件通过在不同的列中显示最多三页来实现主-细节-细节范式。
该控件在逻辑上类似于 sap.m.SplitContainer,不同之处在于它能够处理三列(称为Begin, Mid和End)而不是两列(Master, Detail)。这三列的宽度是可变的。
有几种可能的布局可以通过控件的API进行更改,也可以由用户通过布局箭头进行更改。
在内部控制使用三个 sap.m.NavContainer 实例,从而形成三列。
这三个实例如下图所示:

在需要同时显示多个逻辑层次的相关信息的应用程序中使用这个控件(例如,列表项、项、子项等)。从某种意义上说,该控件是灵活的,应用程序可以将用户的注意力集中在一个特定的列上,使其变得更大,甚至是全屏。
这些列可以通过 beginColumnPages、midColumnPages 和 endColumnPages 聚合访问。
通过方法 getBeginColumnPages 可以访问 beginColumnPages,其他的聚合以此类推。
这三列的相对大小和可见性是根据 layout 属性的值确定的。
由于用户交互而对布局的更改会通过 stateChange 事件传达给应用程序。
该控件根据设备大小和当前布局自动显示可能的最大列数。应用程序不需要考虑当前设备/屏幕的大小,但只需要添加内容到列和改变布局属性的值。
Layout 属性:

虽然FlexibleColumnLayout可以同时显示2或3个页面,但它们永远不能有相同的宽度(50%/50%或33%/33%/33%)。其中一个页面总是更大(展开),甚至占据控件的全宽度(全屏)。这是有意为之的,因为用户应该清楚地知道在任何给定的时刻应该关注什么,例如,一个项目列表、一个特定的项目、一个项目的详细信息。
关于 FlexibleColumnLayout 的更多介绍,请参考我的 SAP UI5 教程:SAP UI5 应用开发教程之九十七 - 如何使用客户端 JSON 模型构建一个 Master-Detail-Detail 布局中的明细页面
边栏推荐
- NLP engineer learning summary and index
- stm32和电机开发(从架构图到文档编写)
- Redis cluster configuration
- Clear neo4j database data
- 10 minute fitness method reading notes (3/5)
- Time conversion error
- Constructing expression binary tree with prefix expression
- Simply take stock reading notes (3/8)
- Volatile instruction rearrangement and why instruction rearrangement is prohibited
- insmod 提示 Invalid module format
猜你喜欢

Taobao order amount check error, avoid capital loss API

Distributed cache architecture - cache avalanche & penetration & hit rate

CVPR 2022 | 基于稀疏 Transformer 的单步三维目标识别器

RHCAS6

从39个kaggle竞赛中总结出来的图像分割的Tips和Tricks

Pytoch monolayer bidirectional_ LSTM implements MNIST and fashionmnist data classification

Constructing expression binary tree with prefix expression

前几年外包干了四年,秋招感觉人生就这样了..

Pytoch loads the initialization V3 pre training model and reports an error

Transactions from December 27 to 28, 2021
随机推荐
Making and using the cutting tool of TTF font library
From the perspective of technology and risk control, it is analyzed that wechat Alipay restricts the remote collection of personal collection code
RHCSA7
石臻臻的2021总结和2022展望 | 文末彩蛋
Time conversion error
国内市场上的BI软件,到底有啥区别
View and modify the MySQL data storage directory under centos7
Language model
激动人心!2022开放原子全球开源峰会报名火热开启!
Pytoch loads the initialization V3 pre training model and reports an error
在家庭智能照明中应用的测距传感芯片4530A
Setting up sqli lab environment
Pytorch two-layer loop to realize the segmentation of large pictures
JDBC exercise - query data encapsulated into object return & simple login demo
Taobao short videos are automatically released in batches without manual RPA open source
Insmod prompt invalid module format
Introduction to relational model theory
Kotlin process control and circulation
stm32和电机开发(从架构图到文档编写)
Transactions on December 23, 2021