T
- the type of the component returned at the
ComponentEvent.getSource()
public interface ClickNotifier<T extends Component> extends Serializable
Modifier and Type | Method and Description |
---|---|
default Registration |
addClickListener(ComponentEventListener<ClickEvent<T>> listener)
Adds a click listener to this component.
|
default Registration addClickListener(ComponentEventListener<ClickEvent<T>> listener)
listener
- the listener to add, not null
Copyright © 2018. All rights reserved.