Class FocusTraversalUtilsAccessor

java.lang.Object
com.jgoodies.forms.internal.FocusTraversalUtilsAccessor

public final class FocusTraversalUtilsAccessor extends 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 Details

    • FOCUS_TRAVERSAL_UTILS_NAME

      private static final String FOCUS_TRAVERSAL_UTILS_NAME
      The name of the FocusTraversalUtils from the JSDL Common library. This utility can group buttons if the focus traversal policy supports grouping, such as the JGContainerOrderFocusTraversalPolicy and JGLayoutFocusTraversalPolicy from the JSDL Common.
      See Also:
    • groupMethod

      private static Method groupMethod
      Holds the public static method com.jgoodies.jsdl.common.focus.FocusTraversalUtils#group.
  • Constructor Details

    • FocusTraversalUtilsAccessor

      private FocusTraversalUtilsAccessor()
  • Method Details

    • tryToBuildAFocusGroup

      public static void tryToBuildAFocusGroup(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 Method getGroupMethod()