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:

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

Nested Class Summary
static class ConverterEvent.EventType
           
 
Field Summary
private  int m_progress
           
private  ConverterEntryInterface m_result
           
private  java.lang.String m_statusMessage
           
private  java.lang.String m_taskName
           
private  ConverterEvent.EventType m_type
           
 
Constructor Summary
ConverterEvent(ConverterEvent.EventType type, ConverterEntryInterface result, java.lang.String status, java.lang.String taskName, int progress)
          Constructor.
 
Method Summary
 ConverterEntryInterface getEntry()
           
 ConverterEvent.EventType getEventType()
           
 int getProgress()
           
 java.lang.String getStatusMessage()
           
 java.lang.String getTask()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

ConverterEvent

public ConverterEvent(ConverterEvent.EventType type,
                      ConverterEntryInterface result,
                      java.lang.String status,
                      java.lang.String taskName,
                      int progress)
Constructor.

Method Detail

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