當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。