Package org.zkoss.bind.sys

## Interface CommandBinding

- All Superinterfaces:
    `Binding`
  All Known Implementing Classes:
    `CommandBindingImpl`

      public interface CommandBinding
      extends Binding

  A binding tells which command to call(usually used with UI event).
  Since:
    6.0.0
  Author:
    henrichen

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `execute​(BindContext ctx)` | Call the command associated with this binding.
    `java.lang.String` | `getCommandString()` | Returns the command expression in string.

    - ### Methods inherited from interface org.zkoss.bind.sys.Binding

      `getArgs, getBinder, getComponent`

- - ### Method Detail

    - #### execute

          void execute​(BindContext ctx)

      Call the command associated with this binding.
      Parameters:
        `ctx` - the binding runtime context

    - #### getCommandString

          java.lang.String getCommandString()

      Returns the command expression in string.
      Returns:
        the command expression in string.