?? abstractlnfaction.java
字號:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package dyno.swing.designer.beans.actions;import dyno.swing.designer.beans.SwingDesigner;import java.awt.event.ActionEvent;import javax.swing.LookAndFeel;/** * * @author William Chen */public abstract class AbstractLnfAction extends AbstractContextAction { private LookAndFeel lnf; public AbstractLnfAction(SwingDesigner designer, String name) { super(designer); putValue(NAME, name); } protected abstract LookAndFeel createLnf(); public void actionPerformed(ActionEvent e) { if(lnf==null) lnf=createLnf(); designer.setDesignLnf(lnf); designer.setRootComponent(designer.getRootComponent()); designer.repaint(); }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -