gate.gui.docview
Class OntologyInstanceView.PropertyValueCellEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by gate.gui.docview.OntologyInstanceView.PropertyValueCellEditor
All Implemented Interfaces:
ActionListener, Serializable, EventListener, CellEditor, TableCellEditor
Enclosing class:
OntologyInstanceView

protected class OntologyInstanceView.PropertyValueCellEditor
extends AbstractCellEditor
implements TableCellEditor, ActionListener

See Also:
Serialized Form

Field Summary
private  Collator comparator
           
private  Pattern instanceLabelsPattern
           
private  Map<String,OInstance> nameInstanceMap
           
private  String oldValue
           
private  JComboBox valueComboBox
           
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
private OntologyInstanceView.PropertyValueCellEditor()
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
protected  void fireEditingStopped()
           
 Object getCellEditorValue()
           
 Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
           
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
 

Field Detail

valueComboBox

private JComboBox valueComboBox

comparator

private Collator comparator

oldValue

private String oldValue

nameInstanceMap

private Map<String,OInstance> nameInstanceMap

instanceLabelsPattern

private Pattern instanceLabelsPattern
Constructor Detail

OntologyInstanceView.PropertyValueCellEditor

private OntologyInstanceView.PropertyValueCellEditor()
Method Detail

getTableCellEditorComponent

public Component getTableCellEditorComponent(JTable table,
                                             Object value,
                                             boolean isSelected,
                                             int row,
                                             int column)
Specified by:
getTableCellEditorComponent in interface TableCellEditor

getCellEditorValue

public Object getCellEditorValue()
Specified by:
getCellEditorValue in interface CellEditor

fireEditingStopped

protected void fireEditingStopped()
Overrides:
fireEditingStopped in class AbstractCellEditor

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener