org.openpermis.editor.policy.gui
Class DefaultFocusFinder

java.lang.Object
  extended by org.openpermis.editor.policy.gui.DefaultFocusFinder

public final class DefaultFocusFinder
extends Object

Reflection helper to find the DefaultFocus component of a target object.

Since:
0.9.0

Method Summary
static JComponent getDefaultFocusComponent(Object target)
          Finds the component that has the DefaultFocus annotation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefaultFocusComponent

public static final JComponent getDefaultFocusComponent(Object target)
Finds the component that has the DefaultFocus annotation.

Parameters:
target - the target at which to search the default focus component.
Returns:
the component that has the DefaultFocus annotation or null if there is no variable that has the annotation.
Since:
0.9.0


OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:21
Copyright (c) 2002-2007 Ergon Informatik AG