public static class IlvZoomToFitAction.RootActivityIntervalPolicy extends Object implements IlvZoomToFitAction.IntervalPolicy
RootActivityIntervalPolicy class determines the time interval of a
Gantt data model from its root activity. This works well for
instances of IlvSimpleActivity that have their setAutoCalcTimeIntervalFromChildren
flag set to true. In this case, the root activity's interval will be the
union of all its children.| Constructor and Description |
|---|
RootActivityIntervalPolicy()
Creates an
IlvZoomToFitAction.RootActivityIntervalPolicy object that
will calculate the time interval of a Gantt data model from
its root activity. |
| Modifier and Type | Method and Description |
|---|---|
IlvTimeInterval |
getInterval(IlvGanttModel ganttModel)
Returns the time interval of the specified Gantt data model.
|
public RootActivityIntervalPolicy()
IlvZoomToFitAction.RootActivityIntervalPolicy object that
will calculate the time interval of a Gantt data model from
its root activity. You can use this policy in an IlvZoomToFitAction by
calling its setIntervalPolicy method.public IlvTimeInterval getInterval(IlvGanttModel ganttModel)
null.getInterval in interface IlvZoomToFitAction.IntervalPolicyganttModel - The Gantt data model.IlvTimeInterval.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.