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.EditorDelegateclickCountToStart, delegate, editorComponentchangeEvent, 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, stopCellEditingaddCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, removeCellEditorListenerpublic 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 TableCellEditorgetTableCellEditorComponent in class DefaultCellEditorpublic void actionPerformed(ActionEvent evt)
actionPerformed in interface ActionListenerCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.