public class ContourWidget extends ControlWidget
Constructor and Description |
---|
ContourWidget(DisplayControlImpl control,
ContourInfo contourInfo)
Construct a ContourWidget
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
Method public due to ActionListener implementation
|
void |
fillList(java.util.List l,
int columns)
Fill a list of components
|
javax.swing.JButton |
getButton()
Get the button for this widget.
|
javax.swing.JLabel |
getLabel()
Get the label for this widget.
|
void |
setContourInfo(ContourInfo ci)
Set the contour information for this widget and update the
labels.
|
void |
showContourPropertiesDialog()
Popup the contour properties dialog
|
doRemove, fillList, fillList, getDisplayControl, getDisplayConventions, logException, userMessage
public ContourWidget(DisplayControlImpl control, ContourInfo contourInfo)
control
- the associate controlcontourInfo
- the contour informationpublic void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class ControlWidget
ae
- action eventpublic void showContourPropertiesDialog()
public void setContourInfo(ContourInfo ci)
ci
- new contour informationpublic javax.swing.JButton getButton()
public 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 layout