Package ucar.unidata.idv.control
Class ContLevelDialog
java.lang.Object
ucar.unidata.idv.ui.ContourInfoDialog
ucar.unidata.idv.control.ContLevelDialog
- All Implemented Interfaces:
ActionListener
,EventListener
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
ConstructorsConstructorDescriptionContLevelDialog
(DisplayControlImpl displayControl, String title, Unit unit) Construct the widget. -
Method Summary
Methods inherited from class ucar.unidata.idv.ui.ContourInfoDialog
actionPerformed, getContents, getContourFont, getInfo, getLabelPanel, getTextField, 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 Details
-
ContLevelDialog
Construct the widget. with interval, min, max entry boxes and ok and cancel buttons.- Parameters:
displayControl
- The displaytitle
- title for frameunit
- The unit to display
-
-
Method Details
-
doApply
public boolean doApply()Apply the state to the display- Overrides:
doApply
in classContourInfoDialog
- Returns:
- Was this successful
-