Package com.smartgwt.client.callbacks
Interface ShiftFocusCallback
public interface ShiftFocusCallback
-
Method Summary
-
Method Details
-
execute
ACallback
fired by the TabIndexManager when application code or user action attempts to synthetically shift focus to some registered target. SeeTabIndexManager.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 toTabIndexManager.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.
-