public class VariableOWLCellRenderer extends org.protege.editor.owl.ui.renderer.OWLCellRenderer implements ListCellRenderer
| Constructor and Description |
|---|
VariableOWLCellRenderer(org.protege.editor.owl.OWLEditorKit owlEditorKit,
ConstraintSystem constraintSystem,
org.protege.editor.owl.ui.renderer.OWLCellRenderer defaultRenderer)
Builds a an instance of this VariableOWLCellRenderer from a constraint
system and a default renderer for non variable OWLObject instances.
|
| Modifier and Type | Method and Description |
|---|---|
ConstraintSystem |
getConstraintSystem() |
Component |
getListCellRendererComponent(JList list,
Object value,
int index,
boolean isSelected,
boolean cellHasFocus) |
org.protege.editor.owl.OWLEditorKit |
getOWLEditorKit() |
String |
getRendering(Object object) |
activeOntologyContainsAxioms, addBoxedName, getColor, getFontSize, getIcon, getPreferredWidth, getRightMargin, getTableCellRendererComponent, getTreeCellRendererComponent, highlightText, isBoxedName, isRenderExpression, isRenderIcon, isWrap, renderToken, reset, setCommentedOut, setCrossedOutEntities, setEquivalentObjects, setFocusedEntity, setForceReadOnlyRendering, setHighlightKeywords, setHighlightUnsatisfiableClasses, setHighlightUnsatisfiableProperties, setIconObject, setInferred, setOntology, setOpaque, setPreferredWidth, setRightMargin, setStrikeThrough, setUnsatisfiableNames, setWrappublic VariableOWLCellRenderer(org.protege.editor.owl.OWLEditorKit owlEditorKit,
ConstraintSystem constraintSystem,
org.protege.editor.owl.ui.renderer.OWLCellRenderer defaultRenderer)
owlEditorKit - the OWLEditorKit. Cannot be null.constraintSystem - the ConstraintSystem for detecting variables. Cannot be
null.defaultRenderer - the fall-back renderer for non variable OWLObjects. Cannot be
null.IllegalArgumentException - when either of the inputs is null.public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
getListCellRendererComponent in interface ListCellRenderergetListCellRendererComponent in class org.protege.editor.owl.ui.renderer.OWLCellRendererpublic String getRendering(Object object)
getRendering in class org.protege.editor.owl.ui.renderer.OWLCellRendererpublic ConstraintSystem getConstraintSystem()
public org.protege.editor.owl.OWLEditorKit getOWLEditorKit()
Copyright © 2014 The University of Manchester. All Rights Reserved.