public class ColorScaleDialog
extends java.lang.Object
implements java.awt.event.ActionListener
Constructor and Description |
---|
ColorScaleDialog(DisplayControlImpl displayControl,
java.lang.String title,
ColorScaleInfo info,
boolean showDialog)
Construct the widget.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.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
|
javax.swing.JComponent |
getContents()
Get the main contents of the dialog
|
ColorScaleInfo |
getInfo()
Get the info
|
boolean |
getOk()
Was ok pressed
|
public ColorScaleDialog(DisplayControlImpl displayControl, java.lang.String title, ColorScaleInfo info, boolean showDialog)
displayControl
- The displaytitle
- title for frameinfo
- the color scale infoshowDialog
- true to show the dialogpublic javax.swing.JComponent getContents()
protected void dispose()
protected boolean doApply()
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed
in interface java.awt.event.ActionListener
evt
- ActionEventpublic ColorScaleInfo getInfo()
public boolean getOk()