|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.idv.ui.ContourInfoDialog
public class ContourInfoDialog
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.
| Constructor Summary | |
|---|---|
ContourInfoDialog(String title,
boolean showApplyBtn)
Construct the widget. |
|
ContourInfoDialog(String title,
boolean showApplyBtn,
Unit unit)
Construct the widget. |
|
ContourInfoDialog(String title,
boolean showApplyBtn,
Unit unit,
boolean doDialog)
ctor |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent evt)
Show the dialog box and wait for results and deal with them (ok or cancel). |
protected boolean |
doApply()
Apply the state to the display |
JComponent |
getContents()
get the gui contents |
ContourInfo |
getInfo()
Get the info |
void |
setState(ContourInfo transfer)
Show the dialog box and wait for results and deal with them. |
boolean |
showDialog(ContourInfo transfer)
Show the dialog box and wait for results and deal with them. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContourInfoDialog(String title,
boolean showApplyBtn)
title - title for frameshowApplyBtn - Should we show the apply button
public ContourInfoDialog(String title,
boolean showApplyBtn,
Unit unit)
title - title for frameshowApplyBtn - Should we show the apply buttonunit - Unit to show. May be null.
public ContourInfoDialog(String title,
boolean showApplyBtn,
Unit unit,
boolean doDialog)
title - title for frameshowApplyBtn - Should we show the apply buttonunit - Unit to show. May be null.doDialog - show as dialog| Method Detail |
|---|
public JComponent getContents()
protected boolean doApply()
public void actionPerformed(ActionEvent evt)
actionPerformed in interface ActionListenerevt - ActionEventpublic boolean showDialog(ContourInfo transfer)
transfer - a ContourInfo data object to transfer all values
public void setState(ContourInfo transfer)
transfer - a ContourInfo data object to transfer all valuespublic ContourInfo getInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||