SimpleTextAreaTraversal
Date: 2014-06-07

gr.zeus.ui.typesafe

## Class SimpleTextAreaTraversal

- java.lang.Object
- - gr.zeus.ui.typesafe.SimpleTextAreaTraversal

-     public final class SimpleTextAreaTraversal
      extends java.lang.Object

  This class can be used to replace the default traversal keys for any JTextArea object. As you already know when advancing focus inside a form, using the TAB key, when you reach a text area 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.

  Since:
    1.50
  Author:
    Gregory Kotsaftis

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SimpleTextAreaTraversal(javax.swing.JTextArea ta)` Constructor, Stores a backup copy of the original traversal keys of this text area.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

    - #### SimpleTextAreaTraversal

          public SimpleTextAreaTraversal(javax.swing.JTextArea ta)

      Constructor, Stores a backup copy of the original traversal keys of this text area.

      Parameters:
        `ta` - The text area object.

  - ### Method Detail

    - #### changeTraveralKeys

          public void changeTraveralKeys()

      Replaces the original traversal keys with new ones. After invoking this method you can advance focus out of the text area using only the TAB key instead of CTRL+TAB.

    - #### restoreTraveralKeys

          public void restoreTraveralKeys()

      Restores the original traversal keys.