edu.stanford.smi.protegex.owl.ui.components.annotations
Class AnnotationsValueRenderer
java.lang.Object
edu.stanford.smi.protegex.owl.ui.components.annotations.AnnotationsValueRenderer
- All Implemented Interfaces:
- TableCellRenderer
- public class AnnotationsValueRenderer
- extends Object
- implements TableCellRenderer
User: matthewhorridge
The University Of Manchester
Medical Informatics Group
Date: Sep 7, 2005
matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
textArea
private JTextArea textArea
label
private JLabel label
langLabel
private JLabel langLabel
EXTRA_SPACING
public static final int EXTRA_SPACING
- See Also:
- Constant Field Values
resourceHolder
private AnnotationsTableCellHolder resourceHolder
plainTextPropertyValHolder
private AnnotationsTableCellHolder plainTextPropertyValHolder
langHolder
private AnnotationsTableCellHolder langHolder
AnnotationsValueRenderer
public AnnotationsValueRenderer()
getTableCellRendererComponent
public Component getTableCellRendererComponent(JTable table,
Object o,
boolean selected,
boolean hasFocus,
int row,
int col)
- Specified by:
getTableCellRendererComponent
in interface TableCellRenderer
getResourceComponent
private JComponent getResourceComponent(RDFResource resource,
boolean selected,
boolean focused)
getRowHeight
private int getRowHeight(JTable table,
int row)