Packageorg.aswing
Classpublic class ContainerOrderFocusTraversalPolicy
ImplementsFocusTraversalPolicy
SubclassesWindowOrderFocusTraversalPolicy

A FocusTraversalPolicy that determines traversal order based on the order of child Components in a Container.



Public Methods
 MethodDefined by
  
ContainerOrderFocusTraversalPolicy
  
ContainerOrderFocusTraversalPolicy
  
ContainerOrderFocusTraversalPolicy
  
This will return the first focusable component in the container.
ContainerOrderFocusTraversalPolicy
Protected Methods
 MethodDefined by
  
getComponentAfterImp(c:Component, deepIn:Boolean = true):Component
ContainerOrderFocusTraversalPolicy
  
ContainerOrderFocusTraversalPolicy
  
Returns the first focusable component in the container.
ContainerOrderFocusTraversalPolicy
  
Returns the last focusable component in the component, if it is a container deep into it to find the last.
ContainerOrderFocusTraversalPolicy
Constructor detail
ContainerOrderFocusTraversalPolicy()constructor
public function ContainerOrderFocusTraversalPolicy()
Method detail
getComponentAfter()method
public function getComponentAfter(c:Component):ComponentParameters
c:Component

Returns
Component
getComponentAfterImp()method 
protected function getComponentAfterImp(c:Component, deepIn:Boolean = true):ComponentParameters
c:Component
 
deepIn:Boolean (default = true)

Returns
Component
getComponentBefore()method 
public function getComponentBefore(c:Component):ComponentParameters
c:Component

Returns
Component
getComponentBeforeImp()method 
protected function getComponentBeforeImp(c:Component):ComponentParameters
c:Component

Returns
Component
getDefaultComponent()method 
public function getDefaultComponent(container:Container):Component

This will return the first focusable component in the container.

Parameters
container:Container

Returns
Component — the default component to be focused.
getFirstComponent()method 
protected function getFirstComponent(container:Container):Component

Returns the first focusable component in the container.

Parameters
container:Container

Returns
Component
getLastComponent()method 
protected function getLastComponent(c:Component):Component

Returns the last focusable component in the component, if it is a container deep into it to find the last.

Parameters
c:Component

Returns
Component