Class DurationValidator

  • All Implemented Interfaces:
    Serializable, org.apache.wicket.IComponentAwareEventSink, org.apache.wicket.markup.html.form.validation.IFormValidator, org.apache.wicket.markup.html.IComponentAwareHeaderContributor, org.apache.wicket.util.io.IClusterable

    public class DurationValidator
    extends org.apache.wicket.markup.html.form.validation.AbstractFormValidator
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.wicket.markup.html.form.FormComponent<?>[] getDependentFormComponents()  
      void validate​(org.apache.wicket.markup.html.form.Form<?> form)  
      • Methods inherited from class org.apache.wicket.markup.html.form.validation.AbstractFormValidator

        bind, error, error, error, error, resourceKey, variablesMap
      • Methods inherited from class org.apache.wicket.behavior.Behavior

        afterRender, beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onComponentTag, onConfigure, onEvent, onException, onRemove, onTag, renderHead, unbind
    • Constructor Detail

      • DurationValidator

        public DurationValidator​(InputPanel durationField,
                                 org.apache.wicket.util.convert.IConverter<Duration> converter)
    • Method Detail

      • getDependentFormComponents

        public org.apache.wicket.markup.html.form.FormComponent<?>[] getDependentFormComponents()
      • validate

        public void validate​(org.apache.wicket.markup.html.form.Form<?> form)