|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.idv.control.RangeDialog
public class RangeDialog
A JFrame widget to get range info from the user. The code to handle button events and actions is in the event Listeners appearing in the constructor.
| Constructor Summary | |
|---|---|
RangeDialog(DisplayControlImpl displayControl,
Range r,
String title,
String setRangeMethod)
Construct the widget. |
|
RangeDialog(DisplayControlImpl displayControl,
Range r,
String title,
String setRangeMethod,
Component launcher)
Construct the widget. |
|
| Method Summary | |
|---|---|
protected void |
dispose()
Dispose of the dialog |
void |
doMakeDialog()
Change the range |
void |
logException(String message,
Exception exc)
Utility method to log an exception. |
void |
rangePopup()
Show the change range dialog |
void |
setRangeDialog(Range r)
Set the value in the min max fields in the range dialog |
void |
setRangeFromPopup(String cmd)
Set the range in the dialog |
void |
showDialog()
Show the dialog |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RangeDialog(DisplayControlImpl displayControl,
Range r,
String title,
String setRangeMethod)
displayControl - The displayr - the initial rangetitle - title for framesetRangeMethod - the method to call on the displaycontrol for change
public RangeDialog(DisplayControlImpl displayControl,
Range r,
String title,
String setRangeMethod,
Component launcher)
displayControl - The displayr - the initial rangetitle - title for framesetRangeMethod - the method to call on the displaycontrol for changelauncher - a component to place this near (can be null);| Method Detail |
|---|
public void doMakeDialog()
public void showDialog()
public void setRangeFromPopup(String cmd)
cmd - Which onepublic void setRangeDialog(Range r)
setRangeDialog in interface RangeWidgetr - The rangepublic void rangePopup()
public void logException(String message,
Exception exc)
message - The messageexc - The exceptionprotected void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||