net.sourceforge.wohenchan.convert
Class ConverterEvent.EventType

java.lang.Object
  |
  +--net.sourceforge.wohenchan.convert.ConverterEvent.EventType
Enclosing class:
ConverterEvent

public static class ConverterEvent.EventType
extends java.lang.Object


Field Summary
static ConverterEvent.EventType ENTRY_FOUND
          an entry has been found.
private  int m_type
           
static ConverterEvent.EventType PROGRESS_UPDATE
          this is an update to the percentage progress of the current task.
static ConverterEvent.EventType SEARCH_DONE
          Once this event happens, there should be no more events.
static ConverterEvent.EventType STATUS_MESSAGE
          a problem or unusual condition has occured.
static ConverterEvent.EventType TASK_CHANGE
          the current task has changed.
 
Constructor Summary
private ConverterEvent.EventType(int type)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEARCH_DONE

public static ConverterEvent.EventType SEARCH_DONE
Once this event happens, there should be no more events.


PROGRESS_UPDATE

public static ConverterEvent.EventType PROGRESS_UPDATE
this is an update to the percentage progress of the current task. Note that, as there may be more than one task involved in a search, that a return of 100 here does not mean SEARCH_DONE is immediately pending. there may be more tasks.


TASK_CHANGE

public static ConverterEvent.EventType TASK_CHANGE
the current task has changed. (e.g. "downloading unihan.txt", "searching", "parsing result page", etc.);


ENTRY_FOUND

public static ConverterEvent.EventType ENTRY_FOUND
an entry has been found.


STATUS_MESSAGE

public static ConverterEvent.EventType STATUS_MESSAGE
a problem or unusual condition has occured.


m_type

private int m_type
Constructor Detail

ConverterEvent.EventType

private ConverterEvent.EventType(int type)
Method Detail

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object