本文整理了Java中net.miginfocom.layout.LC.isNoCache()
方法的一些代码示例,展示了LC.isNoCache()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LC.isNoCache()
方法的具体详情如下:
包路径:net.miginfocom.layout.LC
类名称:LC
方法名:isNoCache
[英]If components have sizes or positions linked to the bounds of the parent in some way (as for instance the "%"
unit has) the cache must be turned off for the panel. If components does not get the correct or expected size or position try to set this property to true
.
[中]如果组件的大小或位置以某种方式链接到父级的边界(例如"%"
单元),则必须关闭面板的缓存。如果组件未获得正确或预期的大小或位置,请尝试将此属性设置为true
。
代码示例来源:origin: com.miglayout/miglayout-ideutil
if (lc.isNoCache())
sb.append(asAPI ? ".noCache()" : ",nocache");
代码示例来源:origin: com.miglayout/miglayout-javafx
if (layoutConstraints.isNoCache())
_grid = null;
内容来源于网络,如有侵权,请联系作者删除!