Java org.apache.wicket.ajax AjaxRequestTarget fields, constructors, methods, implement or subclass

Example usage for Java org.apache.wicket.ajax AjaxRequestTarget fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.wicket.ajax AjaxRequestTarget.

The text is from its open source code.

Subclass

org.apache.wicket.ajax.AjaxRequestTarget has subclasses.
Click this link to see all its subclasses.

Implementation

org.apache.wicket.ajax.AjaxRequestTarget has the following implementations.
Click this link to see all its implementation.

Constructor

Method

voidadd(final Component component, final String markupId)
Adds a component to the list of components to be rendered
voidadd(Component... components)
Adds components to the list of components to be rendered.
voidaddChildren(MarkupContainer parent, Class childCriteria)
Visits all children of the specified parent container and adds them to the target if they are of same type as childCriteria
voidaddListener(AjaxRequestTarget.IListener listener)
Adds a listener to this target
voidappendJavaScript(CharSequence javascript)
Adds javascript that will be evaluated on the client side after components are replaced

If the javascript needs to do something asynchronously (i.e.

voidfocusComponent(Component component)
Sets the focus in the browser to the given component.
CollectiongetComponents()
Returns an unmodifiable collection of all components added to this target
IHeaderResponsegetHeaderResponse()
Returns the header response associated with current handler.
StringgetLastFocusedElementId()
Returns the HTML id of the last focused element.
PagegetPage()
Returns the page.
voidprependJavaScript(CharSequence javascript)
Adds javascript that will be evaluated on the client side before components are replaced.