metainfo.java

来自「RMI通讯」· Java 代码 · 共 78 行

JAVA
78
字号
/**
 * 
 */
package com.vanceinfo.socket.today;

import java.io.Serializable;

/**
 * @author 谷明亮
 * @description 窗体的属性信息
 */
public class MetaInfo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4792552283933413491L;
	public static String BORDERLAYOUT = "BorderLayout";
	public static String GRIDLAYOUT = "GridLayout";
	public static String GRIDBAGLAYOUT = "GridBagLayout";
	public static String FLOWLAYOUT = "FlowLayout";
	public static String CARDLAYOUT = "CardLayout";

	private String title;
	private int width;
	private int height;
	private boolean resizable;
	private String layout;

	public MetaInfo() {

	}

	public MetaInfo(String title) {
		this.title = title;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	public boolean isResizable() {
		return resizable;
	}

	public void setResizable(boolean resizable) {
		this.resizable = resizable;
	}

	public String getLayout() {
		return layout;
	}

	public void setLayout(String layout) {
		this.layout = layout;
	}
}

⌨️ 快捷键说明

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