当前位置: 首页>>代码示例>>Java>>正文


Java RowSpec.createGap方法代码示例

本文整理汇总了Java中com.jgoodies.forms.layout.RowSpec.createGap方法的典型用法代码示例。如果您正苦于以下问题:Java RowSpec.createGap方法的具体用法?Java RowSpec.createGap怎么用?Java RowSpec.createGap使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.jgoodies.forms.layout.RowSpec的用法示例。


在下文中一共展示了RowSpec.createGap方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: setLineGapSize

import com.jgoodies.forms.layout.RowSpec; //导入方法依赖的package包/类
public void setLineGapSize(ConstantSize lineGapSize)
{
  RowSpec rowSpec = RowSpec.createGap(lineGapSize);
  this.lineGapSpec = rowSpec;
}
 
开发者ID:javachen,项目名称:IBMDataMovementTool,代码行数:6,代码来源:DefaultFormBuilder.java

示例2: setParagraphGapSize

import com.jgoodies.forms.layout.RowSpec; //导入方法依赖的package包/类
public void setParagraphGapSize(ConstantSize paragraphGapSize)
{
  RowSpec rowSpec = RowSpec.createGap(paragraphGapSize);
  this.paragraphGapSpec = rowSpec;
}
 
开发者ID:javachen,项目名称:IBMDataMovementTool,代码行数:6,代码来源:DefaultFormBuilder.java

示例3: createGapRowSpec

import com.jgoodies.forms.layout.RowSpec; //导入方法依赖的package包/类
/** @deprecated */
public static RowSpec createGapRowSpec(ConstantSize gapHeight)
{
  return RowSpec.createGap(gapHeight);
}
 
开发者ID:javachen,项目名称:IBMDataMovementTool,代码行数:6,代码来源:FormFactory.java

示例4: setLineGapSize

import com.jgoodies.forms.layout.RowSpec; //导入方法依赖的package包/类
/**
 * Sets the size of gaps between component lines using the given
 * constant size.<p>
 *
 * <strong>Examples:</strong><pre>
 * builder.setLineGapSize(Sizes.ZERO);
 * builder.setLineGapSize(Sizes.DLUY9);
 * builder.setLineGapSize(Sizes.pixel(1));
 * </pre>
 *
 * @param lineGapSize   the <code>ConstantSize</code> that describes
 *     the size of the gaps between component lines
 */
public void setLineGapSize(ConstantSize lineGapSize) {
    RowSpec rowSpec = RowSpec.createGap(lineGapSize);
    this.lineGapSpec = rowSpec;
}
 
开发者ID:evandrocoan,项目名称:ComputerScienceGraduation,代码行数:18,代码来源:DefaultFormBuilder.java

示例5: setParagraphGapSize

import com.jgoodies.forms.layout.RowSpec; //导入方法依赖的package包/类
/**
 * Sets the size of gaps between paragraphs using the given
 * constant size.<p>
 *
 * <strong>Examples:</strong><pre>
 * builder.setParagraphGapSize(Sizes.DLUY14);
 * builder.setParagraphGapSize(Sizes.dluY(22));
 * builder.setParagraphGapSize(Sizes.pixel(42));
 * </pre>
 *
 * @param paragraphGapSize   the <code>ConstantSize</code> that describes
 *     the size of the gaps between paragraphs
 */
public void setParagraphGapSize(ConstantSize paragraphGapSize) {
    RowSpec rowSpec = RowSpec.createGap(paragraphGapSize);
    this.paragraphGapSpec = rowSpec;
}
 
开发者ID:evandrocoan,项目名称:ComputerScienceGraduation,代码行数:18,代码来源:DefaultFormBuilder.java

示例6: createGapRowSpec

import com.jgoodies.forms.layout.RowSpec; //导入方法依赖的package包/类
/**
 * Creates and returns a {@link RowSpec} that represents a gap with the
 * specified {@link ConstantSize}.
 *
 * @param gapHeight   a <code>ConstantSize</code> that specifies the gap
 * @return a <code>RowSpec</code> that describes a vertical gap
 *
 * @deprecated Replaced by {@link RowSpec#createGap(ConstantSize)}.
 *     This method will be removed from the next Forms version.
 */
public static RowSpec createGapRowSpec(ConstantSize gapHeight) {
    return RowSpec.createGap(gapHeight);
}
 
开发者ID:evandrocoan,项目名称:ComputerScienceGraduation,代码行数:14,代码来源:FormFactory.java


注:本文中的com.jgoodies.forms.layout.RowSpec.createGap方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。