Uses of Class
wicket.util.time.Duration

Packages that use Duration
wicket.ajax   
wicket.ajax.calldecorator   
wicket.ajax.form   
wicket.resource Locale aware resouce loaders. 
wicket.settings   
wicket.util.string String utilities. 
wicket.util.thread Threading utilities. 
wicket.util.time Utilities for working with time(s). 
wicket.util.value Casting utilities. 
wicket.util.watch Modification observers. 
 

Uses of Duration in wicket.ajax
 

Methods in wicket.ajax with parameters of type Duration
protected  java.lang.String AbstractAjaxTimerBehavior.getJsTimeoutCall(Duration updateInterval)
           
 AjaxEventBehavior AjaxEventBehavior.setThrottleDelay(Duration throttleDelay)
          Sets the throttle delay for this behavior.
static java.lang.CharSequence AbstractDefaultAjaxBehavior.throttleScript(java.lang.CharSequence script, java.lang.String throttleId, Duration throttleDelay)
          Wraps the provided javascript with a throttled block.
 

Constructors in wicket.ajax with parameters of type Duration
AbstractAjaxTimerBehavior(Duration updateInterval)
          Construct.
AjaxSelfUpdatingTimerBehavior(Duration updateInterval)
          Construct.
 

Uses of Duration in wicket.ajax.calldecorator
 

Constructors in wicket.ajax.calldecorator with parameters of type Duration
AjaxCallThrottlingDecorator(IAjaxCallDecorator decorator, java.lang.String id, Duration delay)
          Construct.
AjaxCallThrottlingDecorator(java.lang.String id, Duration delay)
          Construct.
 

Uses of Duration in wicket.ajax.form
 

Methods in wicket.ajax.form with parameters of type Duration
static void AjaxFormValidatingBehavior.addToAllFormComponents(Form form, java.lang.String event, Duration throttleDelay)
          Adds this behavior to all form components of the specified form
 

Uses of Duration in wicket.resource
 

Constructors in wicket.resource with parameters of type Duration
DynamicByteArrayResource(java.util.Locale locale, Duration cacheTimeout)
          Deprecated. Creates a dynamic resource
 

Uses of Duration in wicket.settings
 

Methods in wicket.settings that return Duration
 Duration Settings.getResourcePollFrequency()
           
 Duration IResourceSettings.getResourcePollFrequency()
           
 Duration Settings.getTimeout()
           
 Duration IRequestCycleSettings.getTimeout()
          Gets the time that a request will by default be waiting for the previous request to be handled before giving up.
 

Methods in wicket.settings with parameters of type Duration
 void Settings.setResourcePollFrequency(Duration resourcePollFrequency)
           
 void IResourceSettings.setResourcePollFrequency(Duration resourcePollFrequency)
          Sets the resource polling frequency.
 void Settings.setTimeout(Duration timeout)
           
 void IRequestCycleSettings.setTimeout(Duration timeout)
          Sets the time that a request will by default be waiting for the previous request to be handled before giving up.
 

Uses of Duration in wicket.util.string
 

Methods in wicket.util.string that return Duration
 Duration StringValue.toDuration()
          Convert this text to a Duration instance and convert unchecked NumberFormatExceptions to checked.
 Duration StringValue.toDuration(Duration defaultValue)
          Convert to primitive types, returning default value if text is null.
 Duration StringValue.toOptionalDuration()
          Convert to object types, returning null if text is null.
 

Methods in wicket.util.string with parameters of type Duration
 Duration StringValue.toDuration(Duration defaultValue)
          Convert to primitive types, returning default value if text is null.
 

Uses of Duration in wicket.util.thread
 

Methods in wicket.util.thread with parameters of type Duration
 void Task.run(Duration frequency, ICode code)
          Runs this task at the given frequency.
 

Uses of Duration in wicket.util.time
 

Fields in wicket.util.time declared as Duration
static Duration Duration.MAXIMUM
          Constant for maximum duration
static Duration Duration.NONE
          Constant for no duration.
static Duration Duration.ONE_DAY
          Constant for one day.
static Duration Duration.ONE_HOUR
          Constant for one hour.
static Duration Duration.ONE_MINUTE
          Constant for on minute.
static Duration Duration.ONE_SECOND
          Constant for one second.
static Duration Duration.ONE_WEEK
          Constant for one week.
 

Methods in wicket.util.time that return Duration
 Duration Duration.add(Duration duration)
          Adds a given duration to this duration.
static Duration Duration.benchmark(ICode code, org.apache.commons.logging.Log log)
           
static Duration Duration.benchmark(java.lang.Runnable code)
          Benchmark the given command.
static Duration Duration.days(double days)
          Gets the duration based on days.
static Duration Duration.days(int days)
          Gets the duration based on days.
static Duration Duration.elapsed(Time start)
          The amount of time elapsed since start time
 Duration Time.elapsedSince()
           
 Duration Time.fromNow()
          Gets the duration from now to this time value.
 Duration TimeFrame.getDuration()
           
static Duration Duration.hours(double hours)
          Gets the duration based on hours.
static Duration Duration.hours(int hours)
          Gets the duration based on hours.
static Duration Duration.milliseconds(double milliseconds)
          Gets the duration based on milliseconds.
static Duration Duration.milliseconds(long milliseconds)
          Gets the duration based on miliseconds.
static Duration Duration.minutes(double minutes)
          Gets the duration based on minutes.
static Duration Duration.minutes(int minutes)
          Gets the duration based on minutes.
static Duration Duration.seconds(double seconds)
          Gets the duration based on seconds.
static Duration Duration.seconds(int seconds)
          Gets the duration based on seconds.
 Duration Duration.subtract(Duration that)
          Subtract a given duration from this duration.
 Duration Time.subtract(Time that)
          Subtract time from this and returns the difference as a duration object.
static Duration Duration.valueOf(long time)
          Gets the given long as a duration.
static Duration Duration.valueOf(java.lang.String string)
          Converts the given string to a new duration object.
static Duration Duration.valueOf(java.lang.String string, java.util.Locale locale)
          Converts the given string to a new Duration object.
 

Methods in wicket.util.time with parameters of type Duration
 Time Time.add(Duration duration)
          Adds the given duration to this time object, moving the time into the future.
 Duration Duration.add(Duration duration)
          Adds a given duration to this duration.
 Time Time.subtract(Duration duration)
          Adds the given duration to this time object, moving the time into the future.
 Duration Duration.subtract(Duration that)
          Subtract a given duration from this duration.
static TimeOfDay TimeOfDay.valueOf(Duration duration)
          Converts to TimeOfDay instance.
static TimeFrame TimeFrame.valueOf(Time start, Duration duration)
          Creates a time frame for a start and duration
 

Uses of Duration in wicket.util.value
 

Methods in wicket.util.value that return Duration
 Duration ValueMap.getDuration(java.lang.String key)
          Gets a duration.
 

Uses of Duration in wicket.util.watch
 

Methods in wicket.util.watch with parameters of type Duration
 void ModificationWatcher.start(Duration pollFrequency)
          Start watching at a given polling rate
 

Constructors in wicket.util.watch with parameters of type Duration
ModificationWatcher(Duration pollFrequency)
          Constructor
 



Copyright © 2004-2007 Wicket developers. All Rights Reserved.