Skip navigation links
A B C D F I J L N O P S T 

A

activate(Fn.Presenter) - Static method in class org.netbeans.html.boot.spi.Fn
Activates given presenter.
activePresenter() - Static method in class org.netbeans.html.boot.spi.Fn
The currently active presenter.

B

BrowserBuilder - Class in net.java.html.boot
Use this builder to launch your Java/HTML based application.

C

classloader(ClassLoader) - Method in class net.java.html.boot.BrowserBuilder
Loader to use when searching for classes to initialize.

D

define(Class<?>, String, String...) - Static method in class org.netbeans.html.boot.spi.Fn
Helper method to find current presenter and ask it to define new function by calling Fn.Presenter.defineFn(java.lang.String, java.lang.String...).
define(Class<?>, boolean, String, String...) - Static method in class org.netbeans.html.boot.spi.Fn
Helper method to find current presenter and ask it to define new function.
defineFn(String, String[], boolean[]) - Method in interface org.netbeans.html.boot.spi.Fn.KeepAlive
Creates new function with given parameter names and provided body.
defineFn(String, String...) - Method in interface org.netbeans.html.boot.spi.Fn.Presenter
Creates new function with given parameter names and provided body.
displayPage(URL, Runnable) - Method in interface org.netbeans.html.boot.spi.Fn.Presenter
Opens the browser, loads provided page and when the page is ready, it calls back to the provider runnable.

F

Fn - Class in org.netbeans.html.boot.spi
Represents single JavaScript function that can be invoked.
Fn() - Constructor for class org.netbeans.html.boot.spi.Fn
Deprecated.
Ineffective as of 0.6. Provide a presenter via Fn.Fn(org.netbeans.html.boot.spi.Fn.Presenter) constructor
Fn(Fn.Presenter) - Constructor for class org.netbeans.html.boot.spi.Fn
Creates new function object and associates it with given presenter.
Fn.FromJavaScript - Interface in org.netbeans.html.boot.spi
Additional interface to be implemented by Fn.Presenters that need to convert JavaScript object (usually array) to Java object when calling back from JavaScript to Java.
Fn.KeepAlive - Interface in org.netbeans.html.boot.spi
Additional interface to Fn.Presenter to control more precisely garbage collection behavior of individual parameters.
Fn.Presenter - Interface in org.netbeans.html.boot.spi
The representation of a presenter - usually a browser window.
Fn.ToJavaScript - Interface in org.netbeans.html.boot.spi
Additional interface to be implemented by Fn.Presenters that wish to control what objects are passed into the JavaScript virtual machine.

I

invoke(String, String...) - Method in class net.java.html.boot.BrowserBuilder
Specifies callback method to notify the application that the browser is ready.
invoke(Object, Object...) - Method in class org.netbeans.html.boot.spi.Fn
Invokes the defined function with specified this and appropriate arguments.
invokeLater(Object, Object...) - Method in class org.netbeans.html.boot.spi.Fn
Invokes the defined function with specified this and appropriate arguments asynchronously.
isValid() - Method in class org.netbeans.html.boot.spi.Fn
True, if currently active presenter is the same as presenter this function has been created for via Fn.Fn(org.netbeans.html.boot.spi.Fn.Presenter).
isValid(Fn) - Static method in class org.netbeans.html.boot.spi.Fn
Helper method to check if the provided instance is valid function.

J

JavaScriptBody - Annotation Type in net.java.html.js
Put this annotation on a method to provide its special implementation in JavaScript.
JavaScriptResource - Annotation Type in net.java.html.js
Include JavaScript libraries into your application easily.

L

loadClass(Class<?>) - Method in class net.java.html.boot.BrowserBuilder
The class to load when the browser is initialized.
loadFinished(Runnable) - Method in class net.java.html.boot.BrowserBuilder
Allows one to specify a runnable that should be invoked when a load of a page is finished.
loadPage(String) - Method in class net.java.html.boot.BrowserBuilder
Page to load into the browser.
loadScript(Reader) - Method in interface org.netbeans.html.boot.spi.Fn.Presenter
Loads a script into the browser JavaScript interpreter and executes it.
locale(Locale) - Method in class net.java.html.boot.BrowserBuilder
Locale to use when searching for an initial page to load.

N

net.java.html.boot - package net.java.html.boot
Builder class to bootstrap your Java/HTML based application. See BrowserBuilder for description how to launch your application.
net.java.html.js - package net.java.html.js
Essential support for those who write native methods communicating directly with JavaScript. Mix your Java and JavaScript code seamlessly - perform calls from Java to JavaScript and back with as much freedom as JavaScript gives you and as much type safety you can get from Java.
newBrowser(Object...) - Static method in class net.java.html.boot.BrowserBuilder
Entry method to obtain a new browser builder.

O

org.netbeans.html.boot.spi - package org.netbeans.html.boot.spi
Interfaces for integrators of various execution environments. Not really interesting for clients.

P

preload(Fn, Class<?>, String) - Static method in class org.netbeans.html.boot.spi.Fn
Wraps function to ensure that the script represented by resource gets loaded into the browser environment before the function fn is executed.
presenter() - Method in class org.netbeans.html.boot.spi.Fn
Provides the function implementation access to the presenter provided in the constructor.

S

showAndWait() - Method in class net.java.html.boot.BrowserBuilder
Shows the browser, loads specified page in and executes the initialization method.

T

toJava(Object) - Method in interface org.netbeans.html.boot.spi.Fn.FromJavaScript
Convert a JavaScript object into suitable Java representation before a Java method is called with this object as an argument.
toJavaScript(Object) - Method in interface org.netbeans.html.boot.spi.Fn.ToJavaScript
Convert a Java return value into some object suitable for JavaScript virtual machine.
A B C D F I J L N O P S T 
Skip navigation links

Copyright © 2017 NetBeans. All rights reserved.