|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.formaria.swing.focus.PanelFocusExtension
public class PanelFocusExtension
The class is an extract of the SwingLabs JButtonPanel. It handles the change of focus using the arrow keys.
Copyright (c) Formaria Ltd.,
License: see license.txt
| Constructor Summary | |
|---|---|
PanelFocusExtension(Panel xp)
Creates a new instance of PanelFocusExtension |
|
| Method Summary | |
|---|---|
boolean |
isCyclic()
Returns whether arrow keys should support cyclic focus traversal ordering for for this JButtonPanel. |
boolean |
isGroupSelectionFollowFocus()
Returns whether arrow keys should transfer button's selection as well as focus for this JButtonPanel. |
void |
setCyclic(boolean isCyclic)
Sets whether arrow keys should support cyclic focus traversal ordering for this JButtonPanel. |
void |
setGroupSelectionFollowFocus(boolean groupSelectionFollowFocus)
Sets whether arrow keys should transfer button's selection as well as focus for this JButtonPanel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PanelFocusExtension(Panel xp)
| Method Detail |
|---|
public boolean isCyclic()
public void setCyclic(boolean isCyclic)
public boolean isGroupSelectionFollowFocus()
Note: this property affects buttons which are added to a ButtonGroup
public void setGroupSelectionFollowFocus(boolean groupSelectionFollowFocus)
Note: this property affects buttons which are added to a ButtonGroup
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||