Package ej.widget.debug
Class BoundsInspector
- java.lang.Object
-
- ej.widget.debug.BoundsInspector
-
public class BoundsInspector extends Object
Provides helpers to analyze the bounds of the widgets.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringboundsRecursiveToString(Widget widget)Prints the bounds of the given widget and of all its children recursively.static StringboundsToString(Widget widget)Prints the bounds of the given widget in a String.
-
-
-
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)
-
-