public class IlvDefaultActivityRendererFactory extends Object implements IlvActivityRendererFactory
IlvGanttSheet
. This factory creates an
IlvActivitySummary
for parent activities, an
IlvActivityBar
for leaf activities and an
IlvActivitySymbol
for milestones.Constructor and Description |
---|
IlvDefaultActivityRendererFactory(IlvGanttConfiguration ganttConfig)
Creates an
IlvDefaultActivityRendererFactory for the
specified Gantt configuration. |
IlvDefaultActivityRendererFactory(IlvHierarchyChart chart)
Creates an
IlvDefaultActivityRendererFactory for the
specified chart. |
Modifier and Type | Method and Description |
---|---|
IlvActivityRenderer |
createActivityRenderer(IlvActivity activity)
Creates a renderer for the specified activity.
|
protected IlvGanttModel |
getGanttModel()
Returns the current Gantt model of the chart.
|
IlvActivityRenderer |
getLeafActivityRenderer()
Returns the activity renderer for leaf activities.
|
IlvActivityRenderer |
getMilestoneRenderer()
Returns the activity renderer for milestones.
|
IlvActivityRenderer |
getParentActivityRenderer()
Returns the activity renderer for parent activities.
|
void |
setLeafActivityRenderer(IlvActivityRenderer renderer)
Sets the activity renderer for leaf activities.
|
void |
setMilestoneRenderer(IlvActivityRenderer renderer)
Sets the activity renderer for milestones.
|
void |
setParentActivityRenderer(IlvActivityRenderer renderer)
Sets the activity renderer for parent activities.
|
public IlvDefaultActivityRendererFactory(IlvHierarchyChart chart)
IlvDefaultActivityRendererFactory
for the
specified chart.chart
- The chart.public IlvDefaultActivityRendererFactory(IlvGanttConfiguration ganttConfig)
IlvDefaultActivityRendererFactory
for the
specified Gantt configuration.ganttConfig
- The Gantt configuration.protected IlvGanttModel getGanttModel()
public IlvActivityRenderer createActivityRenderer(IlvActivity activity)
createActivityRenderer
in interface IlvActivityRendererFactory
activity
- the activity.IlvActivityBar
for a leaf activity, an
IlvActivitySummary
for a parent activity and an
IlvActivitySymbol
for a milestone.public IlvActivityRenderer getParentActivityRenderer()
setParentActivityRenderer(ilog.views.gantt.graphic.renderer.IlvActivityRenderer)
public void setParentActivityRenderer(IlvActivityRenderer renderer)
IlvActivitySummary
for parent
activities. You can call this method to change the activity renderer
for parent activities.renderer
- The new renderer for parent activities.getParentActivityRenderer()
public IlvActivityRenderer getLeafActivityRenderer()
setLeafActivityRenderer(ilog.views.gantt.graphic.renderer.IlvActivityRenderer)
public void setLeafActivityRenderer(IlvActivityRenderer renderer)
IlvActivityBar
for leaf activities. You
can call this method to change the activity renderer for leaf
activities.renderer
- The new renderer for leaf activities.getLeafActivityRenderer()
public IlvActivityRenderer getMilestoneRenderer()
setMilestoneRenderer(ilog.views.gantt.graphic.renderer.IlvActivityRenderer)
public void setMilestoneRenderer(IlvActivityRenderer renderer)
IlvActivitySymbol
for milestones. You can call
this method to change the activity renderer for milestones.renderer
- The new renderer for milestones.getMilestoneRenderer()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.