public class IlvSimpleConstraintFactory extends Object implements IlvConstraintFactory
IlvSimpleConstraint
objects.Constructor and Description |
---|
IlvSimpleConstraintFactory()
Creates an
IlvSimpleConstraint factory. |
Modifier and Type | Method and Description |
---|---|
IlvConstraint |
createConstraint(IlvActivity from,
IlvActivity to,
IlvConstraintType type)
Creates an
IlvSimpleConstraint object from the given parameters. |
public IlvSimpleConstraintFactory()
IlvSimpleConstraint
factory.public IlvConstraint createConstraint(IlvActivity from, IlvActivity to, IlvConstraintType type)
IlvSimpleConstraint
object from the given parameters.createConstraint
in interface IlvConstraintFactory
from
- The source activity of the constraint.to
- The destination activity of the constraint.type
- The type of the constraint.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.