All Implemented Interfaces:
Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IGenericComponent<T,FormComponent<T>>, IMetadataContext<Serializable,Component>, IFormModelUpdateListener, IFormVisitorParticipant, ILabelProvider<String>, IHeaderContributor, IRequestableComponent, IHierarchical<Component>, IClusterable

public class Spinner<T extends Number> extends TextField<T>
A mobile and touch friendly input spinner component for Bootstrap 3. It supports the mousewheel and the up/down keys. Integrates Bootstrap TouchSpin plugin.
Author:
daniel.jipa
See Also:
  • Constructor Details

  • Method Details

    • onComponentTag

      protected void onComponentTag(ComponentTag tag)
      Overrides:
      onComponentTag in class TextField<T extends Number>
    • renderHead

      public void renderHead(IHeaderResponse response)
      Specified by:
      renderHead in interface IHeaderContributor
      Overrides:
      renderHead in class Component
    • onInitialize

      protected void onInitialize()
      Overrides:
      onInitialize in class MarkupContainer
    • wantStartNotification

      protected boolean wantStartNotification()
    • wantStartUpNotification

      protected boolean wantStartUpNotification()
    • wantStartDownNotification

      protected boolean wantStartDownNotification()
    • wantStopNotification

      protected boolean wantStopNotification()
    • wantStopUpNotification

      protected boolean wantStopUpNotification()
    • wantStopDownNotification

      protected boolean wantStopDownNotification()
    • wantMinNotification

      protected boolean wantMinNotification()
    • wantMaxNotification

      protected boolean wantMaxNotification()
    • onMax

      protected void onMax(AjaxRequestTarget target)
    • onMin

      protected void onMin(AjaxRequestTarget target)
    • onStopDownSpin

      protected void onStopDownSpin(AjaxRequestTarget target)
    • onStopUpSpin

      protected void onStopUpSpin(AjaxRequestTarget target)
    • onStopSpin

      protected void onStopSpin(AjaxRequestTarget target)
    • onStartDownSpin

      protected void onStartDownSpin(AjaxRequestTarget target)
    • onStartSpin

      protected void onStartSpin(AjaxRequestTarget target)
    • onStartUpSpin

      protected void onStartUpSpin(AjaxRequestTarget target)
    • createScript

      protected CharSequence createScript(SpinnerConfig config)
    • getConfig

      public SpinnerConfig getConfig()