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

OpenAction

public class OpenAction extends BackgroundAction

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


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

        executeBackgroundTask(frame.open(null));