Class BoundsInspector


  • public class BoundsInspector
    extends Object
    Provides helpers to analyze the bounds of the widgets.
    • Method Detail

      • boundsToString

        public static String boundsToString​(Widget widget)
        Prints the bounds of the given widget in a String.

        Prints the class name of the widget, its bounds (relative to its parent) and its absolute position.

        Parameters:
        widget - the widget.
        Returns:
        the bounds.
      • boundsRecursiveToString

        public static String boundsRecursiveToString​(Widget widget)
        Prints the bounds of the given widget and of all its children recursively.
        Parameters:
        widget - the widget.
        Returns:
        the bounds.
        See Also:
        boundsToString(Widget)