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

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

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

LC.isNoGrid介绍

[英]If the whole layout should be non grid based. It is the same as setting the "nogrid" property on every row/column in the grid.
[中]如果整个布局不应基于网格。这与在网格中的每一行/列上设置“nogrid”属性相同。

代码示例

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

if (lc.isNoGrid())
  sb.append(asAPI ? ".noGrid()" : ",nogrid");

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

final boolean isRowInGridMode = !lc.isNoGrid() && !((DimConstraint) LayoutUtil.getIndexSafe(specs, lc.isFlowX() ? cellXY[1] : cellXY[0])).isNoGrid();

相关文章