public static class Activities.FilterActivityVisitor extends java.lang.Object implements Activities.IlvActivityVisitor<java.lang.Void>
Activities.IlvActivityVisitor
that builds a list of Filtered activities based
on the Activities.IFilter
instanceConstructor and Description |
---|
Activities.FilterActivityVisitor(Activities.IFilter<ilog.views.gantt.IlvActivity> filter) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ilog.views.gantt.IlvActivity> |
getActivities()
Returns the list of filtered activities or an empty list
|
void |
visit(ilog.views.gantt.IlvActivity item,
ilog.views.gantt.IlvGanttChart chart,
java.lang.Void state)
Visit an activity of the given chart and pass an instance of the 'state' as well.
|
public Activities.FilterActivityVisitor(Activities.IFilter<ilog.views.gantt.IlvActivity> filter)
public void visit(ilog.views.gantt.IlvActivity item, ilog.views.gantt.IlvGanttChart chart, java.lang.Void state)
Activities.IlvActivityVisitor
Void
type.visit
in interface Activities.IlvActivityVisitor<java.lang.Void>
item
- IlvActivity
to visitchart
- IlvGanttChart
that owns the itemstate
- optional stateful data that might be of interest to the visitorpublic java.util.List<ilog.views.gantt.IlvActivity> getActivities()