net.sourceforge.wohenchan.convert
Class ConverterEvent
java.lang.Object
|
+--net.sourceforge.wohenchan.convert.ConverterEvent
- public class ConverterEvent
- extends java.lang.Object
This is the encapsulation of an event from a running search.
Possible events are:
- Search done
- Updated Progress for a progress meter
- New subtask started
- Result (entry) has been found
- Status message
The different events are encapsulated with the
ConverterEvent.EventType class.
- Version:
- $Name: $ $Date: 2003/06/22 07:46:39 $
- Author:
- $Author: wtanaka $
- See Also:
ConverterListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_type
private ConverterEvent.EventType m_type
m_result
private ConverterEntryInterface m_result
m_statusMessage
private java.lang.String m_statusMessage
m_taskName
private java.lang.String m_taskName
m_progress
private int m_progress
ConverterEvent
public ConverterEvent(ConverterEvent.EventType type,
ConverterEntryInterface result,
java.lang.String status,
java.lang.String taskName,
int progress)
- Constructor.
getEventType
public ConverterEvent.EventType getEventType()
getEntry
public ConverterEntryInterface getEntry()
getStatusMessage
public java.lang.String getStatusMessage()
getProgress
public int getProgress()
getTask
public java.lang.String getTask()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object