600 |
* @see #UP_CYCLE_TRAVERSAL_KEYS |
* @see #UP_CYCLE_TRAVERSAL_KEYS |
601 |
* @see #DOWN_CYCLE_TRAVERSAL_KEYS |
* @see #DOWN_CYCLE_TRAVERSAL_KEYS |
602 |
*/ |
*/ |
603 |
public void setDefaultFocusTraversalKeys (int id, Set keystrokes) |
public void setDefaultFocusTraversalKeys (int id, |
604 |
|
Set<? extends AWTKeyStroke> |
605 |
|
keystrokes) |
606 |
{ |
{ |
607 |
if (id != KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS && |
if (id != KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS && |
608 |
id != KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS && |
id != KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS && |
1036 |
* @return A list of explicitly registered key event dispatchers. |
* @return A list of explicitly registered key event dispatchers. |
1037 |
* @see KeyboardFocusManager#addKeyEventDispatcher(java.awt.KeyEventDispatcher) |
* @see KeyboardFocusManager#addKeyEventDispatcher(java.awt.KeyEventDispatcher) |
1038 |
*/ |
*/ |
1039 |
protected List getKeyEventDispatchers () |
protected List<KeyEventDispatcher> getKeyEventDispatchers () |
1040 |
{ |
{ |
1041 |
return (List) keyEventDispatchers.clone (); |
return (List<KeyEventDispatcher>) keyEventDispatchers.clone (); |
1042 |
} |
} |
1043 |
|
|
1044 |
/** |
/** |
1093 |
* @return A list of explicitly registered key event post processors. |
* @return A list of explicitly registered key event post processors. |
1094 |
* @see KeyboardFocusManager#addKeyEventPostProcessor(java.awt.KeyEventPostProcessor) |
* @see KeyboardFocusManager#addKeyEventPostProcessor(java.awt.KeyEventPostProcessor) |
1095 |
*/ |
*/ |
1096 |
protected List getKeyEventPostProcessors () |
protected List<KeyEventPostProcessor> getKeyEventPostProcessors () |
1097 |
{ |
{ |
1098 |
return (List) keyEventPostProcessors.clone (); |
return (List<KeyEventPostProcessor>) keyEventPostProcessors.clone (); |
1099 |
} |
} |
1100 |
|
|
1101 |
/** |
/** |