ucar.unidata.idv.control
Class VerticalProfileControl.SamplingEditor
java.lang.Object
javax.swing.AbstractCellEditor
javax.swing.DefaultCellEditor
ucar.unidata.idv.control.VerticalProfileControl.SamplingEditor
- All Implemented Interfaces:
- Serializable, CellEditor, TableCellEditor, TreeCellEditor
- Enclosing class:
- VerticalProfileControl
public class VerticalProfileControl.SamplingEditor
- extends DefaultCellEditor
If user clicks on the "sampling" column, a popup menu appears
with choices for the grid value sampling method.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VerticalProfileControl.SamplingEditor
public VerticalProfileControl.SamplingEditor()
- The sampling mode editor
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int rowIndex,
int vColIndex)
- Get the component for editing the sampling methods
- Specified by:
getTableCellEditorComponent in interface TableCellEditor- Overrides:
getTableCellEditorComponent in class DefaultCellEditor
- Parameters:
table - the JTablevalue - the valueisSelected - flag for selectionrowIndex - row indexvColIndex - column index.
- Returns:
- the editing component