|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.idv.control.ColorScaleDialog
public class ColorScaleDialog
A JFrame widget to get color scale info from the user. The code to handle button events and actions is in the event Listeners appearing in the constructor.
| Constructor Summary | |
|---|---|
ColorScaleDialog(DisplayControlImpl displayControl,
String title,
ColorScaleInfo info,
boolean showDialog)
Construct the widget. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent evt)
Show the dialog box and wait for results and deal with them (ok or cancel). |
protected void |
dispose()
Dispose of the dialog |
protected boolean |
doApply()
Apply the state to the display |
JComponent |
getContents()
Get the main contents of the dialog |
ColorScaleInfo |
getInfo()
Get the info |
boolean |
getOk()
Was ok pressed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColorScaleDialog(DisplayControlImpl displayControl,
String title,
ColorScaleInfo info,
boolean showDialog)
displayControl - The displaytitle - title for frameinfo - the color scale infoshowDialog - true to show the dialog| Method Detail |
|---|
public JComponent getContents()
protected void dispose()
protected boolean doApply()
public void actionPerformed(ActionEvent evt)
actionPerformed in interface ActionListenerevt - ActionEventpublic ColorScaleInfo getInfo()
public boolean getOk()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||