|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wicketstuff.push.cometd.CometdTarget
public class CometdTarget
This merthod is a wrapper of AjaxRequestTarget on
IChannelTarget used in CometdBehavior.
| Constructor Summary | |
|---|---|
CometdTarget(org.apache.wicket.ajax.AjaxRequestTarget target)
|
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CometdTarget(org.apache.wicket.ajax.AjaxRequestTarget target)
| Method Detail |
|---|
public void addComponent(org.apache.wicket.Component component)
IChannelTarget
addComponent in interface IChannelTargetcomponent - component to be rendered
public void addComponent(org.apache.wicket.Component component,
java.lang.String markupId)
IChannelTarget
addComponent in interface IChannelTargetcomponent - component to be renderedmarkupId - id of client-side dom element that will be updatedpublic void appendJavascript(java.lang.String javascript)
IChannelTarget
appendJavascript in interface IChannelTargetpublic void focusComponent(org.apache.wicket.Component component)
IChannelTarget
focusComponent in interface IChannelTargetcomponent - The component to get the focus.public void prependJavascript(java.lang.String javascript)
IChannelTarget
prependJavascript in interface IChannelTarget
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||