Class Constraint
java.lang.Object
com.independentsoft.office.diagrams.Constraint
The Class Constraint.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the boolean operator.doubleGets the factor.Gets the for constraint.Gets the for name.Gets the point type.Gets the reference for.Gets the reference for name.Gets the reference point type.Gets the reference type.getType()Gets the type.doublegetValue()Gets the value.voidsetBooleanOperator(BooleanOperator booleanOperator)Sets the boolean operator.voidsetFactor(double factor)Sets the factor.voidsetForConstraint(ConstraintRelationship forConstraint)Sets the for constraint.voidsetForName(String forName)Sets the for name.voidsetPointType(ElementType pointType)Sets the point type.voidsetReferenceFor(ConstraintRelationship referenceFor)Sets the reference for.voidsetReferenceForName(String referenceForName)Sets the reference for name.voidsetReferencePointType(ElementType referencePointType)Sets the reference point type.voidsetReferenceType(ConstraintType referenceType)Sets the reference type.voidsetType(ConstraintType type)Sets the type.voidsetValue(double val)Sets the value.toString()
-
Constructor Details
-
Constraint
public Constraint()Instantiates a new constraint.
-
-
Method Details
-
clone
-
toString
-
getFactor
public double getFactor()Gets the factor.- Returns:
- the factor
-
setFactor
public void setFactor(double factor)Sets the factor.- Parameters:
factor- the new factor
-
getForConstraint
Gets the for constraint.- Returns:
- the for constraint
-
setForConstraint
Sets the for constraint.- Parameters:
forConstraint- the new for constraint
-
getForName
Gets the for name.- Returns:
- the for name
-
setForName
Sets the for name.- Parameters:
forName- the new for name
-
getBooleanOperator
Gets the boolean operator.- Returns:
- the boolean operator
-
setBooleanOperator
Sets the boolean operator.- Parameters:
booleanOperator- the new boolean operator
-
getPointType
Gets the point type.- Returns:
- the point type
-
setPointType
Sets the point type.- Parameters:
pointType- the new point type
-
getReferenceFor
Gets the reference for.- Returns:
- the reference for
-
setReferenceFor
Sets the reference for.- Parameters:
referenceFor- the new reference for
-
getReferenceForName
Gets the reference for name.- Returns:
- the reference for name
-
setReferenceForName
Sets the reference for name.- Parameters:
referenceForName- the new reference for name
-
getReferencePointType
Gets the reference point type.- Returns:
- the reference point type
-
setReferencePointType
Sets the reference point type.- Parameters:
referencePointType- the new reference point type
-
getReferenceType
Gets the reference type.- Returns:
- the reference type
-
setReferenceType
Sets the reference type.- Parameters:
referenceType- the new reference type
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-
getValue
public double getValue()Gets the value.- Returns:
- the value
-
setValue
public void setValue(double val)Sets the value.- Parameters:
val- the new value
-