|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.ObjecticeCube.uhe.event.JulietTask
public class JulietTask
Uses a SwingWorker to perform time-consuming tasks in JulietEventGenerator such as generating the Interaction Matrix and running the propagating particle. These tasks are performed in a thred for the SWING-based GUI application. It also generates the message to indicate the progress of the invoked task for the ProgressBar in the SWING. This is a sort of "interface" class between SWING and JULIeT.
フィールドの概要 | |
---|---|
JulietEventGenerator |
generator
JULIeTGenerator. |
コンストラクタの概要 | |
---|---|
JulietTask(SwingRun swingRun)
|
メソッドの概要 | |
---|---|
void |
generate()
start the task to generate a particle. |
int |
getCurrent()
Called from ProgressBarDemo to find out how much has been done. |
int |
getLengthOfTask()
find out how much work needs to be done. |
java.lang.String |
getMessage()
Returns the most recent status message, or null if there is no current status message. |
boolean |
isDone()
Called from ProgressBarDemo to find out if the task has completed. |
boolean |
isPropagationDone()
Tell outside objects whether runEvent is done or not. |
void |
propagate()
start the task to run a particle. |
void |
setPropagationFlagToFalse()
|
void |
stop()
|
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public JulietEventGenerator generator
コンストラクタの詳細 |
---|
public JulietTask(SwingRun swingRun)
メソッドの詳細 |
---|
public void generate()
public void propagate()
public int getLengthOfTask()
public int getCurrent()
public void stop()
public boolean isDone()
public boolean isPropagationDone()
public void setPropagationFlagToFalse()
public java.lang.String getMessage()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |