FileDocCategorySizeDatePackage
SaveAction.javaAPI DocAndroid 1.5 API1481Wed May 06 22:41:10 BST 2009com.android.draw9patch.ui.action

SaveAction

public class SaveAction extends BackgroundAction

Fields Summary
public static final String
ACTION_NAME
private com.android.draw9patch.ui.MainFrame
frame
Constructors Summary
public SaveAction(com.android.draw9patch.ui.MainFrame frame)


       
        this.frame = frame;
        putValue(NAME, "Save 9-patch...");
        putValue(SHORT_DESCRIPTION, "Save...");
        putValue(LONG_DESCRIPTION, "Save 9-patch...");
        putValue(MNEMONIC_KEY, KeyEvent.VK_S);
        putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_S,
                Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
    
Methods Summary
public voidactionPerformed(java.awt.event.ActionEvent e)

        executeBackgroundTask(frame.save());