Package com.jgoodies.forms.internal
Class FocusTraversalUtilsAccessor
- java.lang.Object
-
- com.jgoodies.forms.internal.FocusTraversalUtilsAccessor
-
public final class FocusTraversalUtilsAccessor extends java.lang.Object
Provides access to the FocusTraversalUtils class that ships with the JGoodies Standard Dialog Library (JSDL). Note: This class is not part of the public Forms API. It's intended for implementation purposes only. The class's API may change at any time.- Version:
- $Revision: 1.1 $
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
FOCUS_TRAVERSAL_UTILS_NAME
The name of theFocusTraversalUtils
from the JSDL Common library.private static java.lang.reflect.Method
groupMethod
Holds the public static methodcom.jgoodies.jsdl.common.focus.FocusTraversalUtils#group
.
-
Constructor Summary
Constructors Modifier Constructor Description private
FocusTraversalUtilsAccessor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.lang.reflect.Method
getGroupMethod()
static void
tryToBuildAFocusGroup(javax.swing.AbstractButton... buttons)
Tries to group the given buttons using the FocusTraversalUtils class - if available.
-
-
-
Field Detail
-
FOCUS_TRAVERSAL_UTILS_NAME
private static final java.lang.String FOCUS_TRAVERSAL_UTILS_NAME
The name of theFocusTraversalUtils
from the JSDL Common library. This utility can group buttons if the focus traversal policy supports grouping, such as theJGContainerOrderFocusTraversalPolicy
andJGLayoutFocusTraversalPolicy
from the JSDL Common.- See Also:
- Constant Field Values
-
groupMethod
private static java.lang.reflect.Method groupMethod
Holds the public static methodcom.jgoodies.jsdl.common.focus.FocusTraversalUtils#group
.
-
-
Method Detail
-
tryToBuildAFocusGroup
public static void tryToBuildAFocusGroup(javax.swing.AbstractButton... buttons)
Tries to group the given buttons using the FocusTraversalUtils class - if available. Does nothing, if this class is not in the class path.
-
getGroupMethod
private static java.lang.reflect.Method getGroupMethod()
-
-