|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wicketstuff.push.timer.TimerChannelBehavior.TimerPushTarget
public static class TimerChannelBehavior.TimerPushTarget
An IPushTarget implementation which enqueue DelayedMethodCallList,
also called triggers, for a TimerChannelBehavior identified by its id.
TimerPushTarget are thread safe, and can be used from any thread.
Since it is not serializable, it is not intended to be stored in a wicket component.
| Constructor Summary | |
|---|---|
TimerChannelBehavior.TimerPushTarget(org.apache.wicket.Application application,
java.lang.String id,
org.apache.wicket.util.time.Duration timeout)
|
|
| 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. |
boolean |
isConnected()
|
void |
prependJavascript(java.lang.String javascript)
Adds javascript that will be evaluated on the client side before components are replaced |
void |
trigger()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimerChannelBehavior.TimerPushTarget(org.apache.wicket.Application application,
java.lang.String id,
org.apache.wicket.util.time.Duration timeout)
| Method Detail |
|---|
public void addComponent(org.apache.wicket.Component component)
IChannelTarget
addComponent in interface IChannelTargetcomponent - component to be renderedIAjaxPushBehavior#addComponent(Component)
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 updatedIAjaxPushBehavior#addComponent(Component, String)public void appendJavascript(java.lang.String javascript)
IChannelTarget
appendJavascript in interface IChannelTargetIAjaxPushBehavior#appendJavascript(String)public void focusComponent(org.apache.wicket.Component component)
IChannelTarget
focusComponent in interface IChannelTargetcomponent - The component to get the focus.IAjaxPushBehavior#focusComponent(Component)public void prependJavascript(java.lang.String javascript)
IChannelTarget
prependJavascript in interface IChannelTargetIAjaxPushBehavior#prependJavascript(String)public void trigger()
trigger in interface IPushTargetIAjaxPushBehavior#trigger()public boolean isConnected()
isConnected in interface IPushTarget
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||