gridbagconstraintsdefine.java

来自「打印管理程序,测试完全通过.windows开发环境.」· Java 代码 · 共 27 行

JAVA
27
字号
package jp.co.ntl.awt;

import java.awt.GridBagConstraints;
import java.awt.Insets;

public class GridBagConstraintsDefine extends GridBagConstraints {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public GridBagConstraintsDefine(int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int anchor, int fill, Insets insets, int ipadx, int ipady)
	{
		this.gridx		= gridx;
		this.gridy		= gridy;
		this.gridwidth	= gridwidth;
		this.gridheight	= gridheight;
		this.weightx	= weightx;
		this.weighty	= weighty;
		this.anchor		= anchor;
		this.fill		= fill;
		this.insets		= insets;
		this.ipadx		= ipadx;
		this.ipady		= ipady;
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?