Package | Description |
---|---|
org.netbeans.html.boot.spi |
Interfaces for integrators of various execution environments.
|
Modifier and Type | Method and Description |
---|---|
static Fn |
Fn.define(Class<?> caller,
boolean keepParametersAlive,
String code,
String... names)
Helper method to find current presenter and ask it to define new
function.
|
static Fn |
Fn.define(Class<?> caller,
String code,
String... names)
Helper method to find current presenter and ask it to define new
function by calling
Fn.Presenter.defineFn(java.lang.String, java.lang.String...) . |
Fn |
Fn.Presenter.defineFn(String code,
String... names)
Creates new function with given parameter names and provided body.
|
Fn |
Fn.KeepAlive.defineFn(String code,
String[] names,
boolean[] keepAlive)
Creates new function with given parameter names and provided body.
|
static Fn |
Fn.preload(Fn fn,
Class<?> caller,
String resource)
Wraps function to ensure that the script represented by
resource
gets loaded into the browser environment before the function fn
is executed. |
Modifier and Type | Method and Description |
---|---|
static boolean |
Fn.isValid(Fn fnOrNull)
Helper method to check if the provided instance is valid function.
|
static Fn |
Fn.preload(Fn fn,
Class<?> caller,
String resource)
Wraps function to ensure that the script represented by
resource
gets loaded into the browser environment before the function fn
is executed. |
Copyright © 2018 NetBeans. All rights reserved.