Class CommandBindingImpl

java.lang.Object
org.zkoss.bind.impl.BindingImpl
org.zkoss.bind.impl.CommandBindingImpl
All Implemented Interfaces:
Serializable, Binding, CommandBinding

public class CommandBindingImpl extends BindingImpl implements CommandBinding
Implementation of CommandBinding.
Since:
6.0.0
Author:
henrichen
See Also:
  • Constructor Details

  • Method Details

    • getEventName

      public String getEventName()
    • getCommand

      public org.zkoss.xel.ExpressionX getCommand()
    • getCommandString

      public String getCommandString()
      Description copied from interface: CommandBinding
      Returns the command expression in string.
      Specified by:
      getCommandString in interface CommandBinding
      Returns:
      the command expression in string.
    • execute

      public void execute(BindContext ctx)
      Description copied from interface: CommandBinding
      Call the command associated with this binding.
      Specified by:
      execute in interface CommandBinding
      Parameters:
      ctx - the binding runtime context
    • toString

      public String toString()
      Overrides:
      toString in class Object