⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 imapcompositioneventobserver.java

📁 esri的ArcGIS Server超级学习模板程序(for java)
💻 JAVA
字号:
package com.esri.solutions.jitk.web.tasks.mapcomp;

import java.util.EventListener;

/**
 * Observes events that occur during Map Composition operations.  A Map Composition
 * can be opened, saved, deleted, or created.  This interface provides callback methods in
 * order for an implementation to observe a specific Map Composition operation.  Each
 * callback method is passed a {@link MapCompositionEvent} object.  This allows the implementation
 * to get at important data from the operation.
 * 
 * <p>
 * An implementation of this interface
 * is created in order to execute some functionality after a Map Composition operation
 * occurred.
 * </p>
 */
public interface IMapCompositionEventObserver extends EventListener {

	/**
	 * Invoked after a Map Composition has been opened.  The Map Composition
	 * that was opened is accessible from the {@link MapCompositionEvent} argument.
	 * 
	 * <p>
	 * When this method is called the {@link MapCompositionEvent#getEventType()} should
	 * return MapCompositionEventType.OPENED.
	 * </p>
	 * 
	 * @param event  Contains event information.
	 */
	public void opened (MapCompositionEvent event);
	
	/**
	 * Invoked after a Map Composition has been saved.  The Map Composition that
	 * was saved is accessible from the {@link MapCompositionEvent} argument.
	 * 
	 * <p>
	 * When this method is called the {@link MapCompositionEvent#getEventType()} should
	 * return MapCompositionEventType.SAVED.
	 * </p>
	 * 
	 * @param event	Contains event information.
	 */
	public void saved (MapCompositionEvent event);
	
	/**
	 * Invoked after a Map Composition has been deleted.  The Map Composition that was
	 * deleted is accessible from the {@link MapCompositionEvent} argument.
	 * 
	 * <p>
	 * When this method is called the {@link MapCompositionEvent#getEventType()} should
	 * return MapCompositionEventType.DELETED.
	 * </p>
	 * 
	 * @param event  Contains event information.
	 */
	public void deleted (MapCompositionEvent event);
	
	/**
	 * Invoked after a Map Composition has been created.  The Map Composition that was created is
	 * accessible from the {@link MapCompositionEvent} argument.
	 * 
	 * <p>
	 * When this method is called the {@link MapCompositionEvent#getEventType()} should 
	 * return MapCompositionEventType.CREATED.
	 * </p>
	 * 
	 * @param event  Contains event information.
	 */
	public void created (MapCompositionEvent event);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -