Class PaperSlider

  • All Implemented Interfaces:
    com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<PaperSlider,​Integer>,​Integer>, com.vaadin.flow.component.HasValueAndElement<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<PaperSlider,​Integer>,​Integer>, Serializable
    Direct Known Subclasses:
    SliderMxGraphZoom

    @Tag("paper-slider")
    @NpmPackage(value="@polymer/paper-slider",
                version="3.0.1")
    @JsModule("@polymer/paper-slider/paper-slider.js")
    public class PaperSlider
    extends com.vaadin.flow.component.AbstractSinglePropertyField<PaperSlider,​Integer>
    Author:
    Orlando Paz <orlando.paz@kuwaiba.org>
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  PaperSlider.SliderValueChangingEvent  
      • Nested classes/interfaces inherited from class com.vaadin.flow.component.AbstractField

        com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<C extends com.vaadin.flow.component.Component,​V extends Object>
      • Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasValue

        com.vaadin.flow.component.HasValue.ValueChangeEvent<V extends Object>, com.vaadin.flow.component.HasValue.ValueChangeListener<E extends com.vaadin.flow.component.HasValue.ValueChangeEvent<?>>
    • Constructor Summary

      Constructors 
      Constructor Description
      PaperSlider()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.vaadin.flow.shared.Registration addSliderValueChangingListener​(com.vaadin.flow.component.ComponentEventListener<PaperSlider.SliderValueChangingEvent> eventListener)  
      Integer getImmediateValue()  
      void setActiveProgressBarColor​(String color)  
      void setBarColor​(String color)  
      void setContainerColor​(String color)  
      void setKnobColor​(String color)  
      void setMax​(double max)  
      void setMin​(double min)  
      void setPin​(boolean pin)  
      void setSecundaryProgressBarColor​(String color)  
      void setSnaps​(boolean step)  
      void setStep​(double step)  
      • Methods inherited from class com.vaadin.flow.component.AbstractSinglePropertyField

        getSynchronizationRegistration, hasValidValue, setPresentationValue, setSynchronizedEvent
      • Methods inherited from class com.vaadin.flow.component.AbstractField

        addValueChangeListener, getEmptyValue, getValue, isEmpty, setModelValue, setValue, valueEquals
      • Methods inherited from class com.vaadin.flow.component.Component

        addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
      • Methods inherited from interface com.vaadin.flow.component.AttachNotifier

        addAttachListener
      • Methods inherited from interface com.vaadin.flow.component.DetachNotifier

        addDetachListener
      • Methods inherited from interface com.vaadin.flow.component.HasElement

        getElement
      • Methods inherited from interface com.vaadin.flow.component.HasEnabled

        isEnabled, setEnabled
      • Methods inherited from interface com.vaadin.flow.component.HasValue

        clear, getOptionalValue
      • Methods inherited from interface com.vaadin.flow.component.HasValueAndElement

        isReadOnly, isRequiredIndicatorVisible, setReadOnly, setRequiredIndicatorVisible
    • Constructor Detail

      • PaperSlider

        public PaperSlider()
    • Method Detail

      • setMax

        public void setMax​(double max)
      • setMin

        public void setMin​(double min)
      • setStep

        public void setStep​(double step)
      • setSnaps

        public void setSnaps​(boolean step)
      • setPin

        public void setPin​(boolean pin)
      • setKnobColor

        public void setKnobColor​(String color)
      • setBarColor

        public void setBarColor​(String color)
      • setContainerColor

        public void setContainerColor​(String color)
      • setActiveProgressBarColor

        public void setActiveProgressBarColor​(String color)
      • setSecundaryProgressBarColor

        public void setSecundaryProgressBarColor​(String color)
      • getImmediateValue

        @Synchronize(property="immediateValue",
                     value="immediate-value-changed")
        public Integer getImmediateValue()
      • addSliderValueChangingListener

        public com.vaadin.flow.shared.Registration addSliderValueChangingListener​(com.vaadin.flow.component.ComponentEventListener<PaperSlider.SliderValueChangingEvent> eventListener)