default Registration |
AttachNotifier.addAttachListener(ComponentEventListener<AttachEvent> listener) |
Adds a attach listener to this component.
|
default Registration |
BlurNotifier.addBlurListener(ComponentEventListener<BlurNotifier.BlurEvent<T>> listener) |
Add a listener to blur DOM events.
|
default Registration |
ClickNotifier.addClickListener(ComponentEventListener<ClickEvent<T>> listener) |
Adds a click listener to this component.
|
default Registration |
CompositionNotifier.addCompositionEndListener(ComponentEventListener<CompositionEndEvent> listener) |
Adds a compositionend listener to this component.
|
default Registration |
CompositionNotifier.addCompositionStartListener(ComponentEventListener<CompositionStartEvent> listener) |
Adds a compositionstart listener to this component.
|
default Registration |
CompositionNotifier.addCompositionUpdateListener(ComponentEventListener<CompositionUpdateEvent> listener) |
Adds a compositionupdate listener to this component.
|
default Registration |
DetachNotifier.addDetachListener(ComponentEventListener<DetachEvent> listener) |
Adds a detach listener to this component.
|
default Registration |
ClickNotifier.addDoubleClickListener(ComponentEventListener<ClickEvent<T>> listener) |
Adds a double click listener to this component.
|
default Registration |
FocusNotifier.addFocusListener(ComponentEventListener<FocusNotifier.FocusEvent<T>> listener) |
Add a listener to focus DOM events.
|
default Registration |
InputNotifier.addInputListener(ComponentEventListener<InputEvent> listener) |
Adds an input listener to this component.
|
default Registration |
KeyNotifier.addKeyDownListener(ComponentEventListener<KeyDownEvent> listener) |
Adds a keydown listener to this component.
|
default Registration |
KeyNotifier.addKeyDownListener(Key key,
ComponentEventListener<KeyDownEvent> listener,
KeyModifier... modifiers) |
Adds a keydown listener to this component, which will trigger
only if the keys involved in the event match the key and
modifiers parameters.
|
default Registration |
KeyNotifier.addKeyPressListener(ComponentEventListener<KeyPressEvent> listener) |
Adds a keypress listener to this component.
|
default Registration |
KeyNotifier.addKeyPressListener(Key key,
ComponentEventListener<KeyPressEvent> listener,
KeyModifier... modifiers) |
Adds a keypress listener to this component, which will trigger
only if the keys involved in the event match the key and
modifiers parameters.
|
default Registration |
KeyNotifier.addKeyUpListener(ComponentEventListener<KeyUpEvent> listener) |
Adds a keyup listener to this component.
|
default Registration |
KeyNotifier.addKeyUpListener(Key key,
ComponentEventListener<KeyUpEvent> listener,
KeyModifier... modifiers) |
Adds a keyup listener to this component, which will trigger only
if the keys involved in the event match the key and
modifiers parameters.
|
protected <T extends ComponentEvent<?>> Registration |
Component.addListener(Class<T> eventType,
ComponentEventListener<T> listener) |
Adds a listener for an event of the given type.
|
<T extends ComponentEvent<?>> Registration |
ComponentEventBus.addListener(Class<T> eventType,
ComponentEventListener<T> listener) |
Adds a listener for the given event type.
|
<T extends ComponentEvent<?>> Registration |
ComponentEventBus.addListener(Class<T> eventType,
ComponentEventListener<T> listener,
Consumer<DomListenerRegistration> domListenerConsumer) |
Adds a listener for the given event type, and customizes the
corresponding DOM event listener with the given consumer.
|
static <T extends ComponentEvent<?>> Registration |
ComponentUtil.addListener(Component component,
Class<T> eventType,
ComponentEventListener<T> listener) |
Adds a listener for an event of the given type to the component.
|
static <T extends ComponentEvent<?>> Registration |
ComponentUtil.addListener(Component component,
Class<T> eventType,
ComponentEventListener<T> listener,
Consumer<DomListenerRegistration> domListenerConsumer) |
Adds a listener for an event of the given type to the component,
and customizes the corresponding DOM event listener with the given
consumer.
|
default Registration |
PollNotifier.addPollListener(ComponentEventListener<PollEvent> listener) |
Add a poll listener.
|
default Registration |
ClickNotifier.addSingleClickListener(ComponentEventListener<ClickEvent<T>> listener) |
Adds a single click listener to this component.
|