SECLNRelative Class

class SECLNRelative: public SECLayoutNode

Implements the relative layout algorithm

Defined in: RELATIVE.H

See Also

SECLNRelativeConstraint

Class Members

Operations

virtual BOOL  SetConstraint(SECLayoutNode* pNodeFrom, SECLNRelativeConstraint::ConstraintType constraintFrom, SECLayoutNode* pNodeTo, SECLNRelativeConstraint::ConstraintType constraintTo=REL_DEFAULT, int nModifier=0,float fModifier=1.0)

Set relative constraint

virtual BOOL  SetConstraint(SECLayoutNode* pNodeFrom, SECLNRelativeConstraint::ConstraintType constraintFrom, int nValue)

Set relative constraint

virtual BOOL  SetConstraint(SECLNRelativeConstraint* pConstraint)

Set relative constraint

virtual BOOL  RemoveConstraint(SECLayoutNode* pNodeFrom, SECLNRelativeConstraint::ConstraintType constraint)

Remove relative constraint

virtual BOOL  RemoveConstraint(SECLNRelativeConstraint* pConstraint)

Remove relative constraint

virtual BOOL  RemoveAllConstraints()

Remove all relative constraints