Package org.neotropic.util.visual.slider
Class PaperSlider
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.AbstractField<C,T>
-
- com.vaadin.flow.component.AbstractSinglePropertyField<PaperSlider,Integer>
-
- org.neotropic.util.visual.slider.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 classPaperSlider.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.RegistrationaddSliderValueChangingListener(com.vaadin.flow.component.ComponentEventListener<PaperSlider.SliderValueChangingEvent> eventListener)IntegergetImmediateValue()voidsetActiveProgressBarColor(String color)voidsetBarColor(String color)voidsetContainerColor(String color)voidsetKnobColor(String color)voidsetMax(double max)voidsetMin(double min)voidsetPin(boolean pin)voidsetSecundaryProgressBarColor(String color)voidsetSnaps(boolean step)voidsetStep(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
-
-
-
-
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)
-
-