Class JustificationFrameList

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JList
org.protege.editor.core.ui.list.MList
org.protege.editor.owl.ui.framelist.OWLFrameList<Explanation>
org.liveontologies.protege.explanation.justification.JustificationFrameList
All Implemented Interfaces:
DropTargetListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, Scrollable, AxiomSelectionListener, org.protege.editor.core.Disposable, org.protege.editor.core.ui.RefreshableComponent, org.protege.editor.owl.ui.action.ActionTarget, org.protege.editor.owl.ui.renderer.LinkedObjectComponent, org.protege.editor.owl.ui.view.Copyable, org.protege.editor.owl.ui.view.Cuttable, org.protege.editor.owl.ui.view.Deleteable, org.protege.editor.owl.ui.view.Pasteable

public class JustificationFrameList extends org.protege.editor.owl.ui.framelist.OWLFrameList<Explanation> implements AxiomSelectionListener, org.protege.editor.core.Disposable
Author: Matthew Horridge Stanford University Bio-Medical Informatics Research Group Date: 19/03/2012
See Also:
  • Constructor Details

  • Method Details

    • addJustification

      public void addJustification(PrioritizedJustification justification, int justificationNo)
    • setStatusString

      public void setStatusString(String value)
    • clear

      public void clear()
    • setAddJustificationsSectionVisibility

      public void setAddJustificationsSectionVisibility(boolean isVisible)
    • getAddJustificationsSectionVisibility

      public boolean getAddJustificationsSectionVisibility()
    • axiomAdded

      public void axiomAdded(AxiomSelectionModel source, org.semanticweb.owlapi.model.OWLAxiom axiom)
      Specified by:
      axiomAdded in interface AxiomSelectionListener
    • axiomRemoved

      public void axiomRemoved(AxiomSelectionModel source, org.semanticweb.owlapi.model.OWLAxiom axiom)
      Specified by:
      axiomRemoved in interface AxiomSelectionListener
    • paintComponent

      protected void paintComponent(Graphics g)
      Overrides:
      paintComponent in class org.protege.editor.core.ui.list.MList
    • getButtons

      protected List<org.protege.editor.core.ui.list.MListButton> getButtons(Object value)
      Overrides:
      getButtons in class org.protege.editor.owl.ui.framelist.OWLFrameList<Explanation>
    • addToPopupMenu

      public void addToPopupMenu(org.protege.editor.owl.ui.framelist.OWLFrameListPopupMenuAction<Explanation> justificationOWLFrameListPopupMenuAction)
      Overrides:
      addToPopupMenu in class org.protege.editor.owl.ui.framelist.OWLFrameList<Explanation>
    • getItemBackgroundColor

      protected Color getItemBackgroundColor(org.protege.editor.core.ui.list.MListItem item)
      Overrides:
      getItemBackgroundColor in class org.protege.editor.owl.ui.framelist.OWLFrameList<Explanation>
    • getListItemButtons

      protected List<org.protege.editor.core.ui.list.MListButton> getListItemButtons(org.protege.editor.core.ui.list.MListItem item)
      Overrides:
      getListItemButtons in class org.protege.editor.core.ui.list.MList
    • createListItemBorder

      protected Border createListItemBorder(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
      Overrides:
      createListItemBorder in class org.protege.editor.owl.ui.framelist.OWLFrameList<Explanation>
    • getToolTipText

      public String getToolTipText(MouseEvent event)
      Overrides:
      getToolTipText in class org.protege.editor.core.ui.list.MList