package iDSS.gridDisp;

/*
 * @(#)AboutAction.java	1.1 00/03/30, renamed InfoAction.java on 00/07/12
 *
 * 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 InfoAction extends JLFAbstractAction {
    
    private static final String ACTION_COMMAND_KEY_INFO = "info-command";
    private static final String NAME_INFO = "Info...";
    private static final String SMALL_ICON_INFO = "Information16.gif";
    private static final String LARGE_ICON_INFO = "Information24.gif";
    private static final String SHORT_DESCRIPTION_INFO = "Info on the Grid";
    private static final String LONG_DESCRIPTION_INFO = "Provide information regarding the Grid";
    private static final int MNEMONIC_KEY_INFO = 'I';
    
    /**
     * ctor
     */
    public InfoAction() {
        putValue(Action.NAME, NAME_INFO);
        putValue(Action.SMALL_ICON, getIcon(SMALL_ICON_INFO));
        putValue(LARGE_ICON, getIcon(LARGE_ICON_INFO));
        putValue(Action.SHORT_DESCRIPTION, SHORT_DESCRIPTION_INFO);
        putValue(Action.LONG_DESCRIPTION, LONG_DESCRIPTION_INFO);
        putValue(Action.MNEMONIC_KEY, new Integer(MNEMONIC_KEY_INFO));
        putValue(Action.ACTION_COMMAND_KEY, ACTION_COMMAND_KEY_INFO);
    }

}
