lineboxlayoutaction.java
来自「SWING的界面UI包 SWING的界面UI包」· Java 代码 · 共 29 行
JAVA
29 行
/*
* XBoxLayoutAction.java
*
* Created on 2007年5月5日, 上午11:12
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package dyno.swing.designer.beans.actions;
import dyno.swing.designer.beans.SwingDesigner;
import javax.swing.BoxLayout;
/**
*
* @author William Chen
*/
public class LINEBoxLayoutAction extends BaseBoxLayoutAction {
/** Creates a new instance of XBoxLayoutAction */
public LINEBoxLayoutAction(SwingDesigner designer){
super(designer);
putValue(NAME, getValue(NAME)+"[LINE_AXIS]");
}
protected int getAxis() {
return BoxLayout.LINE_AXIS;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?