edu.stanford.smi.protegex.owl.ui.components.annotations
Class AnnotationsValueEditor
java.lang.Object
javax.swing.AbstractCellEditor
edu.stanford.smi.protegex.owl.ui.components.annotations.AnnotationsValueEditor
- All Implemented Interfaces:
- CellEditor, Serializable, TableCellEditor
- public class AnnotationsValueEditor
- extends AbstractCellEditor
- implements TableCellEditor
User: matthewhorridge
The Univeristy Of Manchester
Medical Informatics Group
Date: Sep 7, 2005
matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
textArea
private JTextArea textArea
multiLineHolder
private AnnotationsTableCellHolder multiLineHolder
textField
private JTextField textField
singleLineHolder
private AnnotationsTableCellHolder singleLineHolder
textComponent
private JTextComponent textComponent
table
private JTable table
focusBorder
private Border focusBorder
EDITING_MARGIN
public static final int EDITING_MARGIN
- See Also:
- Constant Field Values
AnnotationsValueEditor
public AnnotationsValueEditor(OWLModel owlModel,
JTable t)
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interface CellEditor
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
- Specified by:
getTableCellEditorComponent
in interface TableCellEditor
focusTextField
private void focusTextField()
isCellEditable
public boolean isCellEditable(EventObject e)
- Specified by:
isCellEditable
in interface CellEditor
getRowHeight
private int getRowHeight(JTable table,
int row)