Class AbstractNumberFieldDelegate<C extends com.vaadin.flow.component.textfield.AbstractNumberField<?,V>,T extends Number,V extends Number>
java.lang.Object
io.jmix.flowui.component.delegate.AbstractComponentDelegate<C>
io.jmix.flowui.component.delegate.AbstractValueComponentDelegate<C,T,V>
io.jmix.flowui.component.delegate.AbstractFieldDelegate<C,T,V>
io.jmix.flowui.component.delegate.AbstractNumberFieldDelegate<C,T,V>
- All Implemented Interfaces:
ValueBindingDelegate<T>
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
IntegerFieldDelegate
,NumberFieldDelegate
public abstract class AbstractNumberFieldDelegate<C extends com.vaadin.flow.component.textfield.AbstractNumberField<?,V>,T extends Number,V extends Number>
extends AbstractFieldDelegate<C,T,V>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.flowui.component.delegate.ValueBindingDelegate
ValueBindingDelegate.ValueBindingChangeEvent<T>
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.vaadin.flow.shared.Registration
protected com.vaadin.flow.shared.Registration
Fields inherited from class io.jmix.flowui.component.delegate.AbstractFieldDelegate
applicationContext, conversionInvalid, datatype, errorMessage, explicitlyInvalid, messages, metadataTools, PROPERTY_INVALID, requiredMessage, statusChangeHandler, toModelConverter, validators
Fields inherited from class io.jmix.flowui.component.delegate.AbstractValueComponentDelegate
valueBinding
Fields inherited from class io.jmix.flowui.component.delegate.AbstractComponentDelegate
component
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractValueBinding<T>
createValueBinding
(ValueSource<T> valueSource) getMaxValidator
(T max) getMinValidator
(T min) void
void
Methods inherited from class io.jmix.flowui.component.delegate.AbstractFieldDelegate
addValidator, applyDefaultValueFormat, executeValidators, formatMessage, getComponentValue, getDatatype, getErrorMessage, getMessage, getRequiredErrorMessage, getRequiredMessage, isInvalid, isInvalidInternal, setApplicationContext, setComponentRequiredErrorState, setConversionInvalid, setDatatype, setErrorMessage, setInvalid, setInvalidInternal, setMessages, setMetadataTools, setRequiredMessage, setStatusChangeHandler, setToModelConverter, updateInvalidState, validatorsPassed
Methods inherited from class io.jmix.flowui.component.delegate.AbstractValueComponentDelegate
addValueBindingChangeListener, getEventBus, getValueBinding, getValueSource, setupProperties, setValueSource, valueBindingChanged
Methods inherited from class io.jmix.flowui.component.delegate.AbstractComponentDelegate
getComponent
-
Field Details
-
maxValidatorRegistration
protected com.vaadin.flow.shared.Registration maxValidatorRegistration -
minValidatorRegistration
protected com.vaadin.flow.shared.Registration minValidatorRegistration
-
-
Constructor Details
-
AbstractNumberFieldDelegate
-
-
Method Details
-
setMax
-
getMaxValidator
-
setMin
-
getMinValidator
-
createValueBinding
- Specified by:
createValueBinding
in classAbstractValueComponentDelegate<C extends com.vaadin.flow.component.textfield.AbstractNumberField<?,
V>, T extends Number, V extends Number>
-