org.zkoss.bind.sys
Interface FormBinding

All Superinterfaces:
Binding
All Known Subinterfaces:
LoadFormBinding, SaveFormBinding
All Known Implementing Classes:
FormBindingImpl, LoadFormBindingImpl, SaveFormBindingImpl

public interface FormBinding
extends Binding

A binding tells how to deal with Load and Save between a form and a bean.

Author:
henrichen

Method Summary
 java.lang.String getCommandName()
          Returns the associated command name of this binding; null if not speicified.
 Form getFormBean()
          Returns the implicit form associated with this form binding.
 java.lang.String getFormId()
          Returns the associated form id of this Binding.
 java.lang.String getPropertyString()
          Returns the property expression script of this binding.
 boolean isAfter()
          Returns whether bind this binding after execute associated command(true); otherwise it shall bind before execute associated command(false).
 
Methods inherited from interface org.zkoss.bind.sys.Binding
getArgs, getBinder, getComponent
 

Method Detail

getFormBean

Form getFormBean()
Returns the implicit form associated with this form binding.

Returns:
the implicit form associated with this form binding.

getFormId

java.lang.String getFormId()
Returns the associated form id of this Binding.

Returns:
the associated attribute name of this component.

getCommandName

java.lang.String getCommandName()
Returns the associated command name of this binding; null if not speicified.

Returns:
the associated command name of this binding; null if not speicified.

getPropertyString

java.lang.String getPropertyString()
Returns the property expression script of this binding.

Returns:
the property expression script of this binding.

isAfter

boolean isAfter()
Returns whether bind this binding after execute associated command(true); otherwise it shall bind before execute associated command(false).

Returns:
whether bind this binding after execute associated command(true); otherwise it shall bind before execute associated command(false).


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