anl.aida.viz
Class KeywordTipper

java.lang.Object
  extended by anl.aida.viz.KeywordTipper
All Implemented Interfaces:
SelectionListener<anl.aida.core.DocumentID>

public class KeywordTipper
extends java.lang.Object
implements SelectionListener<anl.aida.core.DocumentID>

Displays a keyword tooltip for selected items.


Field Summary
private  int count
           
private  anl.aida.core.KeywordGenerator generator
           
 
Constructor Summary
KeywordTipper(anl.aida.core.KeywordGenerator generator, int count)
           
 
Method Summary
 void selectionOccurred(java.util.List<anl.aida.core.DocumentID> selectedItems, Canvas2D canvas)
          Called when the specified list of items has been selected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

generator

private anl.aida.core.KeywordGenerator generator

count

private int count
Constructor Detail

KeywordTipper

public KeywordTipper(anl.aida.core.KeywordGenerator generator,
                     int count)
Method Detail

selectionOccurred

public void selectionOccurred(java.util.List<anl.aida.core.DocumentID> selectedItems,
                              Canvas2D canvas)
Called when the specified list of items has been selected.

Specified by:
selectionOccurred in interface SelectionListener<anl.aida.core.DocumentID>
Parameters:
selectedItems - the selected items
canvas - the visualization canvas