org.rosuda.JGR.layout
Class ArrayFocusTraversalPolicy

java.lang.Object
  extended by java.awt.FocusTraversalPolicy
      extended by org.rosuda.JGR.layout.ArrayFocusTraversalPolicy

public class ArrayFocusTraversalPolicy
extends java.awt.FocusTraversalPolicy

This class allows the focus-traversal order (or tab-order) to be set for a Container in a simple fashion using an array of Components. This class is generated by Cloudgarden's Jigloo GUI builder. It can be used freely without any restriction whatever.


Constructor Summary
ArrayFocusTraversalPolicy(java.awt.Component[] list)
           
 
Method Summary
 java.awt.Component getComponentAfter(java.awt.Container focusCycleRoot, java.awt.Component comp)
           
 java.awt.Component[] getComponentArray()
           
 java.awt.Component getComponentBefore(java.awt.Container focusCycleRoot, java.awt.Component comp)
           
 java.awt.Component getDefaultComponent(java.awt.Container focusCycleRoot)
           
 java.awt.Component getFirstComponent(java.awt.Container focusCycleRoot)
           
 java.awt.Component getLastComponent(java.awt.Container focusCycleRoot)
           
 
Methods inherited from class java.awt.FocusTraversalPolicy
getInitialComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayFocusTraversalPolicy

public ArrayFocusTraversalPolicy(java.awt.Component[] list)
Method Detail

getDefaultComponent

public java.awt.Component getDefaultComponent(java.awt.Container focusCycleRoot)
Specified by:
getDefaultComponent in class java.awt.FocusTraversalPolicy

getFirstComponent

public java.awt.Component getFirstComponent(java.awt.Container focusCycleRoot)
Specified by:
getFirstComponent in class java.awt.FocusTraversalPolicy

getLastComponent

public java.awt.Component getLastComponent(java.awt.Container focusCycleRoot)
Specified by:
getLastComponent in class java.awt.FocusTraversalPolicy

getComponentAfter

public java.awt.Component getComponentAfter(java.awt.Container focusCycleRoot,
                                            java.awt.Component comp)
Specified by:
getComponentAfter in class java.awt.FocusTraversalPolicy

getComponentBefore

public java.awt.Component getComponentBefore(java.awt.Container focusCycleRoot,
                                             java.awt.Component comp)
Specified by:
getComponentBefore in class java.awt.FocusTraversalPolicy

getComponentArray

public java.awt.Component[] getComponentArray()
Returns: