public class PlanViewControl.VerticalRangeWidget extends ControlWidget
Constructor and Description |
---|
VerticalRangeWidget(PlanViewControl control,
Range range)
Construct a VerticalRangeWidget
|
VerticalRangeWidget(PlanViewControl control,
Range range,
java.lang.String dialogTitle)
Construct a VerticalRangeWidget
|
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 |
getRange()
Get the range information for this widget.
|
Range |
getRangeFromColorTable()
Get the range from the color table
|
void |
setRange(Range r)
Set the range information for this widget.
|
void |
showChangeRangeDialog()
Show the dialog
|
fillList, fillList, getDisplayControl, getDisplayConventions, logException, userMessage
public VerticalRangeWidget(PlanViewControl control, Range range)
control
- the associate controlrange
- The initial rangepublic VerticalRangeWidget(PlanViewControl 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.ActionListener
actionPerformed
in class ControlWidget
ae
- action eventpublic void showChangeRangeDialog()
public Range getRange()
public void setRange(Range r)
r
- new Rangepublic javax.swing.JLabel getLabel()
public void fillList(java.util.List l, int columns)
fillList
in class ControlWidget
l
- list of widgetscolumns
- number of columns for layoutpublic Range getRangeFromColorTable()
public void doRemove()
doRemove
in interface Removable
doRemove
in class ControlWidget