org.zkoss.zul.ext
Interface Constrainted

All Known Implementing Classes:
Bandbox, Combobox, Datebox, Decimalbox, Doublebox, Doublespinner, FormatInputElement, InputElement, Intbox, Longbox, NumberInputElement, Spinner, Textbox, Timebox

public interface Constrainted

Decorates a component that its value is constrainted by Constraint.

Author:
tomyeh

Method Summary
 Constraint getConstraint()
          Returns the constraint, or null if no constraint at all.
 void setConstraint(Constraint constr)
          Sets the constraint.
 

Method Detail

setConstraint

void setConstraint(Constraint constr)
Sets the constraint.

Default: null (means no constraint all all).


getConstraint

Constraint getConstraint()
Returns the constraint, or null if no constraint at all.



Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo