本文整理了Java中net.miginfocom.swing.MigLayout.setRowConstraints()
方法的一些代码示例,展示了MigLayout.setRowConstraints()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MigLayout.setRowConstraints()
方法的具体详情如下:
包路径:net.miginfocom.swing.MigLayout
类名称:MigLayout
方法名:setRowConstraints
[英]Sets the row layout constraints for the layout manager instance as a String.
See the class JavaDocs for information on how this string is formatted.
[中]将布局管理器实例的行布局约束设置为字符串。
有关如何格式化此字符串的信息,请参见JavaDocs类。
代码示例来源:origin: com.miglayout/miglayout-swing
/** Constructor.
* @param layoutConstraints The constraints that concern the whole layout. <code>null</code> will be treated as "".
* @param colConstraints The constraints for the columns in the grid. <code>null</code> will be treated as "".
* @param rowConstraints The constraints for the rows in the grid. <code>null</code> will be treated as "".
*/
public MigLayout(String layoutConstraints, String colConstraints, String rowConstraints)
{
setLayoutConstraints(layoutConstraints);
setColumnConstraints(colConstraints);
setRowConstraints(rowConstraints);
}
代码示例来源:origin: com.miglayout/miglayout-swing
/** Constructor.
* @param layoutConstraints The constraints that concern the whole layout. <code>null</code> will be treated as an empty constraint.
* @param colConstraints The constraints for the columns in the grid. <code>null</code> will be treated as an empty constraint.
* @param rowConstraints The constraints for the rows in the grid. <code>null</code> will be treated as an empty constraint.
*/
public MigLayout(LC layoutConstraints, AC colConstraints, AC rowConstraints)
{
setLayoutConstraints(layoutConstraints);
setColumnConstraints(colConstraints);
setRowConstraints(rowConstraints);
}
代码示例来源:origin: org.gephi/desktop-statistics
migLayout.setRowConstraints("[pref!]");
JPanel innerPanel = new JPanel(migLayout);
代码示例来源:origin: org.gephi/desktop-statistics
migLayout.setRowConstraints("[pref!]");
JPanel innerPanel = new JPanel(migLayout);
代码示例来源:origin: org.gephi/desktop-statistics
MigLayout migLayout = new MigLayout("insets 0 0 0 0");
migLayout.setColumnConstraints("[grow,fill]");
migLayout.setRowConstraints("[min!]");
JPanel innerPanel = new JPanel(migLayout);
内容来源于网络,如有侵权,请联系作者删除!