com.smartgwt.client.callbacks

## Interface ShiftFocusCallback

-     public interface ShiftFocusCallback

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `execute(java.lang.String ID)` A `Callback` fired by the TabIndexManager when application code or user action attempts to synthetically shift focus to some registered target.

- - ### Method Detail

    - #### execute

          boolean execute(java.lang.String ID)

      A `Callback` fired by the TabIndexManager when application code or user action attempts to synthetically shift focus to some registered target. See `TabIndexManager.shiftFocus()`.

      A typical implementation will shift focus to some native element associated with the registered target, or if this is not currently possible, return false.

      Parameters:
        `ID` - The ID String passed to `TabIndexManager.addTarget()` when the callback was registered.
      Returns:
        Return true if focus could be successfully moved to the desired target. Returning false indicates the target could not accept focus and will often cause the TabIndexManager to find the next registered target and attempt to shift focus there.