edu.upenn.cis.pdtb.graphics
Interface PDTBNodeSelectionListener

All Known Implementing Classes:
PTBCellRendererImpl, PTBPanel, WSJTextArea

public interface PDTBNodeSelectionListener

Listener which receives callbacks if a PDTBNode is selected. This is implemented by the PTBPanel and WSJTextArea to paint the highlights when a PDTBNode is selected. The callbacks are obtained from the TreeSelectionListenerImpl which listens on the JTree for selection events, synthesizes it into a high level event and notifies the PTBPanel and WSJTextArea. The PTBPanel and WSJTextArea register separate TreeSelectionListenerImpls on the JTree for the relations.

Author:
nikhild
See Also:
TreeSelectionListenerImpl

Method Summary
 void altLexRelationSelected(PDTBAltLexRelation rel)
           
 void arg1Selected(PDTBSup arg1)
           
 void arg2Selected(PDTBSup arg2)
           
 void entityRelationSelected(PDTBEntityRelation rel)
           
 void explicitRelationSelected(PDTBExplicitRelation rel)
           
 void implicitRelationSelected(PDTBImplicitRelation rel)
           
 void noRelationSelected(PDTBNoRelation rel)
           
 void sup1Selected(PDTBSup sup1)
           
 void sup2Selected(PDTBSup sup2)
           
 

Method Detail

implicitRelationSelected

public void implicitRelationSelected(PDTBImplicitRelation rel)

explicitRelationSelected

public void explicitRelationSelected(PDTBExplicitRelation rel)

altLexRelationSelected

public void altLexRelationSelected(PDTBAltLexRelation rel)

entityRelationSelected

public void entityRelationSelected(PDTBEntityRelation rel)

noRelationSelected

public void noRelationSelected(PDTBNoRelation rel)

arg1Selected

public void arg1Selected(PDTBSup arg1)

arg2Selected

public void arg2Selected(PDTBSup arg2)

sup1Selected

public void sup1Selected(PDTBSup sup1)

sup2Selected

public void sup2Selected(PDTBSup sup2)