org.erights.e.meta.java.awt
Class ComponentMakerSugar

java.lang.Object
  |
  +--org.erights.e.meta.java.awt.ComponentMakerSugar

public class ComponentMakerSugar
extends Object

Untamed:

Author:
Mark S. Miller

Constructor Summary
private ComponentMakerSugar()
          prevent instantiation
 
Method Summary
private static boolean anyContainsFocus(Component[] sources)
          Do any of these have or contain the focus?
static boolean transferFocus(Component[] sources, Component dest)
          Enabled: If any of 'sources' currently has or contains the focus, then requests that 'dest' gets the focus.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentMakerSugar

private ComponentMakerSugar()
prevent instantiation

Method Detail

anyContainsFocus

private static boolean anyContainsFocus(Component[] sources)
Do any of these have or contain the focus?


transferFocus

public static boolean transferFocus(Component[] sources,
                                    Component dest)
Enabled: If any of 'sources' currently has or contains the focus, then requests that 'dest' gets the focus.

Returns:
Whether the operation was authorized by 'sources', not whether the 'requestFocus()' succeeded.


comments?