public class CriticalPathEvent extends EventObject
CriticalPathEvent
is fired to indicate the progress of a critical
path computation.CriticalPathListener
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
COMPLETED
The value of 100, which indicates a complete critical path computation.
|
source
Constructor and Description |
---|
CriticalPathEvent(IlvGanttModel model,
int percentComplete)
Creates a new
CriticalPathEvent . |
Modifier and Type | Method and Description |
---|---|
IlvGanttModel |
getGanttModel()
Returns the Gantt model that is having it critical path computed.
|
int |
getPercentageComplete()
Returns the current completion percentage during computation of the critical path.
|
boolean |
isFinished()
Returns
true if this event is the final event at the end
of the critical path computation, and false otherwise. |
boolean |
isStarted()
Returns
true if this event is the first event at the beginning
of the critical path computation, and false otherwise. |
getSource, toString
public static final int COMPLETED
public CriticalPathEvent(IlvGanttModel model, int percentComplete)
CriticalPathEvent
.model
- The Gantt model that is having it critical path computed.percentComplete
- The completion percentage of the critical path computation.public IlvGanttModel getGanttModel()
public int getPercentageComplete()
0
at the beginning of the computation and
reaches 100
at the end of the computation.public boolean isStarted()
true
if this event is the first event at the beginning
of the critical path computation, and false
otherwise.public boolean isFinished()
true
if this event is the final event at the end
of the critical path computation, and false
otherwise.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.