VLJ Iteration II, v. 1.0.0.193

gov.va.med.foundations.samples
Class VistaLinkRpcSwingTester.ConnectedFocusTraversalPolicy

java.lang.Object
  |
  +--java.awt.FocusTraversalPolicy
        |
        +--gov.va.med.foundations.samples.VistaLinkRpcSwingTester.ConnectedFocusTraversalPolicy
Enclosing class:
VistaLinkRpcSwingTester

public class VistaLinkRpcSwingTester.ConnectedFocusTraversalPolicy
extends java.awt.FocusTraversalPolicy

Provides a focus traversal policy for this dialog, when it's in connected mode


Constructor Summary
VistaLinkRpcSwingTester.ConnectedFocusTraversalPolicy()
           
 
Method Summary
 java.awt.Component getComponentAfter(java.awt.Container focusCycleRoot, java.awt.Component aComponent)
          get the next component in the focus traversal
 java.awt.Component getComponentBefore(java.awt.Container focusCycleRoot, java.awt.Component aComponent)
          get the previous (reverse direction) component in the focus traversal cycle
 java.awt.Component getDefaultComponent(java.awt.Container focusCycleRoot)
          gets the default component to focus on
 java.awt.Component getFirstComponent(java.awt.Container focusCycleRoot)
          gets the first component in the focus cycle
 java.awt.Component getLastComponent(java.awt.Container focusCycleRoot)
          gets the last component in the focus cycle
 
Methods inherited from class java.awt.FocusTraversalPolicy
getInitialComponent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VistaLinkRpcSwingTester.ConnectedFocusTraversalPolicy

public VistaLinkRpcSwingTester.ConnectedFocusTraversalPolicy()
Method Detail

getComponentAfter

public java.awt.Component getComponentAfter(java.awt.Container focusCycleRoot,
                                            java.awt.Component aComponent)
get the next component in the focus traversal

Specified by:
getComponentAfter in class java.awt.FocusTraversalPolicy
Parameters:
focusCycleRoot - the root of the focus cycle
aComponent - currently focused component
Returns:
returns the next component in the (forward) cycle

getComponentBefore

public java.awt.Component getComponentBefore(java.awt.Container focusCycleRoot,
                                             java.awt.Component aComponent)
get the previous (reverse direction) component in the focus traversal cycle

Specified by:
getComponentBefore in class java.awt.FocusTraversalPolicy
Parameters:
focusCycleRoot - the root of the focus cycle
aComponent - currently focused component
Returns:
returns the next component in the (reverse) cycle

getDefaultComponent

public java.awt.Component getDefaultComponent(java.awt.Container focusCycleRoot)
gets the default component to focus on

Specified by:
getDefaultComponent in class java.awt.FocusTraversalPolicy
Parameters:
focusCycleRoot - the root of the focus cycle
Returns:
the default component in the focus cycle

getLastComponent

public java.awt.Component getLastComponent(java.awt.Container focusCycleRoot)
gets the last component in the focus cycle

Specified by:
getLastComponent in class java.awt.FocusTraversalPolicy
Parameters:
focusCycleRoot - the root of the focus cycle
Returns:
the last component in the focus cycle

getFirstComponent

public java.awt.Component getFirstComponent(java.awt.Container focusCycleRoot)
gets the first component in the focus cycle

Specified by:
getFirstComponent in class java.awt.FocusTraversalPolicy
Parameters:
focusCycleRoot - the root of the focus cycle
Returns:
the first component in the focus cycle

VLJ Iteration II, v. 1.0.0.193

VistaLink Iteration II, v. 1.0.0.193