com.swfm.mica.core
Class MiKeyFocusTraversalGroupList
java.lang.Object
com.swfm.mica.util.TypedVector
com.swfm.mica.core.MiParts
com.swfm.mica.core.MiKeyFocusTraversalGroupList
- All Implemented Interfaces:
- MiiKeyFocusTraversalGroup
- public class MiKeyFocusTraversalGroupList
- extends MiParts
- implements MiiKeyFocusTraversalGroup
This class implements a MiiKeyFocusTraversalGroup as a list of parts that are
to receive keyboard/enter-key focus. Use the methods of the super
class MiParts to add and remove parts from this tab group.
- 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. |
| Methods inherited from class com.swfm.mica.core.MiParts |
add, addElement, contains, elementAt, equals, equalsIgnoreOrder, get, hashCode, indexOf, insertElementAt, lastElement, removeElement, setElementAt, toArray |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
MiKeyFocusTraversalGroupList
public MiKeyFocusTraversalGroupList()
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 first focus part is returned.
- Specified by:
getNext in interface MiiKeyFocusTraversalGroup
- 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 last focus part is returned.
- Specified by:
getPrevious in interface MiiKeyFocusTraversalGroup
- Parameters:
current - one part in the tab group
- Returns:
- the previous part in the tab group
(null if no previous part)