create
Creates a widget address using the specified supplier
Return
a new widget address
See also
org.tribot.script.sdk.query.Query
Query#findFirst()
Parameters
getInterfaceFunc
the interface supplier
Creates a widget address by searching all widgets with the specified predicate. This is not recommended. You should provide a root widget to search for performance reasons (such as create.
Return
a new widget address
Parameters
masterInterfaceFilter
the widget predicate
static WidgetAddress create(int rootIndex, Predicate<Widget> componentFilter)
Content copied to clipboard
Creates a widget address by searching all widgets in the specified root index with the specified predicate.
Return
a new widget address
Parameters
rootIndex
the widget root index to search under
componentFilter
the widget predicate