使用 expanded 参数来设置或查询位于当前元素与下一个可视元素之间的隐藏元素 的可视性。如果在文档视图中存在隐藏元素,则可以对后面跟随着隐藏元素的每个可视元素设置 expanded。如果将 expanded 设置为 on,则将强制位于指定元素与下一个可视元素之间的所有隐藏元素可视。如果将 expanded 设置为 off,则位于指定元素与下一个可视元素之间的所有隐藏元素将保持隐藏。
query 命令
set 命令
当前元素视图。
query expanded set expanded { on | off }
on | 使用 on 参数来指示应强制显示位于当前元素与下一个可视元素之间的隐藏元素。 |
off | 使用 off 参数来指示位于当前元素与下一个可视元素之间的隐藏元素应保持隐藏。 |
如果发生下列任何一项,则将文档视图中所有元素的 expanded 属性设置为 off:
- 改变了 includedClasses 参数
- 改变了 excludedClasses 参数
- 改变了 markIncluded 参数
- 改变了 markExcluded 参数。
query expanded set expanded on
expandAll 命令
query 命令
set 命令
excludedClasses 参数
includedClasses 参数
markIncluded 参数
markExcluded 参数
topExpanded 参数
Copyright IBM Corporation 1992, 2006. All Rights Reserved.