public static interface ContextClickEvent.ContextClickNotifier extends Serializable
ContextClickEvents
.Modifier and Type | Method and Description |
---|---|
Registration |
addContextClickListener(ContextClickEvent.ContextClickListener listener)
Adds a context click listener that gets notified when a context click
happens.
|
void |
removeContextClickListener(ContextClickEvent.ContextClickListener listener)
Deprecated.
As of 8.0, replaced by
Registration.remove() in
the registration object returned from
#addContextClickListener(ContextClickListener) . |
Registration addContextClickListener(ContextClickEvent.ContextClickListener listener)
listener
- the context click listener to add, not nullRegistration
@Deprecated void removeContextClickListener(ContextClickEvent.ContextClickListener listener)
Registration.remove()
in
the registration object returned from
#addContextClickListener(ContextClickListener)
.#addContextClickListener(ContextClickListener)
.listener
- the context click listener to removeCopyright © 2017 Vaadin Ltd. All rights reserved.