package smart_gs.image_search.normal.swingui;

import java.awt.Image;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.List;

import smart_gs.image_search.logical.SearchResult;
import smart_gs.transcription_tool.TranscriptionToolNo1;

public class TranscriptionToolNo1Listner implements ActionListener {
	TranscriptionToolNo1Frame transcriptionToolNo1Frame;
	List<SearchResult> results;
	Image queryImage;
	
	public TranscriptionToolNo1Listner(TranscriptionToolNo1Frame transcriptionToolNo1Frame,
			List<SearchResult> results, Image queryImage) {
		this.transcriptionToolNo1Frame = transcriptionToolNo1Frame;
		this.results = results;
		this.queryImage = queryImage;
	}

	@Override
	public void actionPerformed(ActionEvent arg0) {
		TranscriptionToolNo1.aid(this.transcriptionToolNo1Frame,this.results,this.queryImage);		
	}

}
