net.sourceforge.wohenchan
Class WoHenChanConverterListener

java.lang.Object
  |
  +--net.sourceforge.wohenchan.WoHenChanConverterListener
All Implemented Interfaces:
ConverterListener

public class WoHenChanConverterListener
extends java.lang.Object
implements ConverterListener

Helper class for WoHenChan default UI that This continues the hackish test UI that we currently have. User interface needs to be re-thought through.

Version:
$Name: $ $Date: 2003/09/08 20:55:56 $
Author:
$Author: wtanaka $

Field Summary
private  boolean m_aborted
           
private  java.util.Vector m_eventQueue
           
private  long m_lastYield
           
private  ProgressListener m_progresslistener
           
private  java.util.Vector m_queue
          Queue of Entry_FOUND results.
private  java.lang.Runnable m_queueDumpRunnable
           
private  long m_startTime
           
private  DictionaryPane m_ui
           
 
Constructor Summary
WoHenChanConverterListener(DictionaryPane ui, ProgressListener listener)
           
 
Method Summary
 void abort()
           
private  void addToQueue(ConverterEvent evt)
           
private  void dumpQueue()
           
 void handleConverterEvent(ConverterEvent evt)
           
private  java.util.Vector swapQueue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_queue

private java.util.Vector m_queue
Queue of Entry_FOUND results.


m_ui

private DictionaryPane m_ui

m_aborted

private volatile boolean m_aborted

m_eventQueue

private java.util.Vector m_eventQueue

m_progresslistener

private ProgressListener m_progresslistener

m_lastYield

private long m_lastYield

m_startTime

private long m_startTime

m_queueDumpRunnable

private java.lang.Runnable m_queueDumpRunnable
Constructor Detail

WoHenChanConverterListener

public WoHenChanConverterListener(DictionaryPane ui,
                                  ProgressListener listener)
Method Detail

abort

public void abort()

swapQueue

private java.util.Vector swapQueue()

dumpQueue

private void dumpQueue()

addToQueue

private void addToQueue(ConverterEvent evt)

handleConverterEvent

public void handleConverterEvent(ConverterEvent evt)
                          throws AbortSearchException
Specified by:
handleConverterEvent in interface ConverterListener
AbortSearchException