|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.xoetrope.swing.focus.XPanelFocusExtension
public class XPanelFocusExtension
The class is an extract of the SwingLabs JXButtonPanel. It handles the change of focus using the arrow keys.
Copyright (c) Xoetrope Ltd., 1998-2004
License: see license.txt
| Constructor Summary | |
|---|---|
XPanelFocusExtension(XPanel xp)
Creates a new instance of XPanelFocusExtension |
|
| Method Summary | |
|---|---|
boolean |
isCyclic()
Returns whether arrow keys should support cyclic focus traversal ordering for for this JXButtonPanel. |
boolean |
isGroupSelectionFollowFocus()
Returns whether arrow keys should transfer button's selection as well as focus for this JXButtonPanel. |
void |
setCyclic(boolean isCyclic)
Sets whether arrow keys should support cyclic focus traversal ordering for this JXButtonPanel. |
void |
setGroupSelectionFollowFocus(boolean groupSelectionFollowFocus)
Sets whether arrow keys should transfer button's selection as well as focus for this JXButtonPanel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XPanelFocusExtension(XPanel 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 | |||||||||