|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgr.zeus.ui.typesafe.SimpleTextPaneTraversal
public final class SimpleTextPaneTraversal
This class can be used to replace the default traversal keys for any JTextPane object. As you already know when advancing focus inside a form, using the TAB key, when you reach a text panel you need to press CTRL+TAB in order to advance the focus to the next component. With this class you can address this issue and use the TAB key instead.
Constructor Summary | |
---|---|
SimpleTextPaneTraversal(javax.swing.JTextPane tp)
Constructor, Stores a backup copy of the original traversal keys of this text panel. |
Method Summary | |
---|---|
void |
changeTraveralKeys()
Replaces the original traversal keys with new ones. |
void |
restoreTraveralKeys()
Restores the original traversal keys. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleTextPaneTraversal(javax.swing.JTextPane tp)
tp
- The text panel object.Method Detail |
---|
public void changeTraveralKeys()
public void restoreTraveralKeys()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |