Class ValuePicker.FieldValueChangeEvent<V>

java.lang.Object
java.util.EventObject
io.jmix.ui.component.ValuePicker.FieldValueChangeEvent<V>
Type Parameters:
V - field value type
All Implemented Interfaces:
Serializable
Enclosing interface:
ValuePicker<V>

public static class ValuePicker.FieldValueChangeEvent<V> extends EventObject
The event that is fired when a user inputs value manually.
See Also:
  • Field Details

    • text

      protected final String text
    • prevValue

      protected final V prevValue
  • Constructor Details

    • FieldValueChangeEvent

      public FieldValueChangeEvent(ValuePicker<V> source, String text, @Nullable V prevValue)
  • Method Details

    • getSource

      public ValuePicker<V> getSource()
      Overrides:
      getSource in class EventObject
    • getText

      public String getText()
      Returns:
      entered text
    • getPrevValue

      @Nullable public V getPrevValue()
      Returns:
      the previous value