Package org.zkoss.zkmax.zul
Class SimpleDoubleboxConstraint
java.lang.Object
org.zkoss.zul.SimpleConstraint
org.zkoss.zul.SimpleNumberInputConstraint<Double>
org.zkoss.zul.SimpleDoubleSpinnerConstraint
org.zkoss.zkmax.zul.SimpleDoubleboxConstraint
- All Implemented Interfaces:
Serializable,org.zkoss.zul.ClientConstraint,org.zkoss.zul.Constraint
public class SimpleDoubleboxConstraint
extends org.zkoss.zul.SimpleDoubleSpinnerConstraint
A simple doublebox constraint.
- Since:
- 10.2.0
- Author:
- Jamson Chan
- See Also:
-
Field Summary
Fields inherited from class org.zkoss.zul.SimpleConstraint
_finishParseCst, _flags, AFTER_END, AFTER_POINTER, AFTER_START, AT_POINTER, BEFORE_END, BEFORE_START, END_AFTER, END_BEFORE, NO_EMPTY, NO_FUTURE, NO_NEGATIVE, NO_PAST, NO_POSITIVE, NO_TODAY, NO_ZERO, OVERLAP, OVERLAP_AFTER, OVERLAP_BEFORE, OVERLAP_END, SERVER, START_AFTER, START_BEFORE, STRICT -
Constructor Summary
ConstructorsConstructorDescriptionConstraints a constraint.SimpleDoubleboxConstraint(int flags) Constraints a constraint.SimpleDoubleboxConstraint(String constraint) Constructs a constraint with a list of constraints separated by comma. -
Method Summary
Methods inherited from class org.zkoss.zul.SimpleDoubleSpinnerConstraint
parseValueMethods inherited from class org.zkoss.zul.SimpleNumberInputConstraint
getMax, getMin, outOfRangeValue, parseConstraint, setMax, setMin, validateMethods inherited from class org.zkoss.zul.SimpleConstraint
getClientConstraint, getClientPackages, getErrorMessage, getFlags, getInstance, getRawValue
-
Constructor Details
-
SimpleDoubleboxConstraint
public SimpleDoubleboxConstraint()Constraints a constraint. -
SimpleDoubleboxConstraint
public SimpleDoubleboxConstraint(int flags) Constraints a constraint.- Parameters:
flags- a combination ofSimpleConstraint.NO_POSITIVE,SimpleConstraint.NO_NEGATIVE,SimpleConstraint.NO_ZERO, and so on.
-
SimpleDoubleboxConstraint
Constructs a constraint with a list of constraints separated by comma.- Parameters:
constraint- a list of constraints separated by comma. Example: no positive, no zero
-