intarsys runtime library

de.intarsys.tools.reporter
Class ReportEvent

java.lang.Object
  extended by de.intarsys.tools.reporter.ReportEvent

public class ReportEvent
extends Object


Field Summary
static int TYPE_ACTIVITY_END
           
static int TYPE_ACTIVITY_START
           
static int TYPE_ERROR
           
static int TYPE_MESSAGE
           
static int TYPE_PROGRESS
           
static int TYPE_STATUS
           
 
Constructor Summary
ReportEvent(int type)
           
ReportEvent(int type, String message, int style)
           
ReportEvent(int type, String message, int percent, int style)
           
ReportEvent(int type, String title, String message, int style)
           
ReportEvent(int type, String title, String message, Throwable t, int style)
           
 
Method Summary
 Object getData()
           
 int getIndex()
           
 String getMessage()
           
 int getPercent()
           
 int getStyle()
           
 Thread getThread()
           
 Throwable getThrowable()
           
 String getTitle()
           
 int getType()
           
 boolean isTypeActivity()
           
 boolean isTypeError()
           
 boolean isTypeMessage()
           
 boolean isTypeProgress()
           
 boolean isTypeStatus()
           
 void setData(Object data)
           
 void setIndex(int index)
           
 void setMessage(String message)
           
 void setPercent(int pPercent)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_ACTIVITY_END

public static final int TYPE_ACTIVITY_END
See Also:
Constant Field Values

TYPE_ACTIVITY_START

public static final int TYPE_ACTIVITY_START
See Also:
Constant Field Values

TYPE_ERROR

public static final int TYPE_ERROR
See Also:
Constant Field Values

TYPE_MESSAGE

public static final int TYPE_MESSAGE
See Also:
Constant Field Values

TYPE_PROGRESS

public static final int TYPE_PROGRESS
See Also:
Constant Field Values

TYPE_STATUS

public static final int TYPE_STATUS
See Also:
Constant Field Values
Constructor Detail

ReportEvent

public ReportEvent(int type)

ReportEvent

public ReportEvent(int type,
                   String message,
                   int style)

ReportEvent

public ReportEvent(int type,
                   String message,
                   int percent,
                   int style)

ReportEvent

public ReportEvent(int type,
                   String title,
                   String message,
                   int style)

ReportEvent

public ReportEvent(int type,
                   String title,
                   String message,
                   Throwable t,
                   int style)
Method Detail

getData

public Object getData()

getIndex

public int getIndex()

getMessage

public String getMessage()

getPercent

public int getPercent()

getStyle

public int getStyle()

getThread

public Thread getThread()

getThrowable

public Throwable getThrowable()

getTitle

public String getTitle()

getType

public int getType()

isTypeActivity

public boolean isTypeActivity()

isTypeError

public boolean isTypeError()

isTypeMessage

public boolean isTypeMessage()

isTypeProgress

public boolean isTypeProgress()

isTypeStatus

public boolean isTypeStatus()

setData

public void setData(Object data)

setIndex

public void setIndex(int index)

setMessage

public void setMessage(String message)

setPercent

public void setPercent(int pPercent)

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.