com.vaadin.event.FieldEvents.BlurListener Java Examples
The following examples show how to use
com.vaadin.event.FieldEvents.BlurListener.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AceEditor.java From cuba with Apache License 2.0 | 5 votes |
@Override public Registration addBlurListener(BlurListener listener) { Registration registration = addListener(BlurEvent.EVENT_ID, BlurEvent.class, listener, BlurListener.blurMethod); getState().listenToFocusChanges = true; return registration; }
Example #2
Source File: ComboBoxMultiselect.java From vaadin-combobox-multiselect with Apache License 2.0 | 4 votes |
@Override public Registration addBlurListener(final BlurListener listener) { return addListener(BlurEvent.EVENT_ID, BlurEvent.class, listener, BlurListener.blurMethod); }
Example #3
Source File: AceEditor.java From cuba with Apache License 2.0 | 4 votes |
public void removeBlurListener(BlurListener listener) { removeListener(BlurEvent.EVENT_ID, BlurEvent.class, listener); getState().listenToFocusChanges = !getListeners(FocusEvent.class) .isEmpty() || !getListeners(BlurEvent.class).isEmpty(); }
Example #4
Source File: ComboBoxMultiselect.java From vaadin-combobox-multiselect with Apache License 2.0 | 4 votes |
@Override public Registration addBlurListener(final BlurListener listener) { return addListener(BlurEvent.EVENT_ID, BlurEvent.class, listener, BlurListener.blurMethod); }
Example #5
Source File: ClearableTextField.java From viritin with Apache License 2.0 | 4 votes |
public Registration addBlurListener(BlurListener listener) { return textfield.addBlurListener(listener); }
Example #6
Source File: AbstractNumberField.java From viritin with Apache License 2.0 | 4 votes |
@Override public Registration addBlurListener(BlurListener listener) { return tf.addBlurListener(listener); }
Example #7
Source File: ClearableTextField.java From viritin with Apache License 2.0 | 4 votes |
public void addBlurListener(BlurListener listener) { textfield.addBlurListener(listener); }
Example #8
Source File: ClearableTextField.java From viritin with Apache License 2.0 | 4 votes |
public void removeBlurListener(BlurListener listener) { textfield.removeBlurListener(listener); }
Example #9
Source File: AbstractNumberField.java From viritin with Apache License 2.0 | 4 votes |
@Override public void addBlurListener(BlurListener listener) { tf.addBlurListener(listener); }
Example #10
Source File: AbstractNumberField.java From viritin with Apache License 2.0 | 4 votes |
@Override public void removeBlurListener(BlurListener listener) { tf.removeBlurListener(listener); }
Example #11
Source File: MDateField.java From viritin with Apache License 2.0 | 4 votes |
public MDateField withBlurListener(BlurListener listener) { addBlurListener(listener); return this; }
Example #12
Source File: MCheckBox.java From viritin with Apache License 2.0 | 4 votes |
public MCheckBox withBlurListener(BlurListener listener) { addBlurListener(listener); return this; }
Example #13
Source File: MPasswordField.java From viritin with Apache License 2.0 | 4 votes |
public MPasswordField withBlurListener(BlurListener listener) { addBlurListener(listener); return this; }
Example #14
Source File: AbstractNumberField.java From viritin with Apache License 2.0 | 2 votes |
/** * Adds a BlurListener to the Component which gets fired when a Field loses * keyboard focus, returning this instance in a fluent fashion. * * @param listener the listener to be added * @return this instance */ public AbstractNumberField<S, T> withBlurListener(BlurListener listener) { addBlurListener(listener); return this; }
Example #15
Source File: FluentFieldEvents.java From viritin with Apache License 2.0 | 2 votes |
/** * Adds a <code>BlurListener</code> to the Component which gets fired * when a <code>Field</code> loses keyboard focus. * * @param listener The blur listener to add * @return this (for method chaining) * @see #addBlurListener(com.vaadin.event.FieldEvents.BlurListener) */ public default S withBlurListener(BlurListener listener) { ((BlurNotifier) this).addBlurListener(listener); return (S) this; }
Example #16
Source File: AbstractNumberField.java From viritin with Apache License 2.0 | 2 votes |
/** * Adds a BlurListener to the Component which gets fired when a Field loses keyboard focus, returning * this instance in a fluent fashion. * * @param listener the listener to be added * @return this instance */ public AbstractNumberField<T> withBlurListener(BlurListener listener) { addBlurListener(listener); return this; }