src/main/java/com/spinyowl/legui/system/handler/SehUtil.java
public static void recursiveTargetComponentListSearch(Vector2f vector, Component component,
      List<Component> targetList) {
    if (component.isVisible() /*&& component.isEnabled()*/ && component.intersects(vector)) {
      targetList.add(component);
      List<Component> childComponents = component.getChildComponents();
      for (Component child : childComponents) {
        recursiveTargetComponentListSearch(vector, child, targetList);
      }
    }
  }
/**
   * Used to search all components (under point) in component. New located target component will be
   * added to target list.
   *
   * @param vector     vector to point.
   * @param component  source component to search target.
   * @param targetList current target list.
   */
Used to search all components (under point) in component. New located target component will be
added to target list.

@param vector     vector to point.
@param component  source component to search target.
@param targetList current target list.
Used to search all components ( under point ) in component . New located target component will be added to target list . @param vector vector to point . @param component source component to search target . @param targetList current target list .
public static void recursiveTargetComponentListSearch(Vector2f vector, Component component,
      List<Component> targetList) {
    if (component.isVisible() /*&& component.isEnabled()*/ && component.intersects(vector)) {
      targetList.add(component);
      List<Component> childComponents = component.getChildComponents();
      for (Component child : childComponents) {
        recursiveTargetComponentListSearch(vector, child, targetList);
      }
    }
  }
public static void recursiveTargetComponentListSearch ( Vector2f vector , Component component , List < Component > targetList ) { if ( component . isVisible ( ) /*&& component.isEnabled()*/ && component . intersects ( vector ) ) { targetList . add ( component ) ; List < Component > childComponents = component . getChildComponents ( ) ; for ( Component child : childComponents ) { recursiveTargetComponentListSearch ( vector , child , targetList ) ; } } }
Used to search all components (under point) in component.
Used to search all components ( under point ) in component .