Class Rule
java.lang.Object
com.independentsoft.office.diagrams.Rule
The Class Rule.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()doubleGets the factor.Gets the for constraint.Gets the for name.doubleGets the max value.Gets the point type.getType()Gets the type.doublegetValue()Gets the value.voidsetFactor(double factor)Sets the factor.voidsetForConstraint(ConstraintRelationship forConstraint)Sets the for constraint.voidsetForName(String forName)Sets the for name.voidsetMaxValue(double maxValue)Sets the max value.voidsetPointType(ElementType pointType)Sets the point type.voidsetType(ConstraintType type)Sets the type.voidsetValue(double val)Sets the value.toString()
-
Constructor Details
-
Rule
public Rule()Instantiates a new rule.
-
-
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
-
getMaxValue
public double getMaxValue()Gets the max value.- Returns:
- the max value
-
setMaxValue
public void setMaxValue(double maxValue)Sets the max value.- Parameters:
maxValue- the new max value
-
getPointType
Gets the point type.- Returns:
- the point type
-
setPointType
Sets the point type.- Parameters:
pointType- the new point 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
-