|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IChannelTarget
Defines an interface to trigger client updates on server side events.
This interface is very similar to the API of the AjaxRequestTarget,
so users already familiar with AjaxRequestTarget should easily
find their way with this interface.
A IChannelTarget implementation can be used in IChannelListener
implementations.
IChannelListener,
IChannelService| Method Summary | |
|---|---|
void |
addComponent(org.apache.wicket.Component component)
Adds a component to the list of components to be rendered |
void |
addComponent(org.apache.wicket.Component component,
java.lang.String markupId)
Adds a component to the list of components to be rendered |
void |
appendJavascript(java.lang.String javascript)
Adds javascript that will be evaluated on the client side after components are replaced |
void |
focusComponent(org.apache.wicket.Component component)
Sets the focus in the browser to the given component. |
void |
prependJavascript(java.lang.String javascript)
Adds javascript that will be evaluated on the client side before components are replaced |
| Method Detail |
|---|
void addComponent(org.apache.wicket.Component component)
component - component to be rendered
void addComponent(org.apache.wicket.Component component,
java.lang.String markupId)
markupId - id of client-side dom element that will be updatedcomponent - component to be renderedvoid focusComponent(org.apache.wicket.Component component)
component - The component to get the focus.void appendJavascript(java.lang.String javascript)
javascript - void prependJavascript(java.lang.String javascript)
javascript -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||