public class ResolutionTableCellEditor extends DefaultCellEditor implements ActionListener
ConstraintViolationMessageTable
for
choosing a resolution for a violated constraint. The user can perform a
single click on the warning / error icon in the table and pick a resolution
from the drop-down list.DefaultCellEditor.EditorDelegate
clickCountToStart, delegate, editorComponent
changeEvent, listenerList
Constructor and Description |
---|
ResolutionTableCellEditor(LayerContainer lc)
Constructs a new cell editor.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent evt) |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCellEditorListener, removeCellEditorListener
public ResolutionTableCellEditor(LayerContainer lc)
lc
- the layer container where the selected resolution will be
appliedpublic Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent
in interface TableCellEditor
getTableCellEditorComponent
in class DefaultCellEditor
public void actionPerformed(ActionEvent evt)
actionPerformed
in interface ActionListener
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.