Summary
Widgets and toolbars provide an easy way to add pre-built functionality to your application without having to write a lot of code. The wide array of available widgets has grown throughout the various releases of the API and it is expected that many new widgets will be available in future releases. Toolbars, though similar to widgets, are helper classes that provide the functionality you need to add navigation, drawing functionality, and editing tools to your application. However, it is up to you to define the appearance of your tools and how your users interact with them.
We'll cover specific widgets in greater detail in the forthcoming chapters.
In the next chapter you will learn how to create spatial and attribute queries using the Query
and QueryTask
classes and, use a widget to display attribute data.