HorizontalAlignment
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
LEADING |
单元格的前缘。这是默认值。 |
CENTER |
内容与列中心对齐。 |
TRAILING |
内容与列尾对齐。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-28。
[null,null,["最后更新时间 (UTC):2025-07-28。"],[],["The document defines cell content alignment options using enums. `LEADING` aligns content to the cell's leading edge, which is the default setting. `CENTER` positions content in the column's center. `TRAILING` aligns content to the column's trailing edge. These enums dictate how text or other elements are positioned within a designated cell space.\n"],null,[]]