Index

A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

add(String, String) - Method in class run.undead.url.Values
add adds a key/value pair to the Values object
addClass(String) - Method in class run.undead.js.JS
addClass adds css classes to DOM elements
addClass(AddClassOpts) - Method in class run.undead.js.JS
addClass adds css classes to DOM elements
AddClassOpts - Class in run.undead.js
AddClassOpts are the options for the add_class JS command.
AddClassOpts(String) - Constructor for class run.undead.js.AddClassOpts
AddClassOpts accepts css class names and adds them to element being targeted
AddClassOpts(String, String) - Constructor for class run.undead.js.AddClassOpts
AddClassOpts accepts css class names and a DOM selector to apply them to
AddClassOpts(String, String, Duration) - Constructor for class run.undead.js.AddClassOpts
AddClassOpts accepts css class names, a DOM selector to apply them to, and a duration for the transition.
AddClassOpts(String, String, Duration, Transition) - Constructor for class run.undead.js.AddClassOpts
AddClassOpts accepts css class names, a DOM selector to apply them to, a duration for the transition, and a Transition containing the css transition classes to apply.
addRoute(String, View) - Method in class run.undead.javalin.JavalinRouteMatcher
 
addRoute(String, View) - Method in interface run.undead.view.RouteMatcher
addRoute adds a route mapping the pathRegex to the View.
apply(T) - Method in interface run.undead.template.Directive.Case
 
asMap() - Method in class run.undead.url.Values
asMap returns the Values object as a Mapinvalid input: '<'String,Object> where Object is either a String or List
attr - Variable in class run.undead.js.ExecOpts
 
attr - Variable in class run.undead.js.RemoveAttrOpts
 
attr - Variable in class run.undead.js.SetAttrOpts
 

B

bubbles - Variable in class run.undead.js.DispatchOpts
 

C

changes() - Method in class run.undead.form.Form
Returns the changes for the form, that is, the fields that have changed since it was initialized and their current values.
classNames - Variable in class run.undead.js.AddClassOpts
 
classNames - Variable in class run.undead.js.RemoveClassOpts
 
Client Event Bindings - Search tag in class run.undead.template.UndeadTemplate
Section
Cmd - Interface in run.undead.js
Marker interface for JS commands that can be sent to the client.
concat(Collection<UndeadTemplate>) - Static method in class run.undead.template.UndeadTemplate
 
concat(UndeadTemplate...) - Static method in class run.undead.template.UndeadTemplate
concat concatenates multiple templates into a single template
Config - Class in run.undead.config
Config contains the configuration that is used across all Undead Views.
Config() - Constructor for class run.undead.config.Config
 
connected() - Method in interface run.undead.context.Context
connected is true if connected to a websocket, false for http request
connected() - Method in class run.undead.context.WsContext
 
Context - Interface in run.undead.context
Context abstracts the underlying transport mechanism (i.e.
csrfToken - Variable in class run.undead.context.WsContext
 

D

data() - Method in record class run.undead.event.SimpleUndeadEvent
Returns the value of the data record component.
data() - Method in record class run.undead.event.SimpleUndeadInfo
Returns the value of the data record component.
data() - Method in interface run.undead.event.UndeadEvent
data contains the Values associated with the event.
data() - Method in interface run.undead.event.UndeadInfo
data is the data associated with the event
data() - Method in class run.undead.form.Form
Returns the values for the form, that is, the last set of values that were passed to the form.
debug - Variable in class run.undead.config.Config
 
DEFAULT_DISPLAY - Static variable in class run.undead.js.JS
 
defaultOf(Function<T, UndeadTemplate>) - Static method in interface run.undead.template.Directive.Case
defaultOf creates a new case with the given function and a predicate that always returns true
defaultOf(UndeadTemplate) - Static method in interface run.undead.template.Directive.Case
 
delete(String) - Method in class run.undead.url.Values
remove removes a key/value pair from the Values object
detail - Variable in class run.undead.js.DispatchOpts
 
diff(String, Map) - Static method in class run.undead.protocol.Reply
 
Directive - Class in run.undead.template
 
Directive() - Constructor for class run.undead.template.Directive
 
Directive.Case<T> - Interface in run.undead.template
Case is a predicate and function pair used to model a case statement in a template.
dispatch(String) - Method in class run.undead.js.JS
dispatch dispatches an event to the DOM
dispatch(DispatchOpts) - Method in class run.undead.js.JS
dispatch dispatches an event to the DOM
DispatchOpts - Class in run.undead.js
DispatchOpts are the options for the dispatch JS command.
DispatchOpts(String) - Constructor for class run.undead.js.DispatchOpts
DispatchOpts accepts the name of the event to dispatch to the DOM
DispatchOpts(String, String) - Constructor for class run.undead.js.DispatchOpts
DispatchOpts accepts the name of the event to dispatch to the DOM and the DOM selector to dispatch it to
DispatchOpts(String, String, Map<String, Object>) - Constructor for class run.undead.js.DispatchOpts
DispatchOpts accepts the name of the event to dispatch to the DOM, the DOM selector to dispatch it to, and a map that sets the detail of the event.
DispatchOpts(String, String, Map<String, Object>, Boolean) - Constructor for class run.undead.js.DispatchOpts
DispatchOpts accepts the name of the event to dispatch to the DOM, the DOM selector the DOM selector to dispatch it to, and a map that sets the detail of the event, and a flag to control whether the event bubbles up the DOM tree or not.
display - Variable in class run.undead.js.ShowOpts
 
display - Variable in class run.undead.js.ToggleOpts
 

E

email() - Method in record class run.undead.javalin.example.view.model.UserModel
Returns the value of the email record component.
EMPTY - Static variable in class run.undead.template.Directive
 
equals(Object) - Method in record class run.undead.event.SimpleUndeadEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class run.undead.event.SimpleUndeadInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class run.undead.javalin.example.view.model.UserModel
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class run.undead.protocol.Msg
Indicates whether some other object is "equal to" this one.
errorFor(String) - Method in class run.undead.form.Form
Returns the error for the given field name.
ErrorMsg(Form, String) - Static method in class run.undead.javalin.example.view.tags.Input
ErrorMsg renders the error message for the given form and input name
errors() - Method in class run.undead.form.Form
Returns the errors for the form.
event - Variable in class run.undead.js.DispatchOpts
 
event - Variable in class run.undead.js.PushOpts
 
event() - Method in record class run.undead.protocol.Msg
Returns the value of the event record component.
exec(String) - Method in class run.undead.js.JS
exec executes JS commands located in element attributes
exec(ExecOpts) - Method in class run.undead.js.JS
exec executes JS commands located in element attributes
ExecOpts - Class in run.undead.js
ExecOpts are the options for the exec JS command.
ExecOpts(String) - Constructor for class run.undead.js.ExecOpts
ExecOpts takes the target attribute name that contains the JS Commands to execute.
ExecOpts(String, String) - Constructor for class run.undead.js.ExecOpts
ExecOpts takes the target attribute name that contains the JS Commands to execute and a DOM selector that contains the attribute.

F

focus() - Method in class run.undead.js.JS
focus sends focus to a selector
focus(String) - Method in class run.undead.js.JS
focus sends focus to a selector
focusFirst() - Method in class run.undead.js.JS
focusFirst sends focus to the first focusable child in selector
focusFirst(FocusFirstOpts) - Method in class run.undead.js.JS
focusFirst sends focus to the first focusable child in selector
FocusFirstOpts - Class in run.undead.js
FocusFirstOpts are the options for the focus_first command.
FocusFirstOpts() - Constructor for class run.undead.js.FocusFirstOpts
Applies focus_first to current element
FocusFirstOpts(String) - Constructor for class run.undead.js.FocusFirstOpts
Applies focus_first to the element specified by the DOM selector
FocusOpts - Class in run.undead.js
FocusOpts are the options for the focus command.
FocusOpts() - Constructor for class run.undead.js.FocusOpts
focus on current element
FocusOpts(String) - Constructor for class run.undead.js.FocusOpts
focus on the element specified by the DOM selector
Form<T> - Class in run.undead.form
Form makes it dead easy to validate and bind form data to a model in Undead.
Form(Class) - Constructor for class run.undead.form.Form
Create a new, empty form with the given model.
Form(Class, Values) - Constructor for class run.undead.form.Form
Create a new form with the given model and initial values.
Form Events - Search tag in class run.undead.template.UndeadTemplate
Section
from(String) - Static method in class run.undead.url.Values
from creates a Values object from a url encoded string
from(Map<String, String>) - Static method in class run.undead.url.Values
from creates a Values object from a Mapinvalid input: '<'String,String>
function() - Method in interface run.undead.template.Directive.Case
 

G

get(String) - Method in class run.undead.url.Values
get returns the first value for the given key or null if the key does not exist
getAll(String) - Method in class run.undead.url.Values
getAll returns all values for the given key or an empty list if the key does not exist

H

handle(Context) - Method in class run.undead.javalin.UndeadHandler
 
handle(View, MainLayout, RequestAdaptor, PageTitle, WrapperTemplate) - Static method in class run.undead.context.HttpHandler
Handle the HTTP request lifecycle for a View and either return the rendered HTML or redirect the request.
handleClose() - Method in class run.undead.context.WsContext
 
handleClose() - Method in class run.undead.context.WsHandler
 
handleError(Object) - Method in class run.undead.context.WsContext
 
handleError(Object) - Method in class run.undead.context.WsHandler
 
handleEvent(Context, UndeadEvent) - Method in class run.undead.javalin.example.view.UndeadCounter
 
handleEvent(Context, UndeadEvent) - Method in class run.undead.javalin.example.view.UndeadSalesDashboard
 
handleEvent(Context, UndeadEvent) - Method in class run.undead.javalin.example.view.UndeadUserForm
 
handleEvent(Context, UndeadEvent) - Method in interface run.undead.view.View
handleEvent is called when an event (click, keypress, etc) is received from the browser from an element that has a ud- attribute.
handleInfo(Context, UndeadInfo) - Method in class run.undead.javalin.example.view.UndeadSalesDashboard
 
handleInfo(Context, UndeadInfo) - Method in interface run.undead.view.View
handleInfo is called when an event (a.k.a info) is received from the server.
handleMessage(String) - Method in class run.undead.context.WsHandler
 
handleParams(Context, URI, Map) - Method in interface run.undead.view.View
handleParams is called once after mount and whenever there is a URI change.
has(String) - Method in class run.undead.url.Values
has returns true if the Values object contains the key
hashCode() - Method in record class run.undead.event.SimpleUndeadEvent
Returns a hash code value for this object.
hashCode() - Method in record class run.undead.event.SimpleUndeadInfo
Returns a hash code value for this object.
hashCode() - Method in record class run.undead.javalin.example.view.model.UserModel
Returns a hash code value for this object.
hashCode() - Method in record class run.undead.protocol.Msg
Returns a hash code value for this object.
heartbeat(Msg) - Static method in class run.undead.protocol.Reply
 
hide() - Method in class run.undead.js.JS
hide makes DOM elements invisible
hide(HideOpts) - Method in class run.undead.js.JS
hide makes DOM elements invisible
HideOpts - Class in run.undead.js
HideOpts are the options for the hide JS command.
HideOpts() - Constructor for class run.undead.js.HideOpts
hides the current element
HideOpts(String) - Constructor for class run.undead.js.HideOpts
hides the element specified by the DOM selector
HideOpts(String, Duration) - Constructor for class run.undead.js.HideOpts
hides the element specified by the DOM selector and a duration for the transition.
HideOpts(String, Duration, Transition) - Constructor for class run.undead.js.HideOpts
hides the element specified by the DOM selector, a duration for the transition, and a Transition containing the css transition classes to apply.
href - Variable in class run.undead.js.NavigateOpts
 
href - Variable in class run.undead.js.PatchOpts
 
HTML - Static variable in class run.undead.template.Directive
HTML is a string template processor that escapes all HTML entities in the template.
HttpContext - Class in run.undead.context
HttpContext implements the Context interface for the HTTP request lifecycle.
HttpContext(String, String) - Constructor for class run.undead.context.HttpContext
 
HttpHandler - Class in run.undead.context
HttpHandler handles the HTTP request lifecycle for a View and either returns the rendered HTML or redirects the request.
HttpHandler() - Constructor for class run.undead.context.HttpHandler
 

I

id - Variable in class run.undead.context.WsContext
 
id() - Method in interface run.undead.context.Context
id is the unique id of the Undead View instance
id() - Method in class run.undead.context.HttpContext
 
id() - Method in class run.undead.context.WsContext
 
If(Boolean, UndeadTemplate) - Static method in class run.undead.template.Directive
If models an if statement in a template.
If(Boolean, UndeadTemplate, UndeadTemplate) - Static method in class run.undead.template.Directive
If models a ternary operator in a template.
If(T, Predicate<T>, Function<T, UndeadTemplate>, Function<T, UndeadTemplate>) - Static method in class run.undead.template.Directive
If models a ternary operator in a template.
If(T, Directive.Case<T>) - Static method in class run.undead.template.Directive
If models an if statement in a template.
Input - Class in run.undead.javalin.example.view.tags
Input contains some helper tags for rendering form text inputs and their error messages.
Input() - Constructor for class run.undead.javalin.example.view.tags.Input
 
ins - Variable in class run.undead.js.ToggleOpts
 
Interface methods - Search tag in interface run.undead.view.View
Section

J

javalin() - Method in class run.undead.javalin.example.UndeadJavalin
Get the underlying Javalin instance.
JavalinRequestAdaptor - Class in run.undead.javalin
JavalinRequestAdaptor is an implementation of RequestAdaptor for Javalin HTTP requests.
JavalinRequestAdaptor(Context) - Constructor for class run.undead.javalin.JavalinRequestAdaptor
 
JavalinRouteMatcher - Class in run.undead.javalin
JavalinRouteMatcher is an implementation of RouteMatcher for Javalin.
JavalinRouteMatcher(RoutingConfig) - Constructor for class run.undead.javalin.JavalinRouteMatcher
JavalinRouteMatcher creates a new JavalinRouteMatcher with the given RoutingConfig for the Javalin server.
JavalinWsAdaptor - Class in run.undead.javalin
JavalinWsAdaptor connects Javalin websockets to the Undead WsHandler which handles the websocket lifecycle of the Undead View.
JavalinWsAdaptor(Config, WsConfig) - Constructor for class run.undead.javalin.JavalinWsAdaptor
 
JavalinWsSender - Class in run.undead.javalin
JavalinWsSender is an implementation of WsSender for Javalin websockets.
JavalinWsSender(WsContext) - Constructor for class run.undead.javalin.JavalinWsSender
 
Join(List<UndeadTemplate>, UndeadTemplate) - Static method in class run.undead.template.Directive
Join joins a list of templates with a separator template.
joinRef - Variable in class run.undead.context.WsContext
 
joinRef() - Method in record class run.undead.protocol.Msg
Returns the value of the joinRef record component.
JS - Class in run.undead.js
JS is a helper class for building JS commands that are rendered in UndeadTemplates.
JS() - Constructor for class run.undead.js.JS
 
JS Commands - Search tag in class run.undead.template.UndeadTemplate
Section

K

Keydown and Keyup Events - Search tag in class run.undead.template.UndeadTemplate
Section

L

listAdaptor - Static variable in class run.undead.js.JS
 
liveTitle(PageTitle) - Method in interface run.undead.template.MainLayout
 
loading - Variable in class run.undead.js.PushOpts
 

M

main(String[]) - Static method in class run.undead.javalin.example.Server
 
mainLayout - Variable in class run.undead.config.Config
 
MainLayout - Interface in run.undead.template
MainLayout wraps all Undead View with a common layout and typically contains HTML head and body tags including any css, javascript, and other static assets.
Map(Collection<T>, Function<T, UndeadTemplate>) - Static method in class run.undead.template.Directive
Map applies a function to each element of a collection and returns a list of the results
matches(String) - Method in class run.undead.javalin.JavalinRouteMatcher
 
matches(String) - Method in interface run.undead.view.RouteMatcher
matches returns a view if the path matches a route, otherwise null.
Meta - Class in run.undead.view
 
Meta() - Constructor for class run.undead.view.Meta
 
model() - Method in class run.undead.form.Form
Returns the latest model for the form with the form data bound to it.
moshi - Static variable in class run.undead.js.JS
 
mount(Context, Map, Map) - Method in class run.undead.javalin.example.view.UndeadCounter
 
mount(Context, Map, Map) - Method in class run.undead.javalin.example.view.UndeadSalesDashboard
 
mount(Context, Map, Map) - Method in interface run.undead.view.View
mount is called once for both the HTTP request/response and the WebSocket connection phase and is typically used to initialize the state of the View based on the sessionData and params.
Msg - Record Class in run.undead.protocol
 
Msg(String, String, String, String, Map<String, Object>) - Constructor for record class run.undead.protocol.Msg
Creates an instance of a Msg record class.
MsgParser - Class in run.undead.protocol
 
MsgParser() - Constructor for class run.undead.protocol.MsgParser
 
msgRef - Variable in class run.undead.context.WsContext
 
msgRef() - Method in record class run.undead.protocol.Msg
Returns the value of the msgRef record component.

N

name() - Method in record class run.undead.javalin.example.view.model.UserModel
Returns the value of the name record component.
navigate(String) - Method in class run.undead.js.JS
navigate sends a navigation event to the server and updates the browser's pushState history.
navigate(NavigateOpts) - Method in class run.undead.js.JS
navigate sends a navigation event to the server and updates the browser's pushState history.
NavigateOpts - Class in run.undead.js
NavigateOpts are the options for the navigate JS command.
NavigateOpts(String) - Constructor for class run.undead.js.NavigateOpts
sends a navigation event with given href to the server
NavigateOpts(String, Boolean) - Constructor for class run.undead.js.NavigateOpts
sends a navigation event with given href to the server
noEsc() - Method in class run.undead.template.UndeadTemplate
noEsc returns the template without escaping the dynamic parts of the template.
NoEscape(Object) - Static method in class run.undead.template.Directive
NoEscape ensures no additional HTML escaping occurs for this template which is useful when you want to embed HTML inside a template without it being escaped.

O

of(Boolean, UndeadTemplate) - Static method in interface run.undead.template.Directive.Case
 
of(Predicate<T>, Function<T, UndeadTemplate>) - Static method in interface run.undead.template.Directive.Case
of creates a new case with the given predicate and function
outs - Variable in class run.undead.js.ToggleOpts
 

P

pageLoading - Variable in class run.undead.js.PushOpts
 
pageTitle(String) - Method in interface run.undead.context.Context
pageTitle updates the `` tag of the View page.
pageTitle(String) - Method in class run.undead.context.WsContext
 
PageTitle - Class in run.undead.template
 
PageTitle() - Constructor for class run.undead.template.PageTitle
 
parseJSON(String) - Method in class run.undead.protocol.MsgParser
 
patch(String) - Method in class run.undead.js.JS
patch sends a patch event to the server
patch(PatchOpts) - Method in class run.undead.js.JS
patch sends a patch event to the server
PatchOpts - Class in run.undead.js
PatchOpts are the options for the patch JS command.
PatchOpts(String) - Constructor for class run.undead.js.PatchOpts
sends a patch event with given href to the server
PatchOpts(String, Boolean) - Constructor for class run.undead.js.PatchOpts
sends a patch event with given href to the server
path() - Method in interface run.undead.handle.http.RequestAdaptor
The path of the HTTP request
path() - Method in class run.undead.javalin.JavalinRequestAdaptor
 
pathParams() - Method in interface run.undead.handle.http.RequestAdaptor
The path parameters of the HTTP request
pathParams() - Method in class run.undead.javalin.JavalinRequestAdaptor
 
pathParams(String) - Method in class run.undead.javalin.JavalinRouteMatcher
 
pathParams(String) - Method in interface run.undead.view.RouteMatcher
pathParams returns a map of path parameters extracted from the path using the previously added pathRegex.
payload() - Method in record class run.undead.protocol.Msg
Returns the value of the payload record component.
Phase 1: HTTP Request/Response - Search tag in interface run.undead.view.View
Section
Phase 2: WebSocket Connection - Search tag in interface run.undead.view.View
Section
popFocus() - Method in class run.undead.js.JS
popFocus focuses the last pushed element
PopFocusOpts - Class in run.undead.js
PopFocusOpts are the options for the pop_focus command.
PopFocusOpts() - Constructor for class run.undead.js.PopFocusOpts
 
predicate() - Method in interface run.undead.template.Directive.Case
 
prefix() - Method in class run.undead.template.PageTitle
 
push(String) - Method in class run.undead.js.JS
push sends an event to the server
push(PushOpts) - Method in class run.undead.js.JS
push sends an event to the server
pushEvent(UndeadEvent) - Method in interface run.undead.context.Context
pushEvent pushes an event to the client.
pushEvent(UndeadEvent) - Method in class run.undead.context.WsContext
 
pushFocus(String) - Method in class run.undead.js.JS
pushFocus pushes focus from the source element to be later popped
pushFocus(PushFocusOpts) - Method in class run.undead.js.JS
pushFocus pushes focus from the source element to be later popped
PushFocusOpts - Class in run.undead.js
PushFocusOpts are the options for the push_focus command.
PushFocusOpts() - Constructor for class run.undead.js.PushFocusOpts
Pushes focus from the current element to be later popped with pop_focus.
PushFocusOpts(String) - Constructor for class run.undead.js.PushFocusOpts
Pushes focus from the current element to the element specified by the DOM selector to be later popped with pop_focus.
PushOpts - Class in run.undead.js
PushOpts are the options for the push command.
PushOpts(String) - Constructor for class run.undead.js.PushOpts
Pushes an event to the server.
PushOpts(String, String) - Constructor for class run.undead.js.PushOpts
Pushes an event to the server with a target.
PushOpts(String, String, String) - Constructor for class run.undead.js.PushOpts
Pushes an event to the server with a target and loading indicator.
PushOpts(String, String, String, Boolean) - Constructor for class run.undead.js.PushOpts
Pushes an event to the server with a target, loading indicator, and page loading indicator.
PushOpts(String, String, String, Boolean, Map) - Constructor for class run.undead.js.PushOpts
Pushes an event to the server with a target, loading indicator, page loading indicator, and values.

Q

queryParams() - Method in interface run.undead.handle.http.RequestAdaptor
The query parameters of the HTTP request
queryParams() - Method in class run.undead.javalin.JavalinRequestAdaptor
 

R

Range(int) - Static method in class run.undead.template.Directive
Range returns a list of integers from zero to end by step of 1
Range(int, int, int) - Static method in class run.undead.template.Directive
Range returns a list of integers from start to end by step
redirect - Variable in class run.undead.context.HttpContext
 
redirect - Variable in class run.undead.context.WsContext
 
redirect(String) - Method in interface run.undead.context.Context
 
redirect(String) - Method in class run.undead.context.HttpContext
 
redirect(String) - Method in class run.undead.context.WsContext
 
redirect(Msg, String) - Static method in class run.undead.protocol.Reply
 
removeAttr(String) - Method in class run.undead.js.JS
removeAttr removes an attribute from a DOM element
removeAttr(RemoveAttrOpts) - Method in class run.undead.js.JS
removeAttr removes an attribute from a DOM element
RemoveAttrOpts - Class in run.undead.js
RemoveAttrOpts are the options for the remove_attr command.
RemoveAttrOpts(String) - Constructor for class run.undead.js.RemoveAttrOpts
removes the attribute from the current element
RemoveAttrOpts(String, String) - Constructor for class run.undead.js.RemoveAttrOpts
removes the attribute from the element specified by the DOM selector
removeClass(String) - Method in class run.undead.js.JS
removeClass removes css classes from DOM elements
removeClass(RemoveClassOpts) - Method in class run.undead.js.JS
removeClass removes css classes from DOM elements
RemoveClassOpts - Class in run.undead.js
RemoveClassOpts are the options for the remove_class JS command.
RemoveClassOpts(String) - Constructor for class run.undead.js.RemoveClassOpts
removes the specified classes from the current element
RemoveClassOpts(String, String) - Constructor for class run.undead.js.RemoveClassOpts
removes the specified classes from the current element
RemoveClassOpts(String, String, Duration) - Constructor for class run.undead.js.RemoveClassOpts
removes the specified classes from the current element
RemoveClassOpts(String, String, Duration, Transition) - Constructor for class run.undead.js.RemoveClassOpts
removes the specified classes from the current element
render(Map, UndeadTemplate) - Method in interface run.undead.template.WrapperTemplate
 
render(PageTitle, String, UndeadTemplate) - Method in interface run.undead.template.MainLayout
render wraps the given content with a common layout and typically contains HTML head and body tags including any css, javascript, and other static assets.
render(Meta) - Method in class run.undead.javalin.example.view.UndeadCounter
 
render(Meta) - Method in class run.undead.javalin.example.view.UndeadSalesDashboard
 
render(Meta) - Method in class run.undead.javalin.example.view.UndeadUserForm
 
render(Meta) - Method in interface run.undead.view.View
render returns an UndeadTemplate based on the state of the View.
rendered(Msg, Map) - Static method in class run.undead.protocol.Reply
 
replace - Variable in class run.undead.js.NavigateOpts
 
replace - Variable in class run.undead.js.PatchOpts
 
Reply - Class in run.undead.protocol
 
Reply() - Constructor for class run.undead.protocol.Reply
 
replyDiff(Msg, Map) - Static method in class run.undead.protocol.Reply
 
RequestAdaptor - Interface in run.undead.handle.http
RequestAdaptor is an interface for adapting the HTTP request from a server framework to the Undead render lifecycle.
routeMatcher - Variable in class run.undead.config.Config
 
RouteMatcher - Interface in run.undead.view
RouteMatcher is an interface for matching an HTTP request path to a view and extracting path parameters from a path.
run.undead.config - package run.undead.config
 
run.undead.context - package run.undead.context
 
run.undead.event - package run.undead.event
 
run.undead.form - package run.undead.form
 
run.undead.handle.http - package run.undead.handle.http
 
run.undead.javalin - package run.undead.javalin
 
run.undead.javalin.example - package run.undead.javalin.example
 
run.undead.javalin.example.view - package run.undead.javalin.example.view
 
run.undead.javalin.example.view.model - package run.undead.javalin.example.view.model
 
run.undead.javalin.example.view.tags - package run.undead.javalin.example.view.tags
 
run.undead.js - package run.undead.js
 
run.undead.protocol - package run.undead.protocol
 
run.undead.template - package run.undead.template
 
run.undead.url - package run.undead.url
 
run.undead.view - package run.undead.view
 

S

send(String) - Method in interface run.undead.context.WsSender
Send string data to the client over the websocket.
send(String) - Method in class run.undead.javalin.JavalinWsSender
 
sender - Variable in class run.undead.context.WsContext
 
sendInfo(UndeadInfo) - Method in interface run.undead.context.Context
sendInfo sends an internal server message to this View instance.
sendInfo(UndeadInfo) - Method in class run.undead.context.WsContext
 
Server - Class in run.undead.javalin.example
Server is a simple Javalin server that uses Undead to render rich, dynamic views.
Server() - Constructor for class run.undead.javalin.example.Server
 
sessionData() - Method in interface run.undead.handle.http.RequestAdaptor
The session data from the HTTP request
sessionData() - Method in class run.undead.javalin.JavalinRequestAdaptor
 
set(String, Object) - Method in class run.undead.url.Values
set sets the value for the given key.
setAttr(String, String) - Method in class run.undead.js.JS
setAttr sets an attribute on a DOM element
setAttr(SetAttrOpts) - Method in class run.undead.js.JS
setAttr sets an attribute on a DOM element
SetAttrOpts - Class in run.undead.js
SetAttrOpts are the options for the set_attr command.
SetAttrOpts(String, String) - Constructor for class run.undead.js.SetAttrOpts
sets the attribute on the current element
SetAttrOpts(String, String, String) - Constructor for class run.undead.js.SetAttrOpts
sets the attribute on the element specified by the DOM selector
setWsSender(WsSender) - Method in class run.undead.context.WsHandler
 
show() - Method in class run.undead.js.JS
show makes DOM elements visible
show(ShowOpts) - Method in class run.undead.js.JS
show makes DOM elements visible
ShowOpts - Class in run.undead.js
ShowOpts are the options for the show JS command.
ShowOpts() - Constructor for class run.undead.js.ShowOpts
shows the current element
ShowOpts(String) - Constructor for class run.undead.js.ShowOpts
shows the element specified by the DOM selector
ShowOpts(String, Duration) - Constructor for class run.undead.js.ShowOpts
shows the element specified by the DOM selector and a duration for the transition.
ShowOpts(String, Duration, Transition) - Constructor for class run.undead.js.ShowOpts
shows the element specified by the DOM selector, a duration for the transition, and a Transition containing the css transition classes to apply.
ShowOpts(String, Duration, Transition, String) - Constructor for class run.undead.js.ShowOpts
shows the element specified by the DOM selector, a duration for the transition, and a Transition containing the css transition classes to apply.
shutdown() - Method in class run.undead.javalin.example.view.UndeadSalesDashboard
 
shutdown() - Method in interface run.undead.view.View
shutdown is called when the View is shutting down and is a good place to clean up any resources, timers, connections, etc.
SimpleUndeadEvent - Record Class in run.undead.event
SimpleUndeadEvent is a simple implementation of UndeadEvent that is used internally by Undead.
SimpleUndeadEvent(String, Values) - Constructor for record class run.undead.event.SimpleUndeadEvent
Creates an instance of a SimpleUndeadEvent record class.
SimpleUndeadInfo - Record Class in run.undead.event
SimpleUndeadInfo is a simple implementation of UndeadInfo that is used internally by Undead.
SimpleUndeadInfo(String, Map) - Constructor for record class run.undead.event.SimpleUndeadInfo
Creates an instance of a SimpleUndeadInfo record class.
suffix() - Method in class run.undead.template.PageTitle
 
Switch(T, Directive.Case<T>...) - Static method in class run.undead.template.Directive
Switch is a switch statement for templates.

T

target - Variable in class run.undead.js.PushOpts
 
test(T) - Method in interface run.undead.template.Directive.Case
 
TextInput(Form, String, String...) - Static method in class run.undead.javalin.example.view.tags.Input
TextInput renders a text input with the given name and value with the optional css classes.
Throttling / Debouncing - Search tag in class run.undead.template.UndeadTemplate
Section
time - Variable in class run.undead.js.AddClassOpts
 
time - Variable in class run.undead.js.HideOpts
 
time - Variable in class run.undead.js.RemoveClassOpts
 
time - Variable in class run.undead.js.ShowOpts
 
time - Variable in class run.undead.js.ToggleOpts
 
time - Variable in class run.undead.js.TransitionOpts
 
title() - Method in class run.undead.template.PageTitle
 
to - Variable in class run.undead.js.AddClassOpts
 
to - Variable in class run.undead.js.DispatchOpts
 
to - Variable in class run.undead.js.ExecOpts
 
to - Variable in class run.undead.js.FocusFirstOpts
 
to - Variable in class run.undead.js.FocusOpts
 
to - Variable in class run.undead.js.HideOpts
 
to - Variable in class run.undead.js.PushFocusOpts
 
to - Variable in class run.undead.js.RemoveAttrOpts
 
to - Variable in class run.undead.js.RemoveClassOpts
 
to - Variable in class run.undead.js.SetAttrOpts
 
to - Variable in class run.undead.js.ShowOpts
 
to - Variable in class run.undead.js.ToggleOpts
 
to - Variable in class run.undead.js.TransitionOpts
 
toggle() - Method in class run.undead.js.JS
toggle toggles the visibility of DOM elements
toggle(ToggleOpts) - Method in class run.undead.js.JS
toggle toggles the visibility of DOM elements
ToggleOpts - Class in run.undead.js
ToggleOpts are the options for the toggle JS command.
ToggleOpts() - Constructor for class run.undead.js.ToggleOpts
toggles the visibility of the current element
ToggleOpts(String) - Constructor for class run.undead.js.ToggleOpts
toggles the visibility of the element specified by the DOM selector
ToggleOpts(String, Duration) - Constructor for class run.undead.js.ToggleOpts
toggles the visibility of the element specified by the DOM selector and a duration for the transition.
ToggleOpts(String, Duration, Transition) - Constructor for class run.undead.js.ToggleOpts
toggles the visibility of the element specified by the DOM selector, a duration for the transition, and a Transition containing the css transition classes to apply when showing the element.
ToggleOpts(String, Duration, Transition, Transition) - Constructor for class run.undead.js.ToggleOpts
toggles the visibility of the element specified by the DOM selector, a duration for the transition, a Transition containing the css transition classes to apply when showing the element and a Transition containing the css transition classes to apply when hiding the element.
ToggleOpts(String, Duration, Transition, Transition, String) - Constructor for class run.undead.js.ToggleOpts
toggles the visibility of the element specified by the DOM selector, a duration for the transition, a Transition containing the css transition classes to apply when showing the element, a Transition containing the css transition classes to apply when hiding the element and a css display property to apply when showing the element.
toJSON() - Method in class run.undead.js.AddClassOpts
 
toJSON() - Method in interface run.undead.js.Cmd
 
toJSON() - Method in class run.undead.js.DispatchOpts
 
toJSON() - Method in class run.undead.js.ExecOpts
 
toJSON() - Method in class run.undead.js.FocusFirstOpts
 
toJSON() - Method in class run.undead.js.FocusOpts
 
toJSON() - Method in class run.undead.js.HideOpts
 
toJSON() - Method in class run.undead.js.JS
`toJSON` returns the JSON String representation of the JS commands.
toJSON() - Method in class run.undead.js.NavigateOpts
 
toJSON() - Method in class run.undead.js.PatchOpts
 
toJSON() - Method in class run.undead.js.PopFocusOpts
 
toJSON() - Method in class run.undead.js.PushFocusOpts
 
toJSON() - Method in class run.undead.js.PushOpts
 
toJSON() - Method in class run.undead.js.RemoveAttrOpts
 
toJSON() - Method in class run.undead.js.RemoveClassOpts
 
toJSON() - Method in class run.undead.js.SetAttrOpts
 
toJSON() - Method in class run.undead.js.ShowOpts
 
toJSON() - Method in class run.undead.js.ToggleOpts
 
toJSON() - Method in class run.undead.js.TransitionOpts
 
toParts() - Method in class run.undead.template.UndeadTemplate
toParts returns the parts of the template as a Map of String to Object.
topic() - Method in record class run.undead.protocol.Msg
Returns the value of the topic record component.
toString() - Method in record class run.undead.event.SimpleUndeadEvent
Returns a string representation of this record class.
toString() - Method in record class run.undead.event.SimpleUndeadInfo
Returns a string representation of this record class.
toString() - Method in record class run.undead.javalin.example.view.model.UserModel
Returns a string representation of this record class.
toString() - Method in record class run.undead.protocol.Msg
Returns a string representation of this record class.
toString() - Method in class run.undead.template.UndeadTemplate
toString returns the HTML string representation of the template
toString() - Method in class run.undead.url.Values
toString returns the keys and values in the Values Note: this is not suitable for use in a query string
transition - Variable in class run.undead.js.AddClassOpts
 
transition - Variable in class run.undead.js.HideOpts
 
transition - Variable in class run.undead.js.RemoveClassOpts
 
transition - Variable in class run.undead.js.ShowOpts
 
transition - Variable in class run.undead.js.TransitionOpts
 
transition(TransitionOpts) - Method in class run.undead.js.JS
transition applies a css transition to a DOM element
TransitionOpts - Class in run.undead.js
TransitionOpts are the options for the transition JS command.
TransitionOpts(Transition) - Constructor for class run.undead.js.TransitionOpts
transitions the current element
TransitionOpts(Transition, String) - Constructor for class run.undead.js.TransitionOpts
transitions the element specified by the DOM selector
TransitionOpts(Transition, String, Duration) - Constructor for class run.undead.js.TransitionOpts
transitions the element specified by the DOM selector and a duration for the transition.
trim() - Method in class run.undead.template.UndeadTemplate
trim removes whitespace from front and back of template returning a new instance of an UndeadTemplate
type() - Method in record class run.undead.event.SimpleUndeadEvent
Returns the value of the type record component.
type() - Method in record class run.undead.event.SimpleUndeadInfo
Returns the value of the type record component.
type() - Method in interface run.undead.event.UndeadEvent
type is the type of the event.
type() - Method in interface run.undead.event.UndeadInfo
type is the type of event

U

undead(String, View) - Method in class run.undead.javalin.example.UndeadJavalin
Registers an Undead View with the Javalin server for the given path.
UndeadCounter - Class in run.undead.javalin.example.view
 
UndeadCounter() - Constructor for class run.undead.javalin.example.view.UndeadCounter
 
UndeadEvent - Interface in run.undead.event
UndeadEvent is the interface for all events that are received from the browser.
UndeadHandler - Class in run.undead.javalin
A Javalin Handler that handles the HTTP request lifecycle of Undead Views
UndeadHandler(Config, View) - Constructor for class run.undead.javalin.UndeadHandler
Constructs a new UndeadHandler with the given Config and View.
UndeadInfo - Interface in run.undead.event
UndeadInfo is the interface for all events that are from the server (either from a Context.sendInfo(UndeadInfo) or from a pub/sub subscription.
UndeadJavalin - Class in run.undead.javalin.example
UndeadJavalin is a wrapper around Javalin that provides a simple API for registering View to server routes.
UndeadJavalin(Javalin, Config) - Constructor for class run.undead.javalin.example.UndeadJavalin
 
UndeadSalesDashboard - Class in run.undead.javalin.example.view
UndeadSalesDashboard is a simple example of a liveview that displays some stats that refresh every second.
UndeadSalesDashboard() - Constructor for class run.undead.javalin.example.view.UndeadSalesDashboard
 
UndeadTemplate - Class in run.undead.template
UndeadTemplate is a StringTemplatePREVIEW based template engine that is designed to work with Undead (i.e.
UndeadTemplate(StringTemplate) - Constructor for class run.undead.template.UndeadTemplate
 
UndeadUserForm - Class in run.undead.javalin.example.view
UndeadUserForm is a simple form that uses Undead's Form to validate and save a UserModel and display the user once saved.
UndeadUserForm() - Constructor for class run.undead.javalin.example.view.UndeadUserForm
 
update(Values, String) - Method in class run.undead.form.Form
Updates the form with new values and an action.
url - Variable in class run.undead.context.WsContext
 
url() - Method in interface run.undead.context.Context
url is the URL for this View
url() - Method in class run.undead.context.HttpContext
 
url() - Method in class run.undead.context.WsContext
 
url() - Method in interface run.undead.handle.http.RequestAdaptor
The URL of the HTTP request
url() - Method in class run.undead.javalin.JavalinRequestAdaptor
 
UserModel - Record Class in run.undead.javalin.example.view.model
UserModel is a simple model for a user with a name and email with Jakarta Bean Validation annotations for use with Undead's Form.
UserModel(String, String) - Constructor for record class run.undead.javalin.example.view.model.UserModel
Creates an instance of a UserModel record class.

V

valid() - Method in class run.undead.form.Form
Returns whether or not the form is "valid".
value - Variable in class run.undead.js.SetAttrOpts
 
Value Attribute - Search tag in class run.undead.template.UndeadTemplate
Section
values - Variable in class run.undead.js.PushOpts
 
Values - Class in run.undead.url
Values is a convenience wrapper around Multimapinvalid input: '<'String,String>.
Values() - Constructor for class run.undead.url.Values
 
view - Variable in class run.undead.context.WsContext
 
view() - Method in class run.undead.javalin.UndeadHandler
 
View - Interface in run.undead.view
The View interface defines the lifecycle callbacks for an Undead View.
View Lifecycle - Search tag in interface run.undead.view.View
Section

W

willRedirect(String) - Method in interface run.undead.handle.http.RequestAdaptor
A callback to deliver redirect URLs to the server framework
willRedirect(String) - Method in class run.undead.javalin.JavalinRequestAdaptor
 
withPageTitleConfig(PageTitle) - Method in class run.undead.javalin.UndeadHandler
 
withPrefix(String) - Method in class run.undead.template.PageTitle
 
withSuffix(String) - Method in class run.undead.template.PageTitle
 
withTitle(String) - Method in class run.undead.template.PageTitle
 
wrapperTemplate - Variable in class run.undead.config.Config
 
WrapperTemplate - Interface in run.undead.template
 
WsContext - Class in run.undead.context
WsContext is an implementation of the Context for the WebSocket lifecycle.
WsContext(String, String, View) - Constructor for class run.undead.context.WsContext
 
WsHandler - Class in run.undead.context
WsHandler handles the websocket request lifecycle for a View
WsHandler(Config) - Constructor for class run.undead.context.WsHandler
 
WsSender - Interface in run.undead.context
WsSender is an interface for sending String data to the websocket client.
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values