C# 클래스 EarthquakeAddin.EarthquakeWidget

상속: System.Windows.Controls.UserControl, IWidget, IMapWidgetConsumer
파일 보기 프로젝트 열기: Esri/earthquakes-feed-opsdashboard-addin

Private Properties

프로퍼티 타입 설명
AddEarthquakesToMap void
FeedListBox_SelectionChanged void
GetMapAndAddEarthquakes void
_xmlData_DataChanged void

공개 메소드들

메소드 설명
Configure ( Window owner, IList dataSources ) : bool
EarthquakeWidget ( ) : System
OnActivated ( ) : void
OnDeactivated ( ) : void

비공개 메소드들

메소드 설명
AddEarthquakesToMap ( ) : void

Extracts earthquake information from the feed and turns this into a graphics layer in the map.

FeedListBox_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

Handler for when the feed list box selection changes.

GetMapAndAddEarthquakes ( ) : void

Gets the Map from a specific MapWidget that is identified by ID, accounting for widgets that may not yet be initialized by hooking an event handler and waiting for initialization of uninitialized maps. Once retrieved, add earthquakes to the map based on the currently selected feed.

_xmlData_DataChanged ( object sender, EventArgs e ) : void

Called when the feed has been read.

메소드 상세

Configure() 공개 메소드

public Configure ( Window owner, IList dataSources ) : bool
owner System.Windows.Window
dataSources IList
리턴 bool

EarthquakeWidget() 공개 메소드

public EarthquakeWidget ( ) : System
리턴 System

OnActivated() 공개 메소드

public OnActivated ( ) : void
리턴 void

OnDeactivated() 공개 메소드

public OnDeactivated ( ) : void
리턴 void