org.erights.e.ui.awt
Class HocusFocus

java.lang.Object
  |
  +--org.erights.e.ui.awt.HocusFocus

public final class HocusFocus
extends Object

Untamed: Access to a StaticMaker on this class provides the authority to invoke the suppressed 'requestFocus()' and 'toFront()' methods.

Author:
Mark S. Miller

Constructor Summary
private HocusFocus()
          prevent instantiation
 
Method Summary
static void requestFocus(Component comp)
          Enabled:
static void toFront(JComponent jComp)
          Enabled: This is needed because getTopLevelAncestor() is also suppressed.
static void toFront(Window win)
          Enabled:
static void toFrontInternalFrame(JInternalFrame frame)
          Enabled:
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HocusFocus

private HocusFocus()
prevent instantiation

Method Detail

requestFocus

public static void requestFocus(Component comp)
Enabled:


toFront

public static void toFront(Window win)
Enabled:


toFront

public static void toFront(JComponent jComp)
Enabled: This is needed because getTopLevelAncestor() is also suppressed.


toFrontInternalFrame

public static void toFrontInternalFrame(JInternalFrame frame)
Enabled:



comments?