package iDSS.gridDisp;

/*
 * @(#)AboutAction.java	1.1 00/03/30
 *
 * Copyright 2000 by Sun Microsystems, Inc.,
 * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of Sun Microsystems, Inc. ("Confidential Information").  You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with Sun.
 */

import javax.swing.Action;

/**
 * Represents the About Action.
 *
 * @version 1.1 03/30/00
 * @author  Mark Davidson
 */
public class AboutAction extends JLFAbstractAction {
    
    private static final String ACTION_COMMAND_KEY_ABOUT = "about-command";
    private static final String NAME_ABOUT = "About...";
    private static final String SMALL_ICON_ABOUT = "About16.gif";
    private static final String LARGE_ICON_ABOUT = "About24.gif";
    private static final String SHORT_DESCRIPTION_ABOUT = "About the Application";
    private static final String LONG_DESCRIPTION_ABOUT = "Provide information regarding the application";
    private static final int MNEMONIC_KEY_ABOUT = 'A';
    
    /**
     * ctor
     */
    public AboutAction() {
        putValue(Action.NAME, NAME_ABOUT);
        putValue(Action.SMALL_ICON, getIcon(SMALL_ICON_ABOUT));
        putValue(LARGE_ICON, getIcon(LARGE_ICON_ABOUT));
        putValue(Action.SHORT_DESCRIPTION, SHORT_DESCRIPTION_ABOUT);
        putValue(Action.LONG_DESCRIPTION, LONG_DESCRIPTION_ABOUT);
        putValue(Action.MNEMONIC_KEY, new Integer(MNEMONIC_KEY_ABOUT));
        putValue(Action.ACTION_COMMAND_KEY, ACTION_COMMAND_KEY_ABOUT);
    }

}
