?? jslayoutmanager.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 + -