Package net.simplace.pipe.progress
Class FWProgressTaskEvent
java.lang.Object
net.simplace.pipe.progress.FWProgressTaskEvent
- Author:
- Andreas Enders
-
Constructor Summary
ConstructorsConstructorDescriptionFWProgressTaskEvent(FWProgressTask aTaskObject, JPanel aSourcePanel) FWProgressTaskEvent(FWProgressTask aTaskObject, JPanel aSourcePanel, FWObservable aObservable) -
Method Summary
Modifier and TypeMethodDescriptionintintgetState()booleanvoidsetSourcePanel(JPanel aSourcePanel) toString()
-
Constructor Details
-
FWProgressTaskEvent
public FWProgressTaskEvent(FWProgressTask aTaskObject, JPanel aSourcePanel, FWObservable aObservable) - Parameters:
aTaskObject-aSourcePanel-aObservable-
-
FWProgressTaskEvent
- Parameters:
aTaskObject-aSourcePanel-
-
-
Method Details
-
isState
- Parameters:
aProgressState-- Returns:
- true if the type of this object is the same type as the passed one
-
getProgressTask
- Returns:
- containing progressTask
-
getState
- Returns:
- state of progressTask
-
getPercentOfTaskDone
public int getPercentOfTaskDone()- Returns:
- state of progressTask
-
toString
-
getNumberOfTask
public int getNumberOfTask()- Returns:
- number of task that was performed
-
getSourcePanel
- Returns:
- the sourcePanel
-
setSourcePanel
- Parameters:
aSourcePanel- the sourcePanel to set
-
getObservable
- Returns:
- the sourcePanel
-