gate.gui
Class SchemaAnnotationEditor.InnerFeaturesEditor
java.lang.Object
|
+--javax.swing.AbstractCellEditor
|
+--gate.gui.SchemaAnnotationEditor.InnerFeaturesEditor
- All Implemented Interfaces:
- CellEditor, Serializable, TableCellEditor
- Enclosing class:
- SchemaAnnotationEditor
- class SchemaAnnotationEditor.InnerFeaturesEditor
- extends AbstractCellEditor
- implements TableCellEditor
This inner class deals with the feature type being eddited. What it does
is to decide what GUI component to use (JComboBox, JTextField or JLabel)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cb
JComboBox cb
tf
JTextField tf
thisRow
int thisRow
thisColumn
int thisColumn
SchemaAnnotationEditor.InnerFeaturesEditor
public SchemaAnnotationEditor.InnerFeaturesEditor()
- Constructor
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
- The method overridden in order to implement behaviour
- Specified by:
getTableCellEditorComponent
in interface TableCellEditor
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interface CellEditor
- Returns:
- the object representing the value stored at that cell