Skip navigation links
A B C D E F G H I J K L M N O P R S T V W 

A

accessProperty(String) - Method in class org.netbeans.html.json.spi.Proto
A property on this proto object is about to be accessed.
accuracy(Coords) - Method in class org.netbeans.html.geo.spi.GLProvider
acquireLock() - Method in class org.netbeans.html.json.spi.Proto
Acquires global lock to compute a derived property on this proto object.
acquireLock(String) - Method in class org.netbeans.html.json.spi.Proto
Acquires global lock to compute a derived property on this proto object.
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.
altitude(Coords) - Method in class org.netbeans.html.geo.spi.GLProvider
altitudeAccuracy(Coords) - Method in class org.netbeans.html.geo.spi.GLProvider
Extracts value for Position.Coordinates.getAltitudeAccuracy() - the altitude accuracy is specified in meters.
app(String) - Method in class org.netbeans.html.presenters.spi.ProtoPresenterBuilder
The identification of the application.
applyBindings(Object) - Static method in class net.java.html.json.Models
Apply bindings of a model class to overall page.
applyBindings(Object, String) - Static method in class net.java.html.json.Models
Apply bindings of a model class.
applyBindings() - Method in class org.netbeans.html.json.spi.Proto
Initializes the associated model in the current context.
applyBindings(String) - Method in class org.netbeans.html.json.spi.Proto
Initializes the associated model to the specified element's subtree.
applyBindings(Data) - Method in interface org.netbeans.html.json.spi.Technology
Applies given data to current context (usually an HTML page).
applyBindings(String, D) - Method in interface org.netbeans.html.json.spi.Technology.ApplyId
Applies given data to current context (usually an element on an HTML page).
asList(T...) - Static method in class net.java.html.json.Models
Wrap provided values into mutable list.
attributes - Variable in class org.netbeans.html.presenters.render.JSC.JSClassDefinition
 
AudioClip - Class in net.java.html.sound
Handle to an audio clip which can be played, paused and etc.
AudioEnvironment<Audio> - Interface in org.netbeans.html.sound.spi
Basic interface for sound playback providers.

B

bind(Model, BrwsrCtx) - Static method in class net.java.html.json.Models
Binds given model to another context.
bind(PropertyBinding, Object, Data) - Method in interface org.netbeans.html.json.spi.Technology
Binds a property between the model and the data as used by the technology.
boolValue(Object) - Method in class org.netbeans.html.json.spi.Proto.Type
Converts the value to boolean.
Browser - Class in org.netbeans.html.presenters.browser
Browser based Fn.Presenter.
Browser() - Constructor for class org.netbeans.html.presenters.browser.Browser
Default constructor.
Browser(Browser.Config) - Constructor for class org.netbeans.html.presenters.browser.Browser
Browser configured by provided config.
Browser.Config - Class in org.netbeans.html.presenters.browser
Parameters to configure Browser.
BrowserBuilder - Class in net.java.html.boot
Use this builder to launch your Java/HTML based application.
BrwsrCtx - Class in net.java.html
Represents context where the net.java.html.json.Model and other objects operate in.
build() - Method in class net.java.html.boot.script.Scripts
Builds new instance of the scripting presenter.
build() - Method in class org.netbeans.html.context.spi.Contexts.Builder
Generates context based on values previously inserted into this builder.
build() - Method in class org.netbeans.html.presenters.spi.ProtoPresenterBuilder
Builds instance of presenter based on registered values.
Builder(Object[]) - Constructor for class org.netbeans.html.context.spi.Contexts.Builder
 

C

call(Object, Object) - Method in class org.netbeans.html.json.spi.FunctionBinding
Calls the function provided data associated with current element, as well as information about the event that triggered the event.
call(Model, int, Object, Object) - Method in class org.netbeans.html.json.spi.Proto.Type
Invokes a Proto.Type.registerFunction(java.lang.String, int) registered function on given object.
call(Pointer, Pointer, Pointer, int, PointerByReference, Pointer) - Method in class org.netbeans.html.presenters.webkit.WebKitPresenter.FnCallback
 
callAsConstructor - Variable in class org.netbeans.html.presenters.render.JSC.JSClassDefinition
 
callAsFunction - Variable in class org.netbeans.html.presenters.render.JSC.JSClassDefinition
 
callback(GLProvider.Query, long, Coords, Exception) - Method in class org.netbeans.html.geo.spi.GLProvider
Invoke this method when your provider obtained requested location.
callbackIsPrepared(String) - Method in class org.netbeans.html.presenters.spi.ProtoPresenterBuilder.OnPrepared
canFailWebSocketTest() - Method in class org.netbeans.html.json.tck.KnockoutTCK
Some implementations cannot fully support web sockets and fail.
charValue(Object) - Method in class org.netbeans.html.json.spi.Proto.Type
Converts the value to character.
classloader(ClassLoader) - Method in class net.java.html.boot.BrowserBuilder
Loader to use when searching for classes to initialize.
className - Variable in class org.netbeans.html.presenters.render.JSC.JSClassDefinition
 
cloneList(Collection<T>, BrwsrCtx, Collection<T>) - Method in class org.netbeans.html.json.spi.Proto
Copies content of one collection to another, re-assigning all its elements from their current context to the new ctx.
cloneTo(Model, BrwsrCtx) - Method in class org.netbeans.html.json.spi.Proto.Type
Re-binds the model object to new browser context.
close(WebSocket) - Method in interface org.netbeans.html.json.spi.WSTransfer
A request to close the socket.
close() - Method in class org.netbeans.html.presenters.browser.Browser
 
command(String) - Method in class org.netbeans.html.presenters.browser.Browser.Config
The command to use when invoking a browser.
composeURL(String) - Method in class org.netbeans.html.json.spi.JSONCall
 
ComputedProperty - Annotation Type in net.java.html.json
Can be used in classes annotated with Model annotation to define a derived property.
Config() - Constructor for class org.netbeans.html.presenters.browser.Browser.Config
Default constructor.
Contexts - Class in org.netbeans.html.context.spi
Factory class to assign various technologies to a browser context.
Contexts.Builder - Class in org.netbeans.html.context.spi
Support for providers of new BrwsrCtx.
Contexts.Id - Annotation Type in org.netbeans.html.context.spi
Identifies the technologies passed to context builder by a name.
Contexts.Provider - Interface in org.netbeans.html.context.spi
Implementors of various HTML technologies should register their implementation via org.openide.util.lookup.ServiceProvider, so ServiceLoader can find them, when their JARs are included on the classpath of the running application.
convertToType - Variable in class org.netbeans.html.presenters.render.JSC.JSClassDefinition
 
Coordinates() - Constructor for class net.java.html.geo.Position.Coordinates
 
copyJSON(BrwsrCtx, Object[], Class<T>, T[]) - Method in class org.netbeans.html.json.spi.Proto.Type
Converts and array of raw JSON objects into an array of typed Java Model classes.
create(String) - Static method in class net.java.html.sound.AudioClip
Creates new instance of an audio clip based on the provided URL.
create(String) - Method in interface org.netbeans.html.sound.spi.AudioEnvironment
Checks if the provided URL can be a supported audio stream and if so, it create an object to represent it.
createContext() - Method in class org.netbeans.html.json.tck.KnockoutTCK
Implement to create new context for the test.
createJSON(Map<String, Object>) - Method in class org.netbeans.html.json.tck.KnockoutTCK
Create a JSON object as seen by the technology
createList(String, int, String...) - Method in class org.netbeans.html.json.spi.Proto
Creates new JSON like observable list.
createProto(Object, BrwsrCtx) - Method in class org.netbeans.html.json.spi.Proto.Type
Creates new proto-object for given Model class bound to provided context.

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.
defineFn(String, String...) - Method in class org.netbeans.html.presenters.browser.Browser
 
defineFn(String, String[], boolean[]) - Method in class org.netbeans.html.presenters.browser.Browser
 
defineFn(String, String...) - Method in class org.netbeans.html.presenters.webkit.WebKitPresenter
 
defineFn(String, String[], boolean[]) - Method in class org.netbeans.html.presenters.webkit.WebKitPresenter
 
deleteProperty - Variable in class org.netbeans.html.presenters.render.JSC.JSClassDefinition
 
dispatcher(Executor, boolean) - Method in class org.netbeans.html.presenters.spi.ProtoPresenterBuilder
Registers the executor to run all tasks in.
displayer(ProtoPresenterBuilder.Displayer) - Method in class org.netbeans.html.presenters.spi.ProtoPresenterBuilder
Registers new displayer.
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.
displayPage(URL, Runnable) - Method in class org.netbeans.html.presenters.browser.Browser
 
displayPage(URL, Runnable) - Method in interface org.netbeans.html.presenters.spi.ProtoPresenterBuilder.Displayer
Display given URL and callback when the page is ready.
displayPage(URL, Runnable) - Method in class org.netbeans.html.presenters.webkit.WebKitPresenter
 

E

EMPTY - Static variable in class net.java.html.BrwsrCtx
Dummy context without binding to any real browser or technology.
engine(ScriptEngine) - Method in class net.java.html.boot.script.Scripts
Associates a scripting engine.
equals(Object) - Method in interface org.netbeans.html.boot.spi.Fn.Ref
Reference must properly implement Fn.Ref.hashCode() and Fn.Ref.equals(java.lang.Object).
eval(String) - Method in interface org.netbeans.html.presenters.spi.ProtoPresenterBuilder.Evaluator
Evaluates (potentially asynchronously) given code in the JavaScript engine.
execute(Runnable) - Method in class net.java.html.BrwsrCtx
Runs provided code in the context of this BrwsrCtx.
execute(Runnable) - Method in class org.netbeans.html.presenters.browser.Browser
 
execute(Runnable) - Method in class org.netbeans.html.presenters.render.Show
Executes a runnable on "UI thread".
execute(Runnable) - Method in class org.netbeans.html.presenters.webkit.WebKitPresenter
 
executeNow(String) - Method in class org.netbeans.html.json.tck.JavaScriptTCK
Executes JavaScript now.
executeScript(String, Object[]) - Method in class org.netbeans.html.json.tck.KnockoutTCK
Executes script in the context of current window
executor(Executor) - Method in class net.java.html.boot.script.Scripts
Associates new executor.
expose(FunctionBinding, Object, Data) - Method in interface org.netbeans.html.json.spi.Technology
 
extract(Object, String[], Object[]) - Method in class org.netbeans.html.json.spi.Proto
Takes an object representing JSON result and extract some of its properties.
extract(Object, String[], Object[]) - Method in interface org.netbeans.html.json.spi.Transfer
Called to inspect properties of an object (usually a JSON or JavaScript wrapper).
extractValue(Class<T>, Object) - Method in class org.netbeans.html.json.spi.Proto.Type
Extracts value of specific type from given object.

F

fillContext(Contexts.Builder, Class<?>) - Method in interface org.netbeans.html.context.spi.Contexts.Provider
Register into the context if suitable technology is available for the requesting class.
fillInByProviders(Class<?>, Contexts.Builder) - Static method in class org.netbeans.html.context.spi.Contexts
Seeks ServiceLoader for all registered instances of Contexts.Provider and asks them to fill the builder.
finalize - Variable in class org.netbeans.html.presenters.render.JSC.JSClassDefinition
 
find(BrwsrCtx, Class<Tech>) - Static method in class org.netbeans.html.context.spi.Contexts
Seeks for the specified technology in the provided context.
findDefault(Class<?>) - Static method in class net.java.html.BrwsrCtx
Seeks for the default context that is associated with the requesting class.
flush() - Method in class org.netbeans.html.presenters.browser.Browser
 
Fn - Class in org.netbeans.html.boot.spi
Represents single JavaScript function that can be invoked.
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.Ref<P extends Fn.Presenter> - Interface in org.netbeans.html.boot.spi
Reference to a Fn.Presenter.Each implementation of a Fn.Presenter may choose a way to reference itself (usually in a weak way) effectively.
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.
FnCallback(Object, Method) - Constructor for class org.netbeans.html.presenters.webkit.WebKitPresenter.FnCallback
 
fromRaw(BrwsrCtx, Class<M>, Object) - Static method in class net.java.html.json.Models
Converts an existing, raw, JSON object into a model class.
Function - Annotation Type in net.java.html.json
Methods in class annotated by Model can be annotated by this annotation to signal that they should be available as functions to users of the model classes.
FunctionBinding - Class in org.netbeans.html.json.spi
Describes a function provided by the Model and annotated by Function annotation.
FXBrowsers - Class in net.java.html.boot.fx
Utility methods to use WebView and JavaScriptBody code in existing JavaFX applications.

G

getAccuracy() - Method in class net.java.html.geo.Position.Coordinates
The accuracy attribute denotes the accuracy level of the latitude and longitude coordinates.
getAltitude() - Method in class net.java.html.geo.Position.Coordinates
Denotes the height of the position, specified in meters above the ellipsoid.
getAltitudeAccuracy() - Method in class net.java.html.geo.Position.Coordinates
The altitude accuracy is specified in meters.
getContext() - Method in class org.netbeans.html.json.spi.Proto
Browser context this proto object and its associated model are operating-in.
getCoords() - Method in class net.java.html.geo.Position
The actual location of the position.
getFieldOrder() - Method in class org.netbeans.html.presenters.render.JSC.JSClassDefinition
 
getFunctionName() - Method in class org.netbeans.html.json.spi.FunctionBinding
Returns name of the function.
getHeaders() - Method in class org.netbeans.html.json.spi.JSONCall
Additional headers to be included in the request.
getHeading() - Method in class net.java.html.geo.Position.Coordinates
Denotes the direction of travel of the device and is specified in degrees counting clockwise relative to the true north.
getLatitude() - Method in class net.java.html.geo.Position.Coordinates
 
getLongitude() - Method in class net.java.html.geo.Position.Coordinates
 
getMaximumAge() - Method in class org.netbeans.html.geo.spi.GLProvider.Query
Sets maximum age of cached results which are acceptable to be returned.
getMessage() - Method in class org.netbeans.html.json.spi.JSONCall
 
getMethod() - Method in class org.netbeans.html.json.spi.JSONCall
 
getProperty - Variable in class org.netbeans.html.presenters.render.JSC.JSClassDefinition
 
getPropertyName() - Method in class org.netbeans.html.json.spi.PropertyBinding
Name of the property this binding represents.
getPropertyNames - Variable in class org.netbeans.html.presenters.render.JSC.JSClassDefinition
 
getSpeed() - Method in class net.java.html.geo.Position.Coordinates
Denotes the magnitude of the horizontal component of the device's current velocity and is specified in meters per second.
getTimeout() - Method in class org.netbeans.html.geo.spi.GLProvider.Query
The amount of milliseconds to wait for a result.
getTimestamp() - Method in class net.java.html.geo.Position
The time when the position has been recorded.
getValue() - Method in class org.netbeans.html.json.spi.PropertyBinding
Obtains current value of the property this binding represents.
getValue(Model, int) - Method in class org.netbeans.html.json.spi.Proto.Type
Obtains and returns value of a registered property.
GLProvider<Coords,Watch> - Class in org.netbeans.html.geo.spi
SPI for those who wish to provide their own way of obtaining geolocation.
GLProvider() - Constructor for class org.netbeans.html.geo.spi.GLProvider
 
GLProvider.Query - Class in org.netbeans.html.geo.spi
Holds parameters describing the location query and is used by GLProvider to notify back results of its findings.

H

Handle(boolean) - Constructor for class net.java.html.geo.Position.Handle
Creates new instance of this handle.
hashCode() - Method in interface org.netbeans.html.boot.spi.Fn.Ref
Reference must properly implement Fn.Ref.hashCode() and Fn.Ref.equals(java.lang.Object).
hashPlus(Object, int) - Method in class org.netbeans.html.json.spi.Proto.Type
Cumulative hash function.
hasInstance - Variable in class org.netbeans.html.presenters.render.JSC.JSClassDefinition
 
hasProperty - Variable in class org.netbeans.html.presenters.render.JSC.JSClassDefinition
 
heading(Coords) - Method in class org.netbeans.html.geo.spi.GLProvider

I

initialize - Variable in class org.netbeans.html.presenters.render.JSC.JSClassDefinition
 
initTo(Collection<?>, Object) - Method in class org.netbeans.html.json.spi.Proto
Initializes the provided collection with a content of the array.
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.
isConstant() - Method in class org.netbeans.html.json.spi.PropertyBinding
Is this property constant?.
isDoOutput() - Method in class org.netbeans.html.json.spi.JSONCall
Do we have some data to send? Can the JSONCall.writeData(java.io.OutputStream) method be called?
isHighAccuracy() - Method in class org.netbeans.html.geo.spi.GLProvider.Query
Turns on high accuracy mode as specified by the W3C's Geolocation API.
isJSONP() - Method in class org.netbeans.html.json.spi.JSONCall
 
isModel(Class<?>) - Static method in class net.java.html.json.Models
Finds out whether given class is a model class - e.g.
isOneTime() - Method in class org.netbeans.html.geo.spi.GLProvider.Query
Is this one time or repeated request? Mimics value provided in constructor.
isReadOnly() - Method in class org.netbeans.html.json.spi.PropertyBinding
Is this property read only?.
isSame(int, int) - Method in class org.netbeans.html.json.spi.Proto.Type
Compares two objects that can be converted to integers.
isSame(double, double) - Method in class org.netbeans.html.json.spi.Proto.Type
Compares two objects that can be converted to (floating point) numbers.
isSame(Object, Object) - Method in class org.netbeans.html.json.spi.Proto.Type
Compares two objects for being the same - e.g.
isSupported() - Method in class net.java.html.geo.Position.Handle
Check whether the location API is supported.
isSupported() - Method in class net.java.html.sound.AudioClip
Check whether the audio clip is supported and can be played.
isSupported(Audio) - Method in interface org.netbeans.html.sound.spi.AudioEnvironment
Checks whether given audio is supported
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.
JavaScriptTCK - Class in org.netbeans.html.json.tck
Basic Test Compatibility Kit for people providing their own implementation of Fn.Presenter or any other system that understands JavaScriptBody annotation.
JavaScriptTCK() - Constructor for class org.netbeans.html.json.tck.JavaScriptTCK
Creates and registers instance of the TCK.
js2java(String, String, String, String, String) - Method in interface org.netbeans.html.presenters.spi.ProtoPresenter
Dispatches callback from JavaScript back into appropriate Java implementation.
JSC - Interface in org.netbeans.html.presenters.render
Interface to JavaScriptCore native library.
jsc() - Method in class org.netbeans.html.presenters.render.Show
Access to JavaScriptCore API of the browser window.
JSC.JSClassDefinition - Class in org.netbeans.html.presenters.render
Data to create new JSC class definition.
JSClassCreate(JSC.JSClassDefinition) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSClassDefinition(Callback) - Constructor for class org.netbeans.html.presenters.render.JSC.JSClassDefinition
 
jsContext() - Method in class org.netbeans.html.presenters.render.Show
Access to JavaScriptCore context.
JSContextGetGlobalObject(Pointer) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSEvaluateScript(Pointer, Pointer, Pointer, Pointer, int, PointerByReference) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSObjectCallAsFunction(Pointer, Pointer, Pointer, int, Pointer[], PointerByReference) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSObjectGetPrivate(Pointer) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSObjectGetProperty(Pointer, Pointer, Pointer, PointerByReference) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSObjectGetPropertyAtIndex(Pointer, Pointer, int, PointerByReference) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSObjectMake(Pointer, Pointer, Object) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSObjectMakeArray(Pointer, int, Pointer[], PointerByReference) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSObjectMakeFunction(Pointer, Pointer, int, Pointer[], Pointer, Pointer, int, PointerByReference) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSObjectMakeFunctionWithCallback(Pointer, Pointer, Callback) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSObjectSetProperty(Pointer, Pointer, Pointer, Pointer, int, PointerByReference) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSONCall - Class in org.netbeans.html.json.spi
Description of a JSON call request that is supposed to be processed by Transfer.loadJSON(org.netbeans.html.json.spi.JSONCall) implementors.
JSStringCreateWithUTF8CString(String) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSStringGetMaximumUTF8CStringSize(Pointer) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSStringGetUTF8CString(Pointer, Memory, int) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSStringIsEqual(Pointer, Pointer) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSStringIsEqualToUTF8CString(Pointer, String) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSStringRelease(Pointer) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSStringRetain(Pointer) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSValueGetType(Pointer, Pointer) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSValueIsObjectOfClass(Pointer, Pointer, Pointer) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSValueMakeBoolean(Pointer, boolean) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSValueMakeNull(Pointer) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSValueMakeNumber(Pointer, double) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSValueMakeString(Pointer, Pointer) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSValueProtect(Pointer, Pointer) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSValueToNumber(Pointer, Pointer, PointerByReference) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSValueToObject(Pointer, Pointer, PointerByReference) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSValueToStringCopy(Pointer, Pointer, PointerByReference) - Method in interface org.netbeans.html.presenters.render.JSC
 
JSValueUnprotect(Pointer, Pointer) - Method in interface org.netbeans.html.presenters.render.JSC
 

K

KnockoutTCK - Class in org.netbeans.html.json.tck
An enhanced, visual Test Compatibility Kit for people providing their own implementation of Fn.Presenter or any other system that understands JavaScriptBody annotation.
KnockoutTCK() - Constructor for class org.netbeans.html.json.tck.KnockoutTCK
 
KOTest - Annotation Type in org.netbeans.html.json.tck
Annotates method that is part of visual test compatibility kit or headless test compatibility kit and should be executed in appropriate environment.

L

latitude(Coords) - Method in class org.netbeans.html.geo.spi.GLProvider
load(WebView, URL, Class<?>, String, String...) - Static method in class net.java.html.boot.fx.FXBrowsers
Enables the Java/JavaScript bridge (that supports JavaScriptBody and co.) in the provided webView.
load(WebView, URL, Runnable) - Static method in class net.java.html.boot.fx.FXBrowsers
Enables the Java/JavaScript bridge (that supports JavaScriptBody and co.) in the provided webView.
load(WebView, URL, Runnable, ClassLoader) - Static method in class net.java.html.boot.fx.FXBrowsers
Enables the Java/JavaScript bridge (that supports JavaScriptBody and co.) in the provided webView.
load(WebView, URL, Runnable, ClassLoader, Object...) - Static method in class net.java.html.boot.fx.FXBrowsers
Enables the Java/JavaScript bridge (that supports JavaScriptBody and co.) in the provided webView.
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.
loadJavaScript(ProtoPresenterBuilder.Evaluator, boolean) - Method in class org.netbeans.html.presenters.spi.ProtoPresenterBuilder
Registers an implementation of ProtoPresenterBuilder.Evaluator.
loadJSON(int, String, String, String, Object) - Method in class org.netbeans.html.json.spi.Proto
Initializes asynchronous JSON connection to specified URL.
loadJSON(int, String, String, String, Object, Object...) - Method in class org.netbeans.html.json.spi.Proto
Initializes asynchronous JSON connection to specified URL.
loadJSON(JSONCall) - Method in interface org.netbeans.html.json.spi.Transfer
Starts the JSON or JSONP query.
loadJSONWithHeaders(int, String, String, String, String, Object, Object...) - Method in class org.netbeans.html.json.spi.Proto
Initializes asynchronous JSON connection to specified URL.
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.
loadScript(Reader) - Method in class org.netbeans.html.presenters.browser.Browser
 
loadScript(Reader) - Method in class org.netbeans.html.presenters.webkit.WebKitPresenter
 
locale(Locale) - Method in class net.java.html.boot.BrowserBuilder
Locale to use when searching for an initial page to load.
log(int, String, Object...) - Method in interface org.netbeans.html.presenters.spi.ProtoPresenterBuilder.Logger
Log a message.
logger(ProtoPresenterBuilder.Logger) - Method in class org.netbeans.html.presenters.spi.ProtoPresenterBuilder
Registers instance of logger.
longitude(Coords) - Method in class org.netbeans.html.geo.spi.GLProvider
lookup(Class<T>) - Method in interface org.netbeans.html.presenters.spi.ProtoPresenter
Looks for additional data stored in the presenter.

M

Model - Annotation Type in net.java.html.json
Defines a model class that represents a single JSON-like object named Model.className().
ModelOperation - Annotation Type in net.java.html.json
The threading model of classes generated by @Model requires that all operations are perform from the originating thread - unless they are invoked as @ModelOperation methods.
Models - Class in net.java.html.json
Information about and operations for classes generated by the @Model annotation.

N

net.java.html - package net.java.html
Representation of the browser context.
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.boot.fx - package net.java.html.boot.fx
Implementation of BrowserBuilder that renders using JavaFX WebView and additional utilities to configure individual WebViews.
net.java.html.boot.script - package net.java.html.boot.script
Factories to create headless browser environment which is useful for testing.
net.java.html.geo - package net.java.html.geo
HTML Geo API for Java provides annotation based way of obtaining geolocation information from a browser or any other device capable of providing it.
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.
net.java.html.json - package net.java.html.json
This API allows you to write your application logic in Java and present it using modern HTML rendering technologies like Knockout and communicate with a server via REST or WebSockets.
net.java.html.sound - package net.java.html.sound
Control sound in your HTML for Java applications.
newBrowser(Object...) - Static method in class net.java.html.boot.BrowserBuilder
Entry method to obtain a new browser builder.
newBuilder(Object...) - Static method in class org.netbeans.html.context.spi.Contexts
Creates new, empty builder for creation of BrwsrCtx.
newBuilder() - Static method in class org.netbeans.html.context.spi.Contexts
Creates new, empty builder for creation of BrwsrCtx.
newBuilder() - Static method in class org.netbeans.html.presenters.spi.ProtoPresenterBuilder
Starts building new, customized instance of ProtoPresenter.
newPresenter() - Static method in class net.java.html.boot.script.Scripts
Creates new scripting Fn.Presenter builder.
notifyError(Throwable) - Method in class org.netbeans.html.json.spi.JSONCall
 
notifySuccess(Object) - Method in class org.netbeans.html.json.spi.JSONCall
 
numberValue(Object) - Method in class org.netbeans.html.json.spi.Proto.Type
Converts the value to number.

O

onChange(Model, int) - Method in class org.netbeans.html.json.spi.Proto.Type
Called when a registered property changes its value.
onError(Exception) - Method in class net.java.html.geo.Position.Handle
Callback when an error occurs.
OnLocation - Annotation Type in net.java.html.geo
Generates a handle which can configure, start and stop requests for obtaining current location of the application/device/user.
onLocation(Position) - Method in class net.java.html.geo.Position.Handle
Callback from the implementation when a (new) position has been received and identified
onMessage(Model, int, int, Object) - Method in class org.netbeans.html.json.spi.Proto.Type
Called to report results of asynchronous over-the-wire communication.
onMessage(Model, int, int, Object, Object[]) - Method in class org.netbeans.html.json.spi.Proto.Type
Called to report results of asynchronous over-the-wire communication.
OnPropertyChange - Annotation Type in net.java.html.json
Marks a method that is going to be notified when a property defined by Model has been changed.
OnReceive - Annotation Type in net.java.html.json
Static methods in classes annotated by Model can be marked by this annotation to establish a JSON communication point.
open(String, JSONCall) - Method in interface org.netbeans.html.json.spi.WSTransfer
Initializes a web socket.
open(Fn.Presenter, Runnable, Runnable, boolean) - Static method in class org.netbeans.html.presenters.render.Show
Initializes native browser window.
org.netbeans.html.boot.spi - package org.netbeans.html.boot.spi
Interfaces for integrators of various execution environments. Not really interesting for clients.
org.netbeans.html.context.spi - package org.netbeans.html.context.spi
Service provider classes to build BrwsrCtx instances.
org.netbeans.html.geo.spi - package org.netbeans.html.geo.spi
Service provider interfaces for those willing to provide their own way of obtaining proper geolocation.
org.netbeans.html.json.spi - package org.netbeans.html.json.spi
Service Provider Interfaces for those who wish to integrate own technology with the HTML for Java API.
org.netbeans.html.json.tck - package org.netbeans.html.json.tck
Entry point to the test compatibility kit.
org.netbeans.html.presenters.browser - package org.netbeans.html.presenters.browser
Generic Browser presenter and its configuration.
org.netbeans.html.presenters.render - package org.netbeans.html.presenters.render
Show a browser component.
org.netbeans.html.presenters.spi - package org.netbeans.html.presenters.spi
The prototypical presenter based on textual protocol between JavaScript VM and Java VM.
org.netbeans.html.presenters.webkit - package org.netbeans.html.presenters.webkit
Native WebKitPresenter for Linux and Mac OS X.
org.netbeans.html.sound.spi - package org.netbeans.html.sound.spi
Give your AudioClip real behavior!

P

parentClass - Variable in class org.netbeans.html.presenters.render.JSC.JSClassDefinition
 
parse(BrwsrCtx, Class<M>, InputStream) - Static method in class net.java.html.json.Models
Generic method to parse content of a model class from a stream.
parse(BrwsrCtx, Class<M>, InputStream, Collection<? super M>) - Static method in class net.java.html.json.Models
Generic method to parse stream, that can possibly contain array of specified objects.
pause() - Method in class net.java.html.sound.AudioClip
Pauses playback of the clip
pause(Audio) - Method in interface org.netbeans.html.sound.spi.AudioEnvironment
Pauses playback of the audio.
play() - Method in class net.java.html.sound.AudioClip
Plays the clip from begining to the end.
play(Audio) - Method in interface org.netbeans.html.sound.spi.AudioEnvironment
Starts playback of the audio.
port(int) - Method in class org.netbeans.html.presenters.browser.Browser.Config
The port to start the server at.
Position - Class in net.java.html.geo
Class that represents a geolocation position provided as a callback to Position.Handle.onLocation(net.java.html.geo.Position) method.
Position(long, Position.Coordinates) - Constructor for class net.java.html.geo.Position
 
Position.Coordinates - Class in net.java.html.geo
Actual location of a Position.
Position.Handle - Class in net.java.html.geo
Rather than subclassing this class directly consider using OnLocation annotation.
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.
preparator(ProtoPresenterBuilder.Preparator, boolean) - Method in class org.netbeans.html.presenters.spi.ProtoPresenterBuilder
Registers instance of ProtoPresenterBuilder.Preparator.
prepare(ProtoPresenterBuilder.OnPrepared) - Method in interface org.netbeans.html.presenters.spi.ProtoPresenterBuilder.Preparator
 
prepareWebResource(String, String, String[]) - Method in class org.netbeans.html.json.tck.KnockoutTCK
Creates a URL which later returns content with given mimeType and content.
presenter() - Method in class org.netbeans.html.boot.spi.Fn
Provides the function implementation access to the presenter provided in the constructor.
presenter() - Method in interface org.netbeans.html.boot.spi.Fn.Ref
The associated presenter.
Property - Annotation Type in net.java.html.json
Represents a property in a class defined with Model annotation.
PropertyBinding - Class in org.netbeans.html.json.spi
Describes a property when one is asked to bind it
Proto - Class in org.netbeans.html.json.spi
Object associated with one instance of a model generated by the Model annotation.
Proto.Type<Model> - Class in org.netbeans.html.json.spi
Functionality used by the code generated by annotation processor for the Model annotation.
protoFor(Object) - Method in class org.netbeans.html.json.spi.Proto.Type
Finds out if there is an associated proto-object for given object.
ProtoPresenter - Interface in org.netbeans.html.presenters.spi
The prototypical presenter.
ProtoPresenterBuilder - Class in org.netbeans.html.presenters.spi
The prototypical presenter builder.
ProtoPresenterBuilder.Displayer - Interface in org.netbeans.html.presenters.spi
Interface to handle displaying of a URL.
ProtoPresenterBuilder.Evaluator - Interface in org.netbeans.html.presenters.spi
Interfaces for evaluation of JavaScript code.
ProtoPresenterBuilder.Logger - Interface in org.netbeans.html.presenters.spi
Implementation of a logging interface from the ProtoPresenter.
ProtoPresenterBuilder.OnPrepared - Class in org.netbeans.html.presenters.spi
ProtoPresenterBuilder.Preparator - Interface in org.netbeans.html.presenters.spi
Prepares the JavaScript environment.

R

read(Class<T>, Object) - Method in class org.netbeans.html.json.spi.Proto
Converts raw JSON data into a Java Model class.
read(BrwsrCtx, Object) - Method in class org.netbeans.html.json.spi.Proto.Type
Reads raw JSON data and converts them to our model class.
ref(Fn.Presenter) - Static method in class org.netbeans.html.boot.spi.Fn
Obtains a (usually weak) reference to the presenter.
reference() - Method in interface org.netbeans.html.boot.spi.Fn.Ref
Creates a reference to a presenter.
register(Class<Tech>, Tech, int) - Method in class org.netbeans.html.context.spi.Contexts.Builder
Registers new technology into the context.
register(Object) - Method in class org.netbeans.html.presenters.spi.ProtoPresenterBuilder
Registers additional data with the ProtoPresenter.The data can be obtained by ProtoPresenter.lookup(java.lang.Class<T>).
registerFunction(String, int) - Method in class org.netbeans.html.json.spi.Proto.Type
Registers function of given name at given index.
registerProperty(String, int, boolean) - Method in class org.netbeans.html.json.spi.Proto.Type
Registers property for the type.
registerProperty(String, int, boolean, boolean) - Method in class org.netbeans.html.json.spi.Proto.Type
Registers property for the type.
releaseLock() - Method in class org.netbeans.html.json.spi.Proto
When modifications are over, the model is switched into unlocked state by calling this method.
replaceValue(Collection<? super T>, Class<T>, Object) - Method in class org.netbeans.html.json.spi.Proto.Type
Special dealing with array & List values.
runInBrowser(WebView, Runnable) - Static method in class net.java.html.boot.fx.FXBrowsers
Executes a code inside of provided WebView.
runInBrowser(Runnable) - Method in class org.netbeans.html.json.spi.Proto
Invokes the provided runnable in the context of the browser.
runInBrowser(int, Object...) - Method in class org.netbeans.html.json.spi.Proto
Invokes the specified function index in the context of the browser.

S

sanitize(boolean) - Method in class net.java.html.boot.script.Scripts
Turn sandboxing of the engine on or off.
scheduleLater(int, Runnable) - Method in class org.netbeans.html.json.tck.KnockoutTCK
Schedules the given runnable to run later.
Scripts - Class in net.java.html.boot.script
Builder to create a Fn.Presenter that delegates to Java scripting API.
send(WebSocket, JSONCall) - Method in interface org.netbeans.html.json.spi.WSTransfer
Sends data to the server.
setHighAccuracy(boolean) - Method in class net.java.html.geo.Position.Handle
Turns on high accuracy mode as specified by the W3C's Geolocation API.
setMaximumAge(long) - Method in class net.java.html.geo.Position.Handle
Sets maximum age of cached results which are acceptable to be returned.
setProperty - Variable in class org.netbeans.html.presenters.render.JSC.JSClassDefinition
 
setTimeout(long) - Method in class net.java.html.geo.Position.Handle
The amount of milliseconds to wait for a result.
setValue(Object) - Method in class org.netbeans.html.json.spi.PropertyBinding
Changes value of the property.
setValue(Model, int, Object) - Method in class org.netbeans.html.json.spi.Proto.Type
Sets value of a registered property to new value.
setVolume(double) - Method in class net.java.html.sound.AudioClip
Specifies the volume of the audio.
setVolume(Audio, double) - Method in interface org.netbeans.html.sound.spi.AudioEnvironment
Changes volume for the playback of the audio.
Show - Class in org.netbeans.html.presenters.render
Support for displaying browser.
show(String, URI) - Static method in class org.netbeans.html.presenters.render.Show
Shows a page in a browser.
show(URI) - Method in class org.netbeans.html.presenters.render.Show
Loads a page into the browser window.
showAndWait() - Method in class net.java.html.boot.BrowserBuilder
Shows the browser, loads specified page in and executes the initialization method.
speed(Coords) - Method in class org.netbeans.html.geo.spi.GLProvider
start() - Method in class net.java.html.geo.Position.Handle
Initializes the query or watch request(s) and returns immediately.
start(GLProvider.Query) - Method in class org.netbeans.html.geo.spi.GLProvider
Start obtaining geolocation.
staticFunctions - Variable in class org.netbeans.html.presenters.render.JSC.JSClassDefinition
 
staticValues - Variable in class org.netbeans.html.presenters.render.JSC.JSClassDefinition
 
stop() - Method in class net.java.html.geo.Position.Handle
Stops all pending requests.
stop(Watch) - Method in class org.netbeans.html.geo.spi.GLProvider
Called when a geolocation request should be stopped.
stringValue(Object) - Method in class org.netbeans.html.json.spi.Proto.Type
Converts the value to string.

T

Technology<Data> - Interface in org.netbeans.html.json.spi
An implementation of a binding between model classes (see Model) and particular technology like knockout.js in a browser window, etc.Since introduction of technology identifiers one can choose between different background implementations to handle the conversion and communication requests.
Technology.ApplyId<D> - Interface in org.netbeans.html.json.spi
Apply technology bindings at selected subtree of the HTML page.
Technology.BatchCopy<D> - Interface in org.netbeans.html.json.spi
Extension of Technology.BatchInit with enhanced support for copying values.
Technology.BatchInit<D> - Interface in org.netbeans.html.json.spi
For certain rendering technologies it may be more efficient to register property and function bindings for one instance of the model at once, rather then doing it incrementally via Technology.expose(org.netbeans.html.json.spi.FunctionBinding, java.lang.Object, java.lang.Object) and Technology.bind(org.netbeans.html.json.spi.PropertyBinding, java.lang.Object, java.lang.Object).
Technology.ToJavaScript<D> - Interface in org.netbeans.html.json.spi
Convertor of the internal data type to object suitable as a JavaScript representation.
Technology.ValueMutated<D> - Interface in org.netbeans.html.json.spi
Some technologies are more effective when number of calls between Java and JavaScript is limited - to do that when a value of property is changed they should implement this additional interface.
testClasses() - Static method in class org.netbeans.html.json.tck.JavaScriptTCK
Gives you list of classes included in the TCK.
testClasses() - Static method in class org.netbeans.html.json.tck.KnockoutTCK
Gives you list of classes included in the TCK.
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.
toJavaScript(D) - Method in interface org.netbeans.html.json.spi.Technology.ToJavaScript
Extracts JavaScript ready representation.
toJSON(Object) - Method in class org.netbeans.html.json.spi.Proto.Type
Converts an object to its JSON value.
toJSON(InputStream) - Method in interface org.netbeans.html.json.spi.Transfer
Reads content of a stream and creates its JSON representation.
toModel(Class<T>, Object) - Method in class org.netbeans.html.json.spi.Proto
Converts raw JSON data into a Model class representation.
toModel(Class<M>, Object) - Method in interface org.netbeans.html.json.spi.Technology
Converts an element potentially representing a model into the model.
toNumber(Object, String) - Method in class org.netbeans.html.json.spi.Proto
Converts raw data (one of its properties) to a number representation.
toRaw(Object) - Static method in class net.java.html.json.Models
Converts an existing model into its associated, raw JSON object.
toString(Object, String) - Method in class org.netbeans.html.json.spi.Proto
Converts raw data (one of its properties) to string representation.
Transfer - Interface in org.netbeans.html.json.spi
A service provider interface responsible for conversion of JSON objects to Java ones and vice-versa.
Type(Class<? extends Model>, Class<?>, int, int) - Constructor for class org.netbeans.html.json.spi.Proto.Type
Constructor for subclasses generated by the annotation processor associated with Model annotation.
type(String) - Method in class org.netbeans.html.presenters.spi.ProtoPresenterBuilder
The type of the presenter (iOS, Android, etc.).

V

valueHasMutated(String) - Method in class org.netbeans.html.json.spi.Proto
Whenever model changes a property.
valueHasMutated(String, Object, Object) - Method in class org.netbeans.html.json.spi.Proto
Whenever model changes a property it should notify the associated technology.
valueHasMutated(Data, String) - Method in interface org.netbeans.html.json.spi.Technology
Model for given data has changed its value.
valueHasMutated(D, String, Object, Object) - Method in interface org.netbeans.html.json.spi.Technology.ValueMutated
Model for given data has changed its value.
verifyUnlocked() - Method in class org.netbeans.html.json.spi.Proto
Verifies the model is not locked otherwise throws an exception.
version - Variable in class org.netbeans.html.presenters.render.JSC.JSClassDefinition
 

W

weak() - Method in class org.netbeans.html.json.spi.FunctionBinding
Returns identical version of the binding, but one that holds on the original model object via weak reference.
weak() - Method in class org.netbeans.html.json.spi.PropertyBinding
Returns identical version of the binding, but one that holds on the original model object via weak reference.
WebKitPresenter - Class in org.netbeans.html.presenters.webkit
Displays using native WebKit component on Linux and Mac OS X.
WebKitPresenter() - Constructor for class org.netbeans.html.presenters.webkit.WebKitPresenter
Default constructor.
WebKitPresenter(boolean) - Constructor for class org.netbeans.html.presenters.webkit.WebKitPresenter
Visible or invisible presenter.
WebKitPresenter.FnCallback - Class in org.netbeans.html.presenters.webkit
 
wrapArray(Object[]) - Method in interface org.netbeans.html.json.spi.Technology
Some technologies may require wrapping a Java array into a special object.
wrapModel(Object, Object, PropertyBinding[], FunctionBinding[]) - Method in interface org.netbeans.html.json.spi.Technology.BatchCopy
Wrap the given model into rendering technology appropriate object D and expose given properties and functions on it.
wrapModel(Object, PropertyBinding[], FunctionBinding[]) - Method in interface org.netbeans.html.json.spi.Technology.BatchInit
Wrap the given model into rendering technology appropriate object D and expose given properties and functions on it.
wrapModel(Object) - Method in interface org.netbeans.html.json.spi.Technology
Creates an object to wrap the provided model object.
writeData(OutputStream) - Method in class org.netbeans.html.json.spi.JSONCall
 
wsOpen(int, String, Object) - Method in class org.netbeans.html.json.spi.Proto
Opens new WebSocket connection to the specified URL.
wsSend(Object, String, Object) - Method in class org.netbeans.html.json.spi.Proto
Sends a message to existing socket.
WSTransfer<WebSocket> - Interface in org.netbeans.html.json.spi
Interface for providers of WebSocket protocol.
A B C D E F G H I J K L M N O P R S T V W 
Skip navigation links

Copyright © 2021 The Apache Software Foundation. All rights reserved.