com.swfm.mica.core
Interface MiiKeyFocusTraversalGroup

All Known Implementing Classes:
MiKeyFocusTraversalGroupList, MiLazyKeyFocusTraversalGroup

public interface MiiKeyFocusTraversalGroup

This interface defines the keyboard traversal API for arbitrary groups of parts.

Version:
%I% %G%
Author:
Michael L. Davis

Method Summary
 MiPart getNext(MiPart current)
          Gets the next part to receive keyboard or enter key focus with respect to the given part.
 MiPart getPrevious(MiPart current)
          Gets the previous part to receive keyboard or enter key focus with respect to the given part.
 

Method Detail

getNext

public MiPart getNext(MiPart current)
Gets the next part to receive keyboard or enter key focus with respect to the given part. If the given part is null then the default keyboard focus part is returned.

Parameters:
current - one part in the tab group
Returns:
the next part in the tab group (null if no next part)

getPrevious

public MiPart getPrevious(MiPart current)
Gets the previous part to receive keyboard or enter key focus with respect to the given part. If the given part is null then the key preceeding the default keyboard focus part is returned.

Parameters:
current - one part in the tab group
Returns:
the previous part in the tab group (null if no previous part)