Previous ION Java User's Guide: Overview of the ION Java Classes Next

Using the Component Classes

The ION Component classes have a number of common features. The contour, map, plot, and surface objects all allow you to set the data values, retrieve and set properties, and draw the object. See ION Java Class and Method Reference for a complete list of methods for each class.

Setting Values

The ION Graphics objects that include data all allow you to set the initial data values when you create the object. You can also reset the data values using the setXValue / setYValue / setZValue methods. The set methods enable you to change the value of the displayed data on the fly without re-creating the object in question.

Getting and Setting Properties

The contour, map, plot, and surface objects can all be modified by changing the value of a set of properties associated with the objects. The list of properties available for modification is a subset of the list of properties controlled by keywords to the corresponding IDL Direct Graphics routine (CONTOUR, MAP_SET, PLOT, or SURFACE). Consult the IDL Reference Guide for details about the settings for individual properties.

Drawing

With the exception of the IONGrConnection object, all of the ION component objects have a draw() method. Calling the draw() method on a given object causes it to be displayed in the associated drawing area.

  IDL Online Help (March 06, 2007)