Interface WidgetClass.OnContains

Enclosing class:
WidgetClass
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 static interface WidgetClass.OnContains
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    onContains(CallbackHandler __self, Widget widget, double x, double y)
     
  • Method Details

    • onContains

      boolean onContains(CallbackHandler __self, @Nonnull Widget widget, double x, double y)
      Parameters:
      widget - the widget to query
      x - X coordinate to test, relative to @widget's origin
      y - Y coordinate to test, relative to @widget's origin
      Returns:
      %TRUE if @widget contains (@x, @y).