package iDSS.gridDisp;

/*
 * @(#)AboutAction.java	1.1 00/03/30, renamed ZoomOutAction.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 ZoomOutAction extends JLFAbstractAction {
    
    private static final String ACTION_COMMAND_KEY_ZOOMOUT = "zoomout-command";
    private static final String NAME_ZOOMOUT = "Zoom out...";
    private static final String SMALL_ICON_ZOOMOUT = "ZoomOut16.gif";
    private static final String LARGE_ICON_ZOOMOUT = "ZoomOut24.gif";
    private static final String SHORT_DESCRIPTION_ZOOMOUT = "Zoom out";
    private static final String LONG_DESCRIPTION_ZOOMOUT = "Zoom out on the specified rectangle";
    private static final int MNEMONIC_KEY_ZOOMOUT = 'O';
    
    /**
     * ctor
     */
    public ZoomOutAction() {
        putValue(Action.NAME, NAME_ZOOMOUT);
        putValue(Action.SMALL_ICON, getIcon(SMALL_ICON_ZOOMOUT));
        putValue(LARGE_ICON, getIcon(LARGE_ICON_ZOOMOUT));
        putValue(Action.SHORT_DESCRIPTION, SHORT_DESCRIPTION_ZOOMOUT);
        putValue(Action.LONG_DESCRIPTION, LONG_DESCRIPTION_ZOOMOUT);
        putValue(Action.MNEMONIC_KEY, new Integer(MNEMONIC_KEY_ZOOMOUT));
        putValue(Action.ACTION_COMMAND_KEY, ACTION_COMMAND_KEY_ZOOMOUT);
    }

}
