Class ThreadNotification
- java.lang.Object
-
- org.teichert.databaseexplorer.beans.ThreadNotification
-
public class ThreadNotification extends Object
This class holds inforation about a currently running thread which will be shown in the UI.
It will be handled byThreadController.getInstance()
via listener.
-
-
Constructor Summary
Constructors Constructor Description ThreadNotification(Thread executor, ThreadNotificationType type, double value)
ThreadNotification(Thread executor, ThreadNotificationType type, String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Thread
getExecutor()
String
getText()
ThreadNotificationType
getType()
double
getValue()
void
setText(String name)
void
setValue(double value)
-
-
-
Constructor Detail
-
ThreadNotification
public ThreadNotification(Thread executor, ThreadNotificationType type, String text)
-
ThreadNotification
public ThreadNotification(Thread executor, ThreadNotificationType type, double value)
-
-
Method Detail
-
getExecutor
public Thread getExecutor()
-
getType
public ThreadNotificationType getType()
-
getValue
public double getValue()
-
setValue
public void setValue(double value)
-
getText
public String getText()
-
setText
public void setText(String name)
-
-