gate.gui
Class AnnotationEditDialog.FeaturesEditor
java.lang.Object
|
+--javax.swing.AbstractCellEditor
|
+--gate.gui.AnnotationEditDialog.FeaturesEditor
- All Implemented Interfaces:
- CellEditor, Serializable, TableCellEditor
- Enclosing class:
- AnnotationEditDialog
- class AnnotationEditDialog.FeaturesEditor
- 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)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
cb
JComboBox cb
tf
JTextField tf
AnnotationEditDialog.FeaturesEditor
public AnnotationEditDialog.FeaturesEditor()
- 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
- Overrides:
getCellEditorValue
in class AbstractCellEditor
- Returns:
- the object representing the value stored @ that cell