Skip navigation links


com.essbase.eas.ui
Class DialogUtils.MyFocusTraversalPolicy

java.lang.Object
  extended by java.awt.FocusTraversalPolicy
      extended by com.essbase.eas.ui.DialogUtils.MyFocusTraversalPolicy

Enclosing class:
DialogUtils

public static class DialogUtils.MyFocusTraversalPolicy
extends java.awt.FocusTraversalPolicy

Method Summary
protected  boolean accept(java.awt.Component aComponent)
          Determines whether a Component is an acceptable choice as the new focus owner.
 void dispose()
           
 java.awt.Component getComponentAfter(java.awt.Container focusCycleRoot, java.awt.Component aComponent)
           
 java.awt.Component getComponentBefore(java.awt.Container focusCycleRoot, java.awt.Component aComponent)
           
 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

 

Method Detail

accept

protected boolean accept(java.awt.Component aComponent)
Determines whether a Component is an acceptable choice as the new focus owner. By default, this method will accept a Component if and only if it is visible, displayable, enabled, and focusable.
Parameters:
aComponent - - the Component whose fitness as a focus owner is to be tested
Returns:
true if aComponent is visible, displayable, enabled, and focusable; false otherwise

getComponentAfter

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

getComponentBefore

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

getDefaultComponent

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

getLastComponent

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

getFirstComponent

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

dispose

public void dispose()

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.