Package net.simplace.pipe.progress
Klasse FWProgressTask
java.lang.Object
net.simplace.pipe.progress.FWProgressTask
- Alle implementierten Schnittstellen:
Comparable<FWProgressTask>
- Autor:
- Andreas Enders, Sebastian Brocks, Martin Schmitz
A task that should be displayed in a
FWProgressViewPane
Changes:
- MS-01, 11.05.2009 (Martin Schmitz)
Tries to avoid memory incriminating object references. Instead of holding the whole Observable, on store its ID (for which the Observable is needed at all).
- MS-01, 11.05.2009 (Martin Schmitz)
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungclasssome static variables for the state of the task -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintget the imagelabel for this taskintintget the textlabel for this task may benullif this task doesn't need a textual descriptionbooleanvoidsetFixedLabel(String aFixedLabel) voidsetMessage(String aMessage) voidsetNumberInRange(int aNumberInRange) sets the number of the Task in the range of Tasks to be performedvoidsetStateOfTask(String aStatusOfTask, FWObservable aParameterMap) voidsetStateProgressing(int aPercentDone, String aMessage) toString()
-
Konstruktordetails
-
FWProgressTask
- Parameter:
aProgressID-aX-aY-aSystemID-aFixedLabel-
-
-
Methodendetails
-
getTextLabel
get the textlabel for this task may benullif this task doesn't need a textual description- Gibt zurück:
- the
JLabel
-
getImageLabel
get the imagelabel for this task- Gibt zurück:
- the
JLabel
-
getProgressID
- Gibt zurück:
- the iD
-
isImageUsed
public boolean isImageUsed()- Gibt zurück:
- the iD
-
getMessage
- Gibt zurück:
- the message of the Task
-
setMessage
- Parameter:
aMessage- the message to set
-
setFixedLabel
- Parameter:
aFixedLabel- the fixedLabel to set
-
setStateProgressing
- Parameter:
aPercentDone-aMessage-the- statusOfTask is set to progressing. percentDone (0-100).
-
getPercentDone
public int getPercentDone()- Gibt zurück:
- the percentDone (0-100)
-
getNumberInRange
public int getNumberInRange()- Gibt zurück:
- the number of the Task in the range of Tasks to be performed
-
setNumberInRange
public void setNumberInRange(int aNumberInRange) sets the number of the Task in the range of Tasks to be performed- Parameter:
aNumberInRange-
-
getStateOfTask
- Gibt zurück:
- the statusOfTask
-
setStateOfTask
- Parameter:
aStatusOfTask- the statusOfTask to set - use Variables in class StateaParameterMap-
-
getClonedTask
- Parameter:
aFixedLabel-- Gibt zurück:
- a clone of FWProgressTask
-
toString
-
compareTo
- Angegeben von:
compareToin SchnittstelleComparable<FWProgressTask>
-