Programming with JViews Maps > Introducing the Main Classes > Graphical User Interface Beans and Interactors

JViews Maps provides a number of Graphical User Interface (GUI) JavaBeans components that you can use to build your own application. These components are either Bean-like or interactor-like.

Bean-like components are the standard "bricks" from which the main application window should be composed. These components are ready to put into an Integrated Development Environment (IDE), which means that you can import and use them in any JavaBeans IDE compliant editor without writing a single line of code. The Beans included in the JViews Maps package provide the basic features with which to view and navigate through a map.

Interactor-like components are usually associated with action buttons on the toolbar and trigger an action when you interact with the view (for example, putting additional data on the map or creating additional Beans).

For more information about Beans and interactors, see Using the GUI Beans and Map GUI Interactors.

For more information about how to use the Beans in an IDE, see Creating a Simple Applet Using ILOG JViews Beans in The Essential JViews Framework.

The Beans and interactors are listed in Table 1.11.

Table 1.11 GUI Beans and Interactors
Package\Bean 
Class 
Description 
ilog.views.maps.beans 
Map Overview 
Displays an overview of a map in a manager view. 
Area of Interest Panel 
Displays selected areas of a map of particular interest, which you can select and redisplay. 
Scale Bar 
Displays the black and yellow scale bars below a manager view. 
Scale Control Bar 
Controls the numerical value of the map scale, for example: 1/100,000. 
Zoom Control Panel 
Displays a slider type zoom control in the Overview Panel. 
Legend Panel 
Displays a list of map elements and an explanation of what each element represents. 
Coordinate System Editor Panel 
Displays a panel for viewing and editing coordinate systems. 
Display Preferences Editor Panel 
Displays a panel for viewing and editing Bean preferences such as the scale bar and coordinate viewer. 
Coordinate Viewer 
Displays the mouse coordinates when the mouse is on top of a manager view displaying a map. 
Map Layer Tree Panel 
Displays a panel for editing a map layer tree. 
Data Source Tree 
Displays a set of data sources as a tree. 
Compass 
Displays a compass that shows the direction of the geographic or cartographic north of a map displayed in a manager view. 
Annotation toolbar 
Displays a toolbar which allows the creation of map annotations. 
Maps toolbar 
Displays a customizable toolbar for maps applications. 
ilog.views.swing 
Toolbar 
Displays a customizable toolbar to which buttons can be added. 
Multithread Monitor 
Displays the progress of managed, multiple threaded activities. 
ilog.views.maps.projection 
Alpha Property Editor 
Enables editing of layer transparency. 
Color Model Property Editor 
Displays a color model property editor. 
Percent Property Editor 
Controls the brightness, saturation, and contrast of a map. 
Latitude Editor 
Displays an editor for editing latitude values in degrees, minutes and seconds. 
Longitude Editor 
Displays an editor for editing longitude values in degrees, minutes and seconds. 
Coordinate Panel Factory 
Generates a GUI that enables selection of a rectangle or point on a map. 
ilog.views.maps.propertysheet 
Map Style Property Sheet 
Provides editing support for the map layer properties. 
ilog.views.maps.interactor 
Map Pan 
Drags the map around the manager view to the position required. 
Zoom Rectangle 
Zooms in on an area of a map contained within a rectangle drawn by the user. 
Manager View Rotate Interactor 
Enables interactive rotation of a view. 
Magnify Interactor 
Magnifies part of a manager view when the mouse is dragged over it. 
Continuous Zoom Interactor 
Zooms in and out continuously while the mouse is pressed. 
See Through Interactor 
See through some layers interactively. 
ilog.views.maps.measures 
Distance Measuring 
Displays a line drawn on a map. The line is the shortest path between 2 points on the surface of the earth (orthodromy).