public class IlvConstraintGraphicLayerPolicy extends Object
IlvConstraintGraphicLayerPolicy
implements the default management of
constraint graphics
within the IlvGanttSheet
.Constructor and Description |
---|
IlvConstraintGraphicLayerPolicy(IlvGanttSheet ganttSheet)
Builds an
IlvConstraintGraphicLayerPolicy . |
Modifier and Type | Method and Description |
---|---|
void |
addConstraintGraphic(IlvConstraintGraphic graphic)
Adds an
IlvConstraintGraphic object to the IlvGanttSheet . |
protected IlvGanttSheet |
getGanttSheet()
Returns the Gantt sheet.
|
void |
removeAllConstraintGraphics()
Removes all
IlvConstraintGraphic objects from the IlvGanttSheet . |
void |
updateConstraintGraphic(IlvConstraintGraphic graphic,
ConstraintPropertyEvent evt)
Called when an
IlvConstraintGraphic object has been updated. |
public IlvConstraintGraphicLayerPolicy(IlvGanttSheet ganttSheet)
IlvConstraintGraphicLayerPolicy
.ganttSheet
- The Gantt sheet.protected IlvGanttSheet getGanttSheet()
public void addConstraintGraphic(IlvConstraintGraphic graphic)
IlvConstraintGraphic
object to the IlvGanttSheet
.graphic
- The IlvConstraintGraphic
.public void updateConstraintGraphic(IlvConstraintGraphic graphic, ConstraintPropertyEvent evt)
IlvConstraintGraphic
object has been updated.graphic
- The IlvConstraintGraphic
.evt
- The event triggering the update.public void removeAllConstraintGraphics()
IlvConstraintGraphic
objects from the IlvGanttSheet
.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.