Class BoundsInspector


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String boundsRecursiveToString​(ej.mwt.Widget widget)
      Prints the bounds of the given widget and of all its children recursively.
      static java.lang.String boundsToString​(ej.mwt.Widget widget)
      Prints the bounds of the given widget in a String.
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • boundsToString

        public static java.lang.String boundsToString​(ej.mwt.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 java.lang.String boundsRecursiveToString​(ej.mwt.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)