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.
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.
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.
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 org.netbeans.html.context.spi.Contexts.Builder
Generates context based on values previously inserted into this builder.
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.
callback(GLProvider.Query, long, Coords, Exception) - Method in class org.netbeans.html.geo.spi.GLProvider
Invoke this method when your provider obtained requested location.
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.
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.
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.
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.
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.
createPresenter() - Static method in class net.java.html.boot.script.Scripts
Simple implementation of Fn.Presenter that delegates to Java scripting API.
createPresenter(Executor) - Static method in class net.java.html.boot.script.Scripts
Implementation of Fn.Presenter that delegates to Java scripting API and can control execution thread.
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.
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.

E

EMPTY - Static variable in class net.java.html.BrwsrCtx
Dummy context without binding to any real browser or technology.
execute(Runnable) - Method in class net.java.html.BrwsrCtx
Runs provided code in the context of this BrwsrCtx.
executeScript(String, Object[]) - Method in class org.netbeans.html.json.tck.KnockoutTCK
Executes script in the context of current window
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.
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.
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.
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.
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
 
getPropertyName() - Method in class org.netbeans.html.json.spi.PropertyBinding
Name of the property this binding represents.
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.
hashPlus(Object, int) - Method in class org.netbeans.html.json.spi.Proto.Type
Cumulative hash function.
heading(Coords) - Method in class org.netbeans.html.geo.spi.GLProvider

I

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?
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. has been generated by @Model annotation.
isOneTime() - Method in class org.netbeans.html.geo.spi.GLProvider.Query
Is this one time or repeated request?
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. either == or equals.
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
Entry point for those who want to verify that their implementation of Fn.Presenter is good enough to support existing Java/JavaScript communication use-cases.
JavaScriptTCK() - Constructor for class org.netbeans.html.json.tck.JavaScriptTCK
 
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.

K

KnockoutTCK - Class in org.netbeans.html.json.tck
Entry point for providers of different HTML binding technologies (like Knockout.js in JavaFX's WebView).
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 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.)
load(WebView, URL, Runnable) - Static method in class net.java.html.boot.fx.FXBrowsers
Enables the Java/JavaScript bridge (that supports JavaScriptBody and co.)
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.)
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.)
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.
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.
locale(Locale) - Method in class net.java.html.boot.BrowserBuilder
Locale to use when searching for an initial page to load.
longitude(Coords) - Method in class org.netbeans.html.geo.spi.GLProvider

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.
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.
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.
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.
org.netbeans.html.boot.spi - package org.netbeans.html.boot.spi
Interfaces for integrators of various execution environments.
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.sound.spi - package org.netbeans.html.sound.spi
Give your AudioClip real behavior!

P

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.
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.
prepareURL(String, String, String[]) - Method in class org.netbeans.html.json.tck.KnockoutTCK
Deprecated.
provide KnockoutTCK.prepareWebResource(java.lang.String, java.lang.String, java.lang.String[]) implementation instead since post 1.4 version of HTML/Java API.
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.
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.

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.
register(Class<Tech>, Tech, int) - Method in class org.netbeans.html.context.spi.Contexts.Builder
Registers new technology into the context.
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.
runSafe(Runnable) - Method in interface org.netbeans.html.json.spi.Technology

S

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
Implementations of Fn.Presenters that delegate 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.
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.
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.
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.

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 propertyit 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.

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.
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 © 2018 NetBeans. All rights reserved.