public abstract class ClickEventHandler extends AbstractClickEventHandler
connector| Constructor and Description |
|---|
ClickEventHandler(ComponentConnector connector) |
ClickEventHandler(ComponentConnector connector,
String clickEventIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fireClick(com.google.gwt.dom.client.NativeEvent event)
Sends the click event based on the given native event.
|
protected abstract void |
fireClick(com.google.gwt.dom.client.NativeEvent event,
MouseEventDetails mouseDetails)
Sends the click event to the server.
|
getRelativeToElement, handleEventHandlerRegistration, hasEventListener, onContextMenu, onDoubleClick, onMouseDown, onMouseUp, registerHandler, shouldFireEventpublic ClickEventHandler(ComponentConnector connector)
public ClickEventHandler(ComponentConnector connector, String clickEventIdentifier)
protected void fireClick(com.google.gwt.dom.client.NativeEvent event)
#fireClick(MouseEventDetails).fireClick in class AbstractClickEventHandlerevent - The native event that caused this click eventprotected abstract void fireClick(com.google.gwt.dom.client.NativeEvent event,
MouseEventDetails mouseDetails)
event - The event that caused this click to be firedmouseDetails - The mouse details for the eventCopyright © 2016 Vaadin Ltd. All rights reserved.