|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.ajax.attributes.ThrottlingSettings
public class ThrottlingSettings
Class to keep track of throttling settings.
| Constructor Summary | |
|---|---|
ThrottlingSettings(String id,
Duration delay)
Construct. |
|
ThrottlingSettings(String id,
Duration delay,
boolean postponeTimerOnUpdate)
Construct. |
|
| Method Summary | |
|---|---|
Duration |
getDelay()
|
String |
getId()
This id is used by the client-side throttling code to keep track of the various event throttles. |
boolean |
getPostponeTimerOnUpdate()
If it is set to true, then the timer is reset each time the throttle function gets called. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThrottlingSettings(String id,
Duration delay)
id - throttle iddelay - throttle delay
public ThrottlingSettings(String id,
Duration delay,
boolean postponeTimerOnUpdate)
id - throttle iddelay - throttle delaypostponeTimerOnUpdate - postpone timer| Method Detail |
|---|
public Duration getDelay()
public String getId()
Component.getMarkupId()). To unite several different events with one throttle,
give them the same ID.
public boolean getPostponeTimerOnUpdate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||