• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java Alignment类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中com.jgoodies.forms.layout.CellConstraints.Alignment的典型用法代码示例。如果您正苦于以下问题:Java Alignment类的具体用法?Java Alignment怎么用?Java Alignment使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



Alignment类属于com.jgoodies.forms.layout.CellConstraints包,在下文中一共展示了Alignment类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: setHAlignment

import com.jgoodies.forms.layout.CellConstraints.Alignment; //导入依赖的package包/类
public final void setHAlignment(CellConstraints.Alignment alignment)
{
  this.currentCellConstraints.hAlign = alignment;
}
 
开发者ID:javachen,项目名称:IBMDataMovementTool,代码行数:5,代码来源:AbstractFormBuilder.java


示例2: setVAlignment

import com.jgoodies.forms.layout.CellConstraints.Alignment; //导入依赖的package包/类
public final void setVAlignment(CellConstraints.Alignment alignment)
{
  this.currentCellConstraints.vAlign = alignment;
}
 
开发者ID:javachen,项目名称:IBMDataMovementTool,代码行数:5,代码来源:AbstractFormBuilder.java


示例3: setAlignment

import com.jgoodies.forms.layout.CellConstraints.Alignment; //导入依赖的package包/类
public final void setAlignment(CellConstraints.Alignment hAlign, CellConstraints.Alignment vAlign)
{
  setHAlignment(hAlign);
  setVAlignment(vAlign);
}
 
开发者ID:javachen,项目名称:IBMDataMovementTool,代码行数:6,代码来源:AbstractFormBuilder.java


示例4: xy

import com.jgoodies.forms.layout.CellConstraints.Alignment; //导入依赖的package包/类
/**
 * Sets the column and row origins; sets width and height to 1;
 * set horizontal and vertical alignment using the specified objects.<p>
 *
 * <strong>Examples:</strong><pre>
 * CC.xy(1, 3, CellConstraints.LEFT,   CellConstraints.BOTTOM);
 * CC.xy(1, 3, CellConstraints.CENTER, CellConstraints.FILL);
 * </pre>
 *
 * @param col       the new column index
 * @param row       the new row index
 * @param colAlign  horizontal component alignment
 * @param rowAlign  vertical component alignment
 * @return this
 */
public static CellConstraints xy(int col, int row,
                          Alignment colAlign, Alignment rowAlign) {
    return xywh(col, row, 1, 1, colAlign, rowAlign);
}
 
开发者ID:evandrocoan,项目名称:ComputerScienceGraduation,代码行数:20,代码来源:CC.java


示例5: xyw

import com.jgoodies.forms.layout.CellConstraints.Alignment; //导入依赖的package包/类
/**
 * Sets the column, row, width, and height; sets the horizontal
 * and vertical alignment using the specified alignment objects.
 * The row span (height) is set to 1.<p>
 *
 * <strong>Examples:</strong><pre>
 * CC.xyw(1, 3, 2, CellConstraints.LEFT,   CellConstraints.BOTTOM);
 * CC.xyw(1, 3, 7, CellConstraints.CENTER, CellConstraints.FILL);
 * </pre>
 *
 * @param col       the new column index
 * @param row       the new row index
 * @param colSpan   the column span or grid width
 * @param colAlign  horizontal component alignment
 * @param rowAlign  vertical component alignment
 * @return this
 * @throws IllegalArgumentException if an alignment orientation is invalid
 */
public static CellConstraints xyw(int col, int row, int colSpan,
                             Alignment colAlign, Alignment rowAlign) {
    return xywh(col, row, colSpan, 1, colAlign, rowAlign);
}
 
开发者ID:evandrocoan,项目名称:ComputerScienceGraduation,代码行数:23,代码来源:CC.java


示例6: xywh

import com.jgoodies.forms.layout.CellConstraints.Alignment; //导入依赖的package包/类
/**
 * Sets the column, row, width, and height; sets the horizontal
 * and vertical alignment using the specified alignment objects.<p>
 *
 * <strong>Examples:</strong><pre>
 * CC.xywh(1, 3, 2, 1, CellConstraints.LEFT,   CellConstraints.BOTTOM);
 * CC.xywh(1, 3, 7, 3, CellConstraints.CENTER, CellConstraints.FILL);
 * </pre>
 *
 * @param col       the new column index
 * @param row       the new row index
 * @param colSpan   the column span or grid width
 * @param rowSpan   the row span or grid height
 * @param colAlign  horizontal component alignment
 * @param rowAlign  vertical component alignment
 * @return this
 * @throws IllegalArgumentException if an alignment orientation is invalid
 */
public static CellConstraints xywh(int col, int row, int colSpan, int rowSpan,
                             Alignment colAlign, Alignment rowAlign) {
    return new CellConstraints(col, row, colSpan, rowSpan, colAlign, rowAlign);
}
 
开发者ID:evandrocoan,项目名称:ComputerScienceGraduation,代码行数:23,代码来源:CC.java


示例7: rc

import com.jgoodies.forms.layout.CellConstraints.Alignment; //导入依赖的package包/类
/**
 * Sets the row and column origins; sets width and height to 1;
 * set horizontal and vertical alignment using the specified objects.<p>
 *
 * <strong>Examples:</strong><pre>
 * CC.rc(3, 1, CellConstraints.BOTTOM, CellConstraints.LEFT);
 * CC.rc(3, 1, CellConstraints.FILL,   CellConstraints.CENTER);
 * </pre>
 *
 * @param row       the new row index
 * @param col       the new column index
 * @param rowAlign  vertical component alignment
 * @param colAlign  horizontal component alignment
 * @return this
 */
public static CellConstraints rc(int row, int col,
                          Alignment rowAlign, Alignment colAlign) {
    return rchw(row, col, 1, 1, rowAlign, colAlign);
}
 
开发者ID:evandrocoan,项目名称:ComputerScienceGraduation,代码行数:20,代码来源:CC.java


示例8: rcw

import com.jgoodies.forms.layout.CellConstraints.Alignment; //导入依赖的package包/类
/**
 * Sets the row, column, height, and width; sets the vertical
 * and horizontal alignment using the specified alignment objects.
 * The row span (height) is set to 1.<p>
 *
 * <strong>Examples:</strong><pre>
 * CC.rcw(3, 1, 2, CellConstraints.BOTTOM, CellConstraints.LEFT);
 * CC.rcw(3, 1, 7, CellConstraints.FILL,   CellConstraints.CENTER);
 * </pre>
 *
 * @param row       the new row index
 * @param col       the new column index
 * @param colSpan   the column span or grid width
 * @param rowAlign  vertical component alignment
 * @param colAlign  horizontal component alignment
 * @return this
 *
 * @throws IllegalArgumentException if an alignment orientation is invalid
 */
public static CellConstraints rcw(int row, int col, int colSpan,
                             Alignment rowAlign, Alignment colAlign) {
    return rchw(row, col, 1, colSpan, rowAlign, colAlign);
}
 
开发者ID:evandrocoan,项目名称:ComputerScienceGraduation,代码行数:24,代码来源:CC.java


示例9: rchw

import com.jgoodies.forms.layout.CellConstraints.Alignment; //导入依赖的package包/类
/**
 * Sets the row, column, height, and width; sets the vertical and
 * horizontal alignment using the specified alignment objects.<p>
 *
 * <strong>Examples:</strong><pre>
 * CC.rchw(3, 1, 1, 2, CellConstraints.BOTTOM, CellConstraints.LEFT);
 * CC.rchw(3, 1, 3, 7, CellConstraints.FILL,   CellConstraints.CENTER);
 * </pre>
 *
 * @param row       the new row index
 * @param col       the new column index
 * @param rowSpan   the row span or grid height
 * @param colSpan   the column span or grid width
 * @param rowAlign  vertical component alignment
 * @param colAlign  horizontal component alignment
 * @return this
 *
 * @throws IllegalArgumentException if an alignment orientation is invalid
 */
public static CellConstraints rchw(int row, int col, int rowSpan, int colSpan,
                             Alignment rowAlign, Alignment colAlign) {
    return xywh(col, row, colSpan, rowSpan, colAlign, rowAlign);
}
 
开发者ID:evandrocoan,项目名称:ComputerScienceGraduation,代码行数:24,代码来源:CC.java


示例10: xy

import com.jgoodies.forms.layout.CellConstraints.Alignment; //导入依赖的package包/类
/**
 * Sets the column and row origins; sets width and height to 1;
 * set horizontal and vertical alignment using the specified objects.<p>
 *
 * <strong>Examples:</strong><pre>
 * .add(aComponent).xy(1, 3, CellConstraints.LEFT,   CellConstraints.BOTTOM);
 * .add(aComponent).xy(1, 3, CellConstraints.CENTER, CellConstraints.FILL);
 * </pre>
 *
 * @param col       the column index
 * @param row       the row index
 * @param colAlign  horizontal component alignment
 * @param rowAlign  vertical component alignment
 * @return a reference to the builder
 */
public final T xy(int col, int row,
                          Alignment colAlign, Alignment rowAlign) {
    return at(CC.xy(col, row, colAlign, rowAlign));
}
 
开发者ID:JFormDesigner,项目名称:swing-jgoodies-forms,代码行数:20,代码来源:AbstractFormBuilder.java


示例11: xyw

import com.jgoodies.forms.layout.CellConstraints.Alignment; //导入依赖的package包/类
/**
 * Sets the column, row, width, and height; sets the horizontal
 * and vertical alignment using the specified alignment objects.
 * The row span (height) is set to 1.<p>
 *
 * <strong>Examples:</strong><pre>
 * .add(aComponent).xyw(1, 3, 2, CellConstraints.LEFT,   CellConstraints.BOTTOM);
 * .add(aComponent).xyw(1, 3, 7, CellConstraints.CENTER, CellConstraints.FILL);
 * </pre>
 *
 * @param col       the column index
 * @param row       the row index
 * @param colSpan   the column span or grid width
 * @param colAlign  horizontal component alignment
 * @param rowAlign  vertical component alignment
 * @return a reference to the builder
 * @throws IllegalArgumentException if an alignment orientation is invalid
 */
public final T xyw(int col, int row, int colSpan,
                             Alignment colAlign, Alignment rowAlign) {
    return at(CC.xyw(col, row, colSpan, colAlign, rowAlign));
}
 
开发者ID:JFormDesigner,项目名称:swing-jgoodies-forms,代码行数:23,代码来源:AbstractFormBuilder.java


示例12: xywh

import com.jgoodies.forms.layout.CellConstraints.Alignment; //导入依赖的package包/类
/**
 * Sets the column, row, width, and height; sets the horizontal
 * and vertical alignment using the specified alignment objects.<p>
 *
 * <strong>Examples:</strong><pre>
 * .add(aComponent).xywh(1, 3, 2, 1, CellConstraints.LEFT,   CellConstraints.BOTTOM);
 * .add(aComponent).xywh(1, 3, 7, 3, CellConstraints.CENTER, CellConstraints.FILL);
 * </pre>
 *
 * @param col       the column index
 * @param row       the row index
 * @param colSpan   the column span or grid width
 * @param rowSpan   the row span or grid height
 * @param colAlign  horizontal component alignment
 * @param rowAlign  vertical component alignment
 * @return a reference to the builder
 * @throws IllegalArgumentException if an alignment orientation is invalid
 */
public final T xywh(int col, int row, int colSpan, int rowSpan,
                             Alignment colAlign, Alignment rowAlign) {
    return at(CC.xywh(col, row, colSpan, rowSpan, colAlign, rowAlign));
}
 
开发者ID:JFormDesigner,项目名称:swing-jgoodies-forms,代码行数:23,代码来源:AbstractFormBuilder.java


示例13: rc

import com.jgoodies.forms.layout.CellConstraints.Alignment; //导入依赖的package包/类
/**
 * Sets the row and column origins; sets width and height to 1;
 * set horizontal and vertical alignment using the specified objects.<p>
 *
 * <strong>Examples:</strong><pre>
 * .add(aComponent).rc(3, 1, CellConstraints.BOTTOM, CellConstraints.LEFT);
 * .add(aComponent).rc(3, 1, CellConstraints.FILL,   CellConstraints.CENTER);
 * </pre>
 *
 * @param row       the row index
 * @param col       the column index
 * @param rowAlign  vertical component alignment
 * @param colAlign  horizontal component alignment
 * @return a reference to the builder
 */
public final T rc(int row, int col,
                          Alignment rowAlign, Alignment colAlign) {
    return at(CC.rc(row, col, rowAlign, colAlign));
}
 
开发者ID:JFormDesigner,项目名称:swing-jgoodies-forms,代码行数:20,代码来源:AbstractFormBuilder.java


示例14: rcw

import com.jgoodies.forms.layout.CellConstraints.Alignment; //导入依赖的package包/类
/**
 * Sets the row, column, height, and width; sets the vertical
 * and horizontal alignment using the specified alignment objects.
 * The row span (height) is set to 1.<p>
 *
 * <strong>Examples:</strong><pre>
 * .add(aComponent).rcw(3, 1, 2, CellConstraints.BOTTOM, CellConstraints.LEFT);
 * .add(aComponent).rcw(3, 1, 7, CellConstraints.FILL,   CellConstraints.CENTER);
 * </pre>
 *
 * @param row       the row index
 * @param col       the column index
 * @param colSpan   the column span or grid width
 * @param rowAlign  vertical component alignment
 * @param colAlign  horizontal component alignment
 * @return a reference to the builder
 *
 * @throws IllegalArgumentException if an alignment orientation is invalid
 */
public final T rcw(int row, int col, int colSpan,
                             Alignment rowAlign, Alignment colAlign) {
    return at(CC.rcw(row, col, colSpan, rowAlign, colAlign));
}
 
开发者ID:JFormDesigner,项目名称:swing-jgoodies-forms,代码行数:24,代码来源:AbstractFormBuilder.java


示例15: rchw

import com.jgoodies.forms.layout.CellConstraints.Alignment; //导入依赖的package包/类
/**
 * Sets the row, column, height, and width; sets the vertical and
 * horizontal alignment using the specified alignment objects.<p>
 *
 * <strong>Examples:</strong><pre>
 * .add(aComponent).rchw(3, 1, 1, 2, CellConstraints.BOTTOM, CellConstraints.LEFT);
 * .add(aComponent).rchw(3, 1, 3, 7, CellConstraints.FILL,   CellConstraints.CENTER);
 * </pre>
 *
 * @param row       the row index
 * @param col       the column index
 * @param rowSpan   the row span or grid height
 * @param colSpan   the column span or grid width
 * @param rowAlign  vertical component alignment
 * @param colAlign  horizontal component alignment
 * @return a reference to the builder
 *
 * @throws IllegalArgumentException if an alignment orientation is invalid
 */
public final T rchw(int row, int col, int rowSpan, int colSpan,
                             Alignment rowAlign, Alignment colAlign) {
    return at(CC.rchw(col, row, rowSpan, colSpan, colAlign, rowAlign));
}
 
开发者ID:JFormDesigner,项目名称:swing-jgoodies-forms,代码行数:24,代码来源:AbstractFormBuilder.java



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java SmartBarUtils类代码示例发布时间:2022-05-16
下一篇:
Java ExpandableLinearLayout类代码示例发布时间:2022-05-16
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap