arcgissamples\scenario\—ArcObjects 10.4 Help for Java | ArcGIS for Desktop
Engine Viewer
/* Copyright 2015 ESRI
* All rights reserved under the copyright laws of the United States
* and applicable international laws, treaties, and conventions.
* You may freely redistribute and use this sample code, with or
* without modification, provided you include the original copyright
* notice and use restrictions.
* See the use restrictions at <your ArcGIS install location>/DeveloperKit10.4/userestrictions.txt.
 * ArcGIS Engine Developer Sample
 * Application Name:

package arcgissamples.scenario;

/** Interface that defines Action ids and methods for performing actions
 * such as zoomin, zoomout, pan, identify..

public interface MapActions {

  //Open action
  public final static String OPEN_ACTION = "Open Mxd File";
  public final static String ZOOM_IN_ACTION = "ZoomIn";
  public final static String ZOOM_OUT_ACTION = "ZoomOut";
  public final static String PAN_ACTION = "Pan";
  public final static String IDENTIFY_ACTION = "Identify";

  /**Method for opening an mxd file
  public void openMxd();
   *Method for zoomin action
  public void zoomIn();
   * Performs zoomout action
  public void zoomOut();
  /**Performs pan action
  public void pan();

  /**Identify action
  public void identify();