⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 borderdata.java

📁 自己建立的项目
💻 JAVA
字号:
package com.swtSample.layout;

/**
 * Each control controlled by a BorderLayout can have a BorderData attached to
 * it, which controls its placement on the layout. Notice that the constructor
 * is private; we don't want people creating new BorderData objects. We have the
 * entire set of possibilities in the public static constants.
 */
public class BorderData {
	/** North */
	public static final BorderData NORTH = new BorderData("North");

	/** South */
	public static final BorderData SOUTH = new BorderData("South");

	/** East */
	public static final BorderData EAST = new BorderData("East");

	/** West */
	public static final BorderData WEST = new BorderData("West");

	/** Center */
	public static final BorderData CENTER = new BorderData("Center");

	private String name;

	private BorderData(String name) {
		this.name = name;
	}
}

⌨️ 快捷键说明

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