?? viewaction.java
字號:
/* * EditingAction.java * * Created on 2007-9-9, 10:49:14 * * 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 dyno.swing.designer.beans.toolkit.ComponentPalette;import java.awt.event.ActionEvent;import javax.swing.AbstractAction;import javax.swing.Action;/** * * @author rehte */public class ViewAction extends AbstractAction implements ActionCategory{ protected SwingDesigner designer; protected Action[] subactions; public ViewAction(SwingDesigner designer, ComponentPalette palette){ this.designer = designer; putValue(NAME, "View"); subactions = new Action[]{ new PointerAction(designer, palette), new PreviewAction(designer), }; } public void actionPerformed(ActionEvent e) { } public Action[] getSubActions() { return subactions; }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -