📄 boxlayoutaction.java
字号:
/*
* DefaultBoxLayoutAction.java
*
* Created on 2007年5月5日, 上午11:20
*
* 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.Action;
/**
*
* @author William Chen
*/
public class BoxLayoutAction extends BaseBoxLayoutAction implements ActionCategory{
private Action[] subBoxLayoutActions;
public BoxLayoutAction(SwingDesigner designer){
super(designer);
subBoxLayoutActions= new Action[]{
new XBoxLayoutAction(designer) {
public String getDisplayName() {
return "Default BoxLayout";
}
}
, null, new XBoxLayoutAction(designer), new YBoxLayoutAction(designer),
new LINEBoxLayoutAction(designer), new PAGEBoxLayoutAction(designer)
};
}
public Action[] getSubActions() {
return subBoxLayoutActions;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -