net.miginfocom.layout.LC.isFillX()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(0.7k)|赞(0)|评价(0)|浏览(70)

本文整理了Java中net.miginfocom.layout.LC.isFillX()方法的一些代码示例,展示了LC.isFillX()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LC.isFillX()方法的具体详情如下:
包路径:net.miginfocom.layout.LC
类名称:LC
方法名:isFillX

LC.isFillX介绍

[英]If the layout should always claim the whole bounds of the laid out container even if the preferred size is smaller.
[中]如果布局应始终要求布局容器的整个边界,即使首选尺寸较小。

代码示例

代码示例来源:origin: com.miglayout/miglayout-ideutil

sb.append(asAPI ? ".flowY()" : ",flowy");
boolean fillX = lc.isFillX();
boolean fillY = lc.isFillY();
if (fillX || fillY) {

代码示例来源:origin: com.miglayout/miglayout-core

rowGroupLists = divideIntoLinkedGroups(true);
pushXs = hasPushX || lc.isFillX() ? getDefaultPushWeights(false) : null;
pushYs = hasPushY || lc.isFillY() ? getDefaultPushWeights(true) : null;

相关文章