Skip navigation links
A B C F I M N O P R T 

A

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.
asList(T...) - Static method in class net.java.html.json.Models
Wrap provided values into mutable list.

B

bind(Model, BrwsrCtx) - Static method in class net.java.html.json.Models
Binds given model to another context.

C

ComputedProperty - Annotation Type in net.java.html.json
Can be used in classes annotated with Model annotation to define a derived property.

F

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.

I

isModel(Class<?>) - Static method in class net.java.html.json.Models
Finds out whether given class is a model class - e.g.

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

O

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.

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.
Property - Annotation Type in net.java.html.json
Represents a property in a class defined with Model annotation.

R

react(Runnable, Executor) - Static method in class net.java.html.json.Models
Runs provided action immediately and then again and again when reaction to changes is needed.

T

toRaw(Object) - Static method in class net.java.html.json.Models
Converts an existing model into its associated, raw JSON object.
A B C F I M N O P R T 
Skip navigation links

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