Package com.smartgwt.client.callbacks

# Interface ShiftFocusCallback

public interface ShiftFocusCallback

- ## Method Summary

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

- ## Method Details

  - ### execute

    boolean execute(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.