jslayoutmanager.java
来自「Java自定义窗体JsFrame。简介见:http://jason0086.sp」· Java 代码 · 共 32 行
JAVA
32 行
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 + =
减小字号Ctrl + -
显示快捷键?