THIS
- Self-referential generic THISpublic interface FluentSlider<THIS extends FluentSlider<THIS>> extends FluentAbstractField<THIS,Double>
Slider
Slider
com.vaadin.data.HasValue.ValueChangeEvent<V>, com.vaadin.data.HasValue.ValueChangeListener<V>
FluentComponent.FluentFocusable<C extends FluentComponent.FluentFocusable<C>>
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
Modifier and Type | Method and Description |
---|---|
default THIS |
withMax(double max)
Sets the maximum slider value.
|
default THIS |
withMin(double min)
Sets the minimum slider value.
|
default THIS |
withOrientation(com.vaadin.shared.ui.slider.SliderOrientation orientation)
Sets the orientation of the slider.
|
default THIS |
withResolution(int resolution)
Set a new resolution for the slider.
|
withCaption, withCaptionAsHtml, withComponentError, withData, withDescription, withDescription, withLocale, withResponsive, withShortcutListener, withStyleName
withAttachListener, withDetachListener
withContextClickListener
addContextClickListener, removeContextClickListener
withReadOnly, withRequiredIndicatorVisible, withValue, withValueChangeListener
addValueChangeListener, clear, getDefaultValidator, getEmptyValue, getOptionalValue, getValue, isEmpty, isReadOnly, isRequiredIndicatorVisible, setReadOnly, setRequiredIndicatorVisible, setValue
withTabIndex
withCaption, withEnabled, withIcon, withId, withParent, withPrimaryStyleName, withStyleName, withStyleName, withVisible
addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setVisible, writeDesign
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
withFullHeight, withFullSize, withFullWidth, withHeight, withHeight, withSize, withUndefinedHeight, withUndefinedSize, withUndefinedWidth, withWidth, withWidth
default THIS withMin(double min)
min
- The new minimum slider valueSlider.setMin(double)
default THIS withMax(double max)
max
- The new maximum slider valueSlider.setMax(double)
default THIS withOrientation(com.vaadin.shared.ui.slider.SliderOrientation orientation)
orientation
- the new orientation, either
SliderOrientation.HORIZONTAL
or
SliderOrientation.VERTICAL
Slider.setOrientation(SliderOrientation)
default THIS withResolution(int resolution)
resolution
- the number of digits after the decimal pointIllegalArgumentException
- if resolution is negative.Slider.setResolution(int)
Copyright © 2017 Jean-Christophe Fortier. All rights reserved.