Interface LayoutBuilder

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface LayoutBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    build(int x, int y, int w, int h)
     
  • Method Details

    • build

      Widget build(int x, int y, int w, int h)
      Parameters:
      x - the left-most coordinate of the region allocated for the widget.
      y - the top-most coordinate of the region allocated for the widget.
      w - the width of the region allocated for the widget.
      h - the height of the region allocated for the widget.