Query Widget

The Query class in the ptolemy.gui package provides a very simple interface for creating on-screen controls for parameter values. The controls include entry boxes, check boxes, and sliders. Below is an example that includes one of each type of query that is supported. Such a combination of queries is not particularly attractive, and is rarely needed, but it illustrates the features.

</COMMENT> <BR><I>If you were able to run applets, you would have one here.</I> <BR>

Notice that if you change the values, the change is reported in the status bar of the browser. See the source code to see how to create a widget like this.

An instance of Query can be placed in a modal dialog using the ComponentDialog class.