ucar.unidata.idv.control
Class ContLevelDialog

java.lang.Object
  extended by ucar.unidata.idv.ui.ContourInfoDialog
      extended by ucar.unidata.idv.control.ContLevelDialog
All Implemented Interfaces:
ActionListener, EventListener

public class ContLevelDialog
extends ContourInfoDialog
implements ActionListener

A JFrame widget to get contouring info from the user. The code to handle button events and actions is in the event Listeners appearing in the constructor.

Version:
$Revision: 1.35 $
Author:
Unidata Development Team

Constructor Summary
ContLevelDialog(DisplayControlImpl displayControl, String title, Unit unit)
          Construct the widget.
 
Method Summary
protected  boolean doApply()
          Apply the state to the display
 
Methods inherited from class ucar.unidata.idv.ui.ContourInfoDialog
actionPerformed, getContents, getInfo, setState, showDialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Constructor Detail

ContLevelDialog

public ContLevelDialog(DisplayControlImpl displayControl,
                       String title,
                       Unit unit)
Construct the widget. with interval, min, max entry boxes and ok and cancel buttons.

Parameters:
displayControl - The display
title - title for frame
unit - The unit to display
Method Detail

doApply

protected boolean doApply()
Apply the state to the display

Overrides:
doApply in class ContourInfoDialog
Returns:
Was this successful