|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SaveBinding
Binding for saving.
| Method Summary | |
|---|---|
Property |
getValidate(BindContext ctx)
Returns Property to be validated. |
Validator |
getValidator()
return Validator to do validation |
java.util.Map<java.lang.String,java.lang.Object> |
getValidatorArgs()
Returns an argument |
boolean |
hasValidator()
Returns whether to do validation. which means, if true, than getValidator should not return null |
void |
save(BindContext ctx)
Save data from the source attribute into the target property. |
void |
validate(ValidationContext vctx)
do the validation by validator |
| Methods inherited from interface org.zkoss.bind.sys.Binding |
|---|
getArgs, getBinder, getComponent |
| Method Detail |
|---|
void save(BindContext ctx)
ctx - the binding runtime contextvoid validate(ValidationContext vctx)
vctx - Property getValidate(BindContext ctx)
Property to be validated.
ctx - the binding runtime context
Property to be validated.boolean hasValidator()
Validator getValidator()
Validator to do validation
java.util.Map<java.lang.String,java.lang.Object> getValidatorArgs()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||