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

📄 jslayoutmanager.java

📁 Java自定义窗体JsFrame。简介见:http://jason0086.spaces.live.com/Blog/cns!A797D0C5C0C13C92!518.entry
💻 JAVA
字号:
package com.hfkj.jsframe.layout;

import java.awt.Component;
import java.awt.LayoutManager2;

/**
 * An extended version of <code>java.awt.LayoutManager2</code> that adds
 * some getter actions to it.
 * 
 * @version 1.0 01/05/09
 * @author Jason (MSN:www.jason0086.com@hotmail.com)
 */
public interface JsLayoutManager extends LayoutManager2 {
	
    /**
     * Returns the component from the layout, 
     * which is associated with the string specified by constraints.
     * @param constraints the location of the component in this layout
     * @return the component assiciated with the given constraints
     */
	public Component getLayoutComponent(Object constraints);
	
	/**
	 * Returns the constraints, 
	 * which associated with the given component.
	 * @param component the component laid in this layout
	 * @return the constraints indicating the location the given component in this layout
	 */
	public Object getConstraints(Component component);

}

⌨️ 快捷键说明

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