public class SelectRangeWidget extends ControlWidget
| Constructor and Description |
|---|
SelectRangeWidget(DisplayControlImpl control,
Range range)
Construct a SelectRangeWidget
|
SelectRangeWidget(DisplayControlImpl control,
Range range,
java.lang.String dialogTitle)
Construct a SelectRangeWidget
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
Method public due to ActionListener implementation
|
void |
doRemove()
Called to remove this from the display.
|
void |
fillList(java.util.List l,
int columns)
Fill a list of components
|
javax.swing.JLabel |
getLabel()
Get the label for this widget.
|
Range |
getRangeFromColorTable()
Get the range from the color table
|
boolean |
getSelectRangeEnabled()
Are we enabled
|
void |
setRange(Range r)
Set the range information for this widget.
|
void |
setSelectRangeEnabled(boolean v)
Set enabled
|
void |
showChangeRangeDialog()
Show the dialog
|
fillList, fillList, getDisplayControl, getDisplayConventions, logException, userMessagepublic SelectRangeWidget(DisplayControlImpl control, Range range)
control - the associate controlrange - The initial rangepublic SelectRangeWidget(DisplayControlImpl control, Range range, java.lang.String dialogTitle)
control - the associate controlrange - The initial rangedialogTitle - Dialog titlepublic void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class ControlWidgetae - action eventpublic void showChangeRangeDialog()
public void setRange(Range r)
r - new Rangepublic javax.swing.JLabel getLabel()
public void fillList(java.util.List l,
int columns)
fillList in class ControlWidgetl - list of widgetscolumns - number of columns for layoutpublic boolean getSelectRangeEnabled()
public void setSelectRangeEnabled(boolean v)
v - is enabledpublic Range getRangeFromColorTable()
public void doRemove()
doRemove in interface RemovabledoRemove in class ControlWidget